/device/generic/goldfish-opengl/system/GLESv1_enc/ |
D | gl_client_proc.h | 15 typedef void (gl_APIENTRY *glAlphaFunc_client_proc_t) (void * ctx, GLenum, GLclampf); 16 typedef void (gl_APIENTRY *glClearColor_client_proc_t) (void * ctx, GLclampf, GLclampf, GLclampf, G… 17 typedef void (gl_APIENTRY *glClearDepthf_client_proc_t) (void * ctx, GLclampf); 18 typedef void (gl_APIENTRY *glClipPlanef_client_proc_t) (void * ctx, GLenum, const GLfloat*); 19 typedef void (gl_APIENTRY *glColor4f_client_proc_t) (void * ctx, GLfloat, GLfloat, GLfloat, GLfloat… 20 typedef void (gl_APIENTRY *glDepthRangef_client_proc_t) (void * ctx, GLclampf, GLclampf); 21 typedef void (gl_APIENTRY *glFogf_client_proc_t) (void * ctx, GLenum, GLfloat); 22 typedef void (gl_APIENTRY *glFogfv_client_proc_t) (void * ctx, GLenum, const GLfloat*); 23 typedef void (gl_APIENTRY *glFrustumf_client_proc_t) (void * ctx, GLfloat, GLfloat, GLfloat, GLfloa… 24 typedef void (gl_APIENTRY *glGetClipPlanef_client_proc_t) (void * ctx, GLenum, GLfloat*); [all …]
|
D | GLEncoder.cpp | 33 ctx->setError(err); \ 40 ctx->setError(err); \ 46 GLEncoder *ctx = (GLEncoder *)self; in s_glGetError() local 47 GLenum err = ctx->getError(); in s_glGetError() 49 ctx->setError(GL_NO_ERROR); in s_glGetError() 53 return ctx->m_glGetError_enc(self); in s_glGetError() 73 GLEncoder *ctx = (GLEncoder *)self; in s_glGetIntegerv() local 74 assert(ctx->m_state != NULL); in s_glGetIntegerv() 75 GLClientState* state = ctx->m_state; in s_glGetIntegerv() 79 GLint * compressedTextureFormats = ctx->getCompressedTextureFormats(); in s_glGetIntegerv() [all …]
|
D | gl_entry.cpp | 306 #define GET_CONTEXT gl_client_context_t * ctx = getCurrentContext() 312 ctx->glAlphaFunc(ctx, func, ref); in glAlphaFunc() 318 ctx->glClearColor(ctx, red, green, blue, alpha); in glClearColor() 324 ctx->glClearDepthf(ctx, depth); in glClearDepthf() 330 ctx->glClipPlanef(ctx, plane, equation); in glClipPlanef() 336 ctx->glColor4f(ctx, red, green, blue, alpha); in glColor4f() 342 ctx->glDepthRangef(ctx, zNear, zFar); in glDepthRangef() 348 ctx->glFogf(ctx, pname, param); in glFogf() 354 ctx->glFogfv(ctx, pname, params); in glFogfv() 360 ctx->glFrustumf(ctx, left, right, bottom, top, zNear, zFar); in glFrustumf() [all …]
|
D | gl_enc.cpp | 25 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glAlphaFunc_enc() local 26 IOStream *stream = ctx->m_stream; in glAlphaFunc_enc() 27 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glAlphaFunc_enc() 51 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClearColor_enc() local 52 IOStream *stream = ctx->m_stream; in glClearColor_enc() 53 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glClearColor_enc() 79 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClearDepthf_enc() local 80 IOStream *stream = ctx->m_stream; in glClearDepthf_enc() 81 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glClearDepthf_enc() 104 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClipPlanef_enc() local [all …]
|
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
D | gl2_client_proc.h | 15 typedef void (gl2_APIENTRY *glActiveTexture_client_proc_t) (void * ctx, GLenum); 16 typedef void (gl2_APIENTRY *glAttachShader_client_proc_t) (void * ctx, GLuint, GLuint); 17 typedef void (gl2_APIENTRY *glBindAttribLocation_client_proc_t) (void * ctx, GLuint, GLuint, const … 18 typedef void (gl2_APIENTRY *glBindBuffer_client_proc_t) (void * ctx, GLenum, GLuint); 19 typedef void (gl2_APIENTRY *glBindFramebuffer_client_proc_t) (void * ctx, GLenum, GLuint); 20 typedef void (gl2_APIENTRY *glBindRenderbuffer_client_proc_t) (void * ctx, GLenum, GLuint); 21 typedef void (gl2_APIENTRY *glBindTexture_client_proc_t) (void * ctx, GLenum, GLuint); 22 typedef void (gl2_APIENTRY *glBlendColor_client_proc_t) (void * ctx, GLclampf, GLclampf, GLclampf, … 23 typedef void (gl2_APIENTRY *glBlendEquation_client_proc_t) (void * ctx, GLenum); 24 typedef void (gl2_APIENTRY *glBlendEquationSeparate_client_proc_t) (void * ctx, GLenum, GLenum); [all …]
|
D | GL2Encoder.cpp | 44 ctx->setError(err); \ 52 ctx->setError(err); \ 58 ctx->setError(err); \ 66 ctx->setError(err); \ 387 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetError() local 388 GLenum err = ctx->getError(); in s_glGetError() 390 ctx->m_glGetError_enc(ctx); // also clear host error in s_glGetError() 391 ctx->setError(GL_NO_ERROR); in s_glGetError() 395 if (ctx->m_noHostError) { in s_glGetError() 398 return ctx->m_glGetError_enc(self); in s_glGetError() [all …]
|
D | gl2_entry.cpp | 439 #define GET_CONTEXT gl2_client_context_t * ctx = getCurrentContext() 445 ctx->glActiveTexture(ctx, texture); in glActiveTexture() 451 ctx->glAttachShader(ctx, program, shader); in glAttachShader() 457 ctx->glBindAttribLocation(ctx, program, index, name); in glBindAttribLocation() 463 ctx->glBindBuffer(ctx, target, buffer); in glBindBuffer() 469 ctx->glBindFramebuffer(ctx, target, framebuffer); in glBindFramebuffer() 475 ctx->glBindRenderbuffer(ctx, target, renderbuffer); in glBindRenderbuffer() 481 ctx->glBindTexture(ctx, target, texture); in glBindTexture() 487 ctx->glBlendColor(ctx, red, green, blue, alpha); in glBlendColor() 493 ctx->glBlendEquation(ctx, mode); in glBlendEquation() [all …]
|
D | GLESv2Validation.h | 34 bool bufferTarget(GL2Encoder* ctx, GLenum target); 35 bool bufferParam(GL2Encoder* ctx, GLenum param); 37 bool pixelStoreParam(GL2Encoder* ctx, GLenum param); 40 bool rboFormat(GL2Encoder* ctx, GLenum internalformat); 42 bool framebufferTarget(GL2Encoder* ctx, GLenum target); 43 bool framebufferAttachment(GL2Encoder* ctx, GLenum attachment); 48 bool vertexAttribType(GL2Encoder* ctx, GLenum type); 53 bool textureTarget(GL2Encoder* ctx, GLenum target); 58 bool supportedCompressedFormat(GL2Encoder* ctx, GLenum internalformat); 62 bool filterableTexFormat(GL2Encoder* ctx, GLenum internalformat); [all …]
|
D | GL2EncoderUtils.cpp | 27 GL2Encoder *ctx = (GL2Encoder *)self; in pixelDataSize() local 28 assert (ctx->state() != NULL); in pixelDataSize() 29 return ctx->state()->pixelDataSize(width, height, 1, format, type, pack); in pixelDataSize() 34 GL2Encoder *ctx = (GL2Encoder *)self; in pixelDataSize3D() local 35 assert (ctx->state() != NULL); in pixelDataSize3D() 36 return ctx->state()->pixelDataSize(width, height, depth, format, type, pack); in pixelDataSize3D() 41 GL2Encoder * ctx = (GL2Encoder *) self; in uniformType() local 42 assert (ctx->shared() != NULL); in uniformType() 43 return ctx->shared()->getProgramUniformType(program, location); in uniformType() 47 GL2Encoder *ctx = (GL2Encoder *)self; in clearBufferNumElts() local [all …]
|
D | GLESv2Validation.cpp | 30 bool bufferTarget(GL2Encoder* ctx, GLenum target) { in bufferTarget() argument 31 int glesMajorVersion = ctx->majorVersion(); in bufferTarget() 32 int glesMinorVersion = ctx->minorVersion(); in bufferTarget() 56 bool bufferParam(GL2Encoder* ctx, GLenum pname) { in bufferParam() argument 57 int glesMajorVersion = ctx->majorVersion(); in bufferParam() 72 bool pixelStoreParam(GL2Encoder* ctx, GLenum param) { in pixelStoreParam() argument 73 int glesMajorVersion = ctx->majorVersion(); in pixelStoreParam() 111 bool rboFormat(GL2Encoder* ctx, GLenum internalformat) { in rboFormat() argument 112 int glesMajorVersion = ctx->majorVersion(); in rboFormat() 161 return glesMajorVersion >= 3 && ctx->hasExtension("GL_EXT_color_buffer_float"); in rboFormat() [all …]
|
D | gl2_enc.cpp | 25 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glActiveTexture_enc() local 26 IOStream *stream = ctx->m_stream; in glActiveTexture_enc() 27 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glActiveTexture_enc() 50 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glAttachShader_enc() local 51 IOStream *stream = ctx->m_stream; in glAttachShader_enc() 52 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glAttachShader_enc() 76 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindAttribLocation_enc() local 77 IOStream *stream = ctx->m_stream; in glBindAttribLocation_enc() 78 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in glBindAttribLocation_enc() 105 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindBuffer_enc() local [all …]
|
/device/generic/goldfish-opengl/system/codecs/omx/vpxdec/ |
D | goldfish_vpx_impl.cpp | 39 static void sendVpxOperation(vpx_codec_ctx_t* ctx, MediaOperation op) { in sendVpxOperation() argument 41 if (ctx->memory_slot < 0) { in sendVpxOperation() 46 transport->sendOperation(ctx->vpversion == 9 ? MediaCodecType::VP9Codec in sendVpxOperation() 48 op, ctx->address_offset); in sendVpxOperation() 51 int vpx_codec_destroy(vpx_codec_ctx_t* ctx) { in vpx_codec_destroy() argument 54 transport->writeParam(ctx->id, 0, ctx->address_offset); in vpx_codec_destroy() 55 sendVpxOperation(ctx, MediaOperation::DestroyContext); in vpx_codec_destroy() 56 transport->returnMemorySlot(ctx->memory_slot); in vpx_codec_destroy() 57 ctx->memory_slot = -1; in vpx_codec_destroy() 61 int vpx_codec_dec_init(vpx_codec_ctx_t* ctx) { in vpx_codec_dec_init() argument [all …]
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | renderControl_client_proc.h | 15 typedef GLint (renderControl_APIENTRY *rcGetRendererVersion_client_proc_t) (void * ctx); 16 typedef EGLint (renderControl_APIENTRY *rcGetEGLVersion_client_proc_t) (void * ctx, EGLint*, EGLint… 17 typedef EGLint (renderControl_APIENTRY *rcQueryEGLString_client_proc_t) (void * ctx, EGLenum, void*… 18 typedef EGLint (renderControl_APIENTRY *rcGetGLString_client_proc_t) (void * ctx, EGLenum, void*, E… 19 typedef EGLint (renderControl_APIENTRY *rcGetNumConfigs_client_proc_t) (void * ctx, uint32_t*); 20 typedef EGLint (renderControl_APIENTRY *rcGetConfigs_client_proc_t) (void * ctx, uint32_t, GLuint*); 21 typedef EGLint (renderControl_APIENTRY *rcChooseConfig_client_proc_t) (void * ctx, EGLint*, uint32_… 22 typedef EGLint (renderControl_APIENTRY *rcGetFBParam_client_proc_t) (void * ctx, EGLint); 23 typedef uint32_t (renderControl_APIENTRY *rcCreateContext_client_proc_t) (void * ctx, uint32_t, uin… 24 typedef void (renderControl_APIENTRY *rcDestroyContext_client_proc_t) (void * ctx, uint32_t); [all …]
|
D | renderControl_entry.cpp | 64 #define GET_CONTEXT renderControl_client_context_t * ctx = getCurrentContext() 70 return ctx->rcGetRendererVersion(ctx); in rcGetRendererVersion() 76 return ctx->rcGetEGLVersion(ctx, major, minor); in rcGetEGLVersion() 82 return ctx->rcQueryEGLString(ctx, name, buffer, bufferSize); in rcQueryEGLString() 88 return ctx->rcGetGLString(ctx, name, buffer, bufferSize); in rcGetGLString() 94 return ctx->rcGetNumConfigs(ctx, numAttribs); in rcGetNumConfigs() 100 return ctx->rcGetConfigs(ctx, bufSize, buffer); in rcGetConfigs() 106 return ctx->rcChooseConfig(ctx, attribs, attribs_size, configs, configs_size); in rcChooseConfig() 112 return ctx->rcGetFBParam(ctx, param); in rcGetFBParam() 118 return ctx->rcCreateContext(ctx, config, share, glVersion); in rcCreateContext() [all …]
|
D | renderControl_enc.cpp | 25 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetRendererVersion_enc() local 26 IOStream *stream = ctx->m_stream; in rcGetRendererVersion_enc() 27 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in rcGetRendererVersion_enc() 64 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetEGLVersion_enc() local 65 IOStream *stream = ctx->m_stream; in rcGetEGLVersion_enc() 66 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in rcGetEGLVersion_enc() 111 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcQueryEGLString_enc() local 112 IOStream *stream = ctx->m_stream; in rcQueryEGLString_enc() 113 ChecksumCalculator *checksumCalculator = ctx->m_checksumCalculator; in rcQueryEGLString_enc() 156 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetGLString_enc() local [all …]
|
/device/amlogic/yukawa/hal/hdmicec/ |
D | hdmi_cec.c | 56 struct hdmicec_context *ctx = (struct hdmicec_context *)dev; in hdmicec_add_logical_address() local 68 ret = ioctl(ctx->cec_fd, CEC_ADAP_G_LOG_ADDRS, &laddrs); in hdmicec_add_logical_address() 73 laddrs.cec_version = ctx->version; in hdmicec_add_logical_address() 74 laddrs.vendor_id = ctx->vendor_id; in hdmicec_add_logical_address() 130 ret = ioctl(ctx->cec_fd, CEC_ADAP_S_LOG_ADDRS, &laddrs); in hdmicec_add_logical_address() 143 struct hdmicec_context *ctx = (struct hdmicec_context *)dev; in hdmicec_clear_logical_address() local 148 ret = ioctl(ctx->cec_fd, CEC_ADAP_S_LOG_ADDRS, &laddrs); in hdmicec_clear_logical_address() 155 struct hdmicec_context *ctx = (struct hdmicec_context *)dev; in hdmicec_get_physical_address() local 156 int ret = ioctl(ctx->cec_fd, CEC_ADAP_G_PHYS_ADDR, addr); in hdmicec_get_physical_address() 165 struct hdmicec_context *ctx = (struct hdmicec_context *)dev; in hdmicec_send_message() local [all …]
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | auto_goldfish_dma_context.cpp | 19 goldfish_dma_context ctx; in empty() local 21 ctx.mapped_addr = 0; in empty() 22 ctx.size = 0; in empty() 23 ctx.fd = -1; in empty() 25 return ctx; in empty() 28 void destroy(goldfish_dma_context *ctx) { in destroy() argument 29 if (ctx->mapped_addr) { in destroy() 30 goldfish_dma_unmap(ctx); in destroy() 32 if (ctx->fd > 0) { in destroy() 33 goldfish_dma_free(ctx); in destroy() [all …]
|
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/ |
D | foo_entry.cpp | 21 #define GET_CONTEXT foo_client_context_t * ctx = getCurrentContext() 27 ctx->fooAlphaFunc(ctx, func, ref); in fooAlphaFunc() 34 return ctx->fooIsBuffer(ctx, stuff); in fooIsBuffer() 40 ctx->fooUnsupported(ctx, params); in fooUnsupported() 46 ctx->fooDoEncoderFlush(ctx, param); in fooDoEncoderFlush() 52 ctx->fooTakeConstVoidPtrConstPtr(ctx, param); in fooTakeConstVoidPtrConstPtr() 58 ctx->fooSetComplexStruct(ctx, obj); in fooSetComplexStruct() 64 ctx->fooGetComplexStruct(ctx, obj); in fooGetComplexStruct() 70 ctx->fooInout(ctx, count); in fooInout()
|
D | foo_client_proc.h | 12 typedef void (foo_APIENTRY *fooAlphaFunc_client_proc_t) (void * ctx, FooInt, FooFloat); 13 typedef FooBoolean (foo_APIENTRY *fooIsBuffer_client_proc_t) (void * ctx, void*); 14 typedef void (foo_APIENTRY *fooUnsupported_client_proc_t) (void * ctx, void*); 15 typedef void (foo_APIENTRY *fooDoEncoderFlush_client_proc_t) (void * ctx, FooInt); 16 typedef void (foo_APIENTRY *fooTakeConstVoidPtrConstPtr_client_proc_t) (void * ctx, const void* con… 17 typedef void (foo_APIENTRY *fooSetComplexStruct_client_proc_t) (void * ctx, const FooStruct*); 18 typedef void (foo_APIENTRY *fooGetComplexStruct_client_proc_t) (void * ctx, FooStruct*); 19 typedef void (foo_APIENTRY *fooInout_client_proc_t) (void * ctx, uint32_t*);
|
/device/linaro/dragonboard/qcom/qrtr/src/ |
D | ns.c | 155 static int service_announce_new(struct context *ctx, in service_announce_new() argument 171 rc = sendto(ctx->sock, &cmsg, sizeof(cmsg), 0, in service_announce_new() 179 static int service_announce_del(struct context *ctx, in service_announce_del() argument 195 rc = sendto(ctx->sock, &cmsg, sizeof(cmsg), 0, in service_announce_del() 203 static int lookup_notify(struct context *ctx, struct sockaddr_qrtr *to, in lookup_notify() argument 217 rc = sendto(ctx->sock, &pkt, sizeof(pkt), 0, in lookup_notify() 224 static int annouce_servers(struct context *ctx, struct sockaddr_qrtr *sq) in annouce_servers() argument 231 node = node_get(ctx->local_node); in annouce_servers() 238 rc = service_announce_new(ctx, sq, srv); in annouce_servers() 289 static int server_del(struct context *ctx, struct node *node, unsigned int port) in server_del() argument [all …]
|
/device/generic/goldfish-opengl/system/GLESv2/ |
D | gl2.cpp | 27 #define GET_CONTEXT GL2Encoder * ctx = getEGLThreadInfo()->hostConn->gl2Encoder(); 81 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 82 ctx->associateEGLImage(target, hostImage); in glEGLImageTargetTexture2DOES() 85 ctx->restore2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 89 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 90 ctx->associateEGLImage(target, hostImage); in glEGLImageTargetTexture2DOES() 91 ctx->m_glEGLImageTargetTexture2DOES_enc(self, GL_TEXTURE_2D, hostImage); in glEGLImageTargetTexture2DOES() 92 ctx->restore2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 165 ctx->setError(GL_INVALID_ENUM); in my_glGetString() 174 ctx->m_glEGLImageTargetTexture2DOES_enc = ctx->glEGLImageTargetTexture2DOES; in init() [all …]
|
/device/google/contexthub/lib/nanohub/ |
D | aes.c | 155 void aesInitForEncr(struct AesContext *ctx, const uint32_t *k) in aesInitForEncr() argument 157 uint32_t i, *ks = ctx->K, roundConstant = 0x01000000; in aesInitForEncr() 160 memcpy(ctx->K, k, sizeof(uint32_t[AES_KEY_WORDS])); in aesInitForEncr() 183 void aesInitForDecr(struct AesContext *ctx, struct AesSetupTempWorksSpace *tmpSpace, const uint32_t… in aesInitForDecr() argument 185 uint32_t i, j, *ks = ctx->K + 4, *encrK = tmpSpace->tmpCtx.K + 52; in aesInitForDecr() 191 memcpy(ctx->K, tmpSpace->tmpCtx.K + 56, sizeof(uint32_t[4])); in aesInitForDecr() 204 void aesEncr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst) in aesEncr() argument 207 uint32_t *k = ctx->K, i; in aesEncr() 274 void aesDecr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst) in aesDecr() argument 277 uint32_t *k = ctx->K, i; in aesDecr() [all …]
|
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/wrapper/ |
D | foo_wrapper_entry.cpp | 21 #define GET_CONTEXT foo_wrapper_context_t * ctx = getCurrentContext() 27 ctx->fooAlphaFunc( func, ref); in fooAlphaFunc() 33 return ctx->fooIsBuffer( stuff); in fooIsBuffer() 39 ctx->fooUnsupported( params); in fooUnsupported() 45 ctx->fooDoEncoderFlush( param); in fooDoEncoderFlush() 51 ctx->fooTakeConstVoidPtrConstPtr( param); in fooTakeConstVoidPtrConstPtr() 57 ctx->fooSetComplexStruct( obj); in fooSetComplexStruct() 63 ctx->fooGetComplexStruct( obj); in fooGetComplexStruct() 69 ctx->fooInout( count); in fooInout()
|
/device/google/contexthub/lib/include/nanohub/ |
D | aes.h | 35 void aesInitForEncr(struct AesContext *ctx, const uint32_t *k); 36 void aesInitForDecr(struct AesContext *ctx, struct AesSetupTempWorksSpace *tmpSpace, const uint32_t… 37 void aesEncr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst); //encrypts AES_BLOCK_WORD… 38 void aesDecr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst); //deencrypts AES_BLOCK_WO… 46 void aesCbcInitForEncr(struct AesCbcContext *ctx, const uint32_t *k, const uint32_t *iv); 47 void aesCbcInitForDecr(struct AesCbcContext *ctx, const uint32_t *k, const uint32_t *iv); 48 void aesCbcEncr(struct AesCbcContext *ctx, const uint32_t *src, uint32_t *dst); //encrypts AES_BLOC… 49 void aesCbcDecr(struct AesCbcContext *ctx, const uint32_t *src, uint32_t *dst); //encrypts AES_BLOC…
|
/device/generic/goldfish-opengl/system/GLESv1/ |
D | gl.cpp | 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() [all …]
|