Lines Matching refs:ctx
28 #define GET_CONTEXT GL2Encoder * ctx = getEGLThreadInfo()->hostConn->gl2Encoder();
76 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES()
78 ctx->restore2DTextureTarget(); in glEGLImageTargetTexture2DOES()
82 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES()
84 ctx->m_glEGLImageTargetTexture2DOES_enc(self, target, hostImage); in glEGLImageTargetTexture2DOES()
85 ctx->restore2DTextureTarget(); in glEGLImageTargetTexture2DOES()
146 ctx->setError(GL_INVALID_ENUM); in my_glGetString()
155 ctx->m_glEGLImageTargetTexture2DOES_enc = ctx->glEGLImageTargetTexture2DOES; in init()
156 ctx->glEGLImageTargetTexture2DOES = &glEGLImageTargetTexture2DOES; in init()
157 ctx->glEGLImageTargetRenderbufferStorageOES = &glEGLImageTargetRenderbufferStorageOES; in init()
158 ctx->glGetString = &my_glGetString; in init()