Merge glfilter preProcess and getDescriptor since most filters do not preProcess.