BradLarson/GPUImage — pull request #609 by karlvr (2012-11-04 00:23:00+00:00)
Title: EAGLSharegroup support

Hi Brad,

I'm using GPUImage with cocos2d and followed up on your comments about using sharegroups. I have got it working, but it required some small modifications to the way that GPUImage created its EAGLContext.

I've attached a few commits. The "add EAGLSharegroup capability" commit adds the sharegroup support. If you have a different way you'd like this integrated feel free to change or let me know and I can change and re-push.

The first two commits make some little tweaks to enable subclassing of the GPUImageOpenGLESContext singleton. I was initially using that to override the - (EAGLContext *)context method when testing this. I don't strictly need this anymore so I've included it as a related suggestion. Happy to remove or change as you see fit.

Best regards,
Karl