I'm converting an old filter from GPUImage1 to 2, and it overrides the setInputSize method to get the size and run some math on it which is then sent to the uniformSettings.
This doesn't seem possible in GPUImage2, the setInputSize method is gone, and since none of the methods are marked open, there is no way to get access to a framebuffer (for sizeForTargetOrientation for example) by overriding a method/property.
Is there a new method for getting the size that I've missed? Any help would be appreciated, but it seems like just making some of the BasicOperation methods open would fix my issue.
I'm converting an old filter from GPUImage1 to 2, and it overrides the setInputSize method to get the size and run some math on it which is then sent to the uniformSettings. This doesn't seem possible in GPUImage2, the setInputSize method is gone, and since none of the methods are marked open, there is no way to get access to a framebuffer (for sizeForTargetOrientation for example) by overriding a method/property.
Is there a new method for getting the size that I've missed? Any help would be appreciated, but it seems like just making some of the BasicOperation methods open would fix my issue.