This reverts commit 96b9666d59. This reverts commit d11385d167. This breaks the texture sharing with the applemedia elements as CVOpenGLESTextureCache seems to have an arbitrary restriction on GLES2 only.
96b9666d59
d11385d167