glImageTargetTexture2D is not an EGL function, and should not live in EGL function land. It also shouldn't have vendor suffixes. Also we shouldn't have two of them.
Created attachment 643560 [details] [diff] [review] Cleanup: glEGLImageTargetTexture, more extension suffix removal
Created attachment 643902 [details] [diff] [review] patch Missed a 'mGLContext->' in an ifdef GONK block. :< Carrying forward r+.
Created attachment 644103 [details] [diff] [review] patch Now with less bitrot!