Lines Matching refs:ctx
28 #define GET_CONTEXT GLEncoder * ctx = getEGLThreadInfo()->hostConn->glEncoder();
79 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES()
82 ctx->restore2DTextureTarget(); in glEGLImageTargetTexture2DOES()
86 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES()
88 ctx->m_glEGLImageTargetTexture2DOES_enc(self, target, hostImage); in glEGLImageTargetTexture2DOES()
89 ctx->restore2DTextureTarget(); in glEGLImageTargetTexture2DOES()
162 ctx->setError(GL_INVALID_ENUM); in my_glGetString()
171 ctx->m_glEGLImageTargetTexture2DOES_enc = ctx->glEGLImageTargetTexture2DOES; in init()
172 ctx->glEGLImageTargetTexture2DOES = &glEGLImageTargetTexture2DOES; in init()
173 ctx->glEGLImageTargetRenderbufferStorageOES = &glEGLImageTargetRenderbufferStorageOES; in init()
174 ctx->glGetString = &my_glGetString; in init()