/device/generic/goldfish/opengl/system/GLESv1_enc/ |
D | gl_client_proc.h | 12 typedef void (gl_APIENTRY *glAlphaFunc_client_proc_t) (void * ctx, GLenum, GLclampf); 13 typedef void (gl_APIENTRY *glClearColor_client_proc_t) (void * ctx, GLclampf, GLclampf, GLclampf, G… 14 typedef void (gl_APIENTRY *glClearDepthf_client_proc_t) (void * ctx, GLclampf); 15 typedef void (gl_APIENTRY *glClipPlanef_client_proc_t) (void * ctx, GLenum, const GLfloat*); 16 typedef void (gl_APIENTRY *glColor4f_client_proc_t) (void * ctx, GLfloat, GLfloat, GLfloat, GLfloat… 17 typedef void (gl_APIENTRY *glDepthRangef_client_proc_t) (void * ctx, GLclampf, GLclampf); 18 typedef void (gl_APIENTRY *glFogf_client_proc_t) (void * ctx, GLenum, GLfloat); 19 typedef void (gl_APIENTRY *glFogfv_client_proc_t) (void * ctx, GLenum, const GLfloat*); 20 typedef void (gl_APIENTRY *glFrustumf_client_proc_t) (void * ctx, GLfloat, GLfloat, GLfloat, GLfloa… 21 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 | 23 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glAlphaFunc_enc() local 24 IOStream *stream = ctx->m_stream; in glAlphaFunc_enc() 39 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClearColor_enc() local 40 IOStream *stream = ctx->m_stream; in glClearColor_enc() 57 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClearDepthf_enc() local 58 IOStream *stream = ctx->m_stream; in glClearDepthf_enc() 72 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClipPlanef_enc() local 73 IOStream *stream = ctx->m_stream; in glClipPlanef_enc() 90 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glColor4f_enc() local 91 IOStream *stream = ctx->m_stream; in glColor4f_enc() [all …]
|
D | GLEncoderUtils.cpp | 24 GLEncoder *ctx = (GLEncoder *)self; in pixelDataSize() local 25 return ctx->pixelDataSize(width, height, format, type, pack); in pixelDataSize()
|
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
D | gl2_client_proc.h | 12 typedef void (gl2_APIENTRY *glActiveTexture_client_proc_t) (void * ctx, GLenum); 13 typedef void (gl2_APIENTRY *glAttachShader_client_proc_t) (void * ctx, GLuint, GLuint); 14 typedef void (gl2_APIENTRY *glBindAttribLocation_client_proc_t) (void * ctx, GLuint, GLuint, const … 15 typedef void (gl2_APIENTRY *glBindBuffer_client_proc_t) (void * ctx, GLenum, GLuint); 16 typedef void (gl2_APIENTRY *glBindFramebuffer_client_proc_t) (void * ctx, GLenum, GLuint); 17 typedef void (gl2_APIENTRY *glBindRenderbuffer_client_proc_t) (void * ctx, GLenum, GLuint); 18 typedef void (gl2_APIENTRY *glBindTexture_client_proc_t) (void * ctx, GLenum, GLuint); 19 typedef void (gl2_APIENTRY *glBlendColor_client_proc_t) (void * ctx, GLclampf, GLclampf, GLclampf, … 20 typedef void (gl2_APIENTRY *glBlendEquation_client_proc_t) (void * ctx, GLenum); 21 typedef void (gl2_APIENTRY *glBlendEquationSeparate_client_proc_t) (void * ctx, GLenum, GLenum); [all …]
|
D | GL2Encoder.cpp | 32 ctx->setError(err); \ 39 ctx->setError(err); \ 135 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetError() local 136 GLenum err = ctx->getError(); in s_glGetError() 138 ctx->setError(GL_NO_ERROR); in s_glGetError() 142 return ctx->m_glGetError_enc(self); in s_glGetError() 148 GL2Encoder *ctx = (GL2Encoder *) self; in s_glFlush() local 149 ctx->m_glFlush_enc(self); in s_glFlush() 150 ctx->m_stream->flush(); in s_glFlush() 177 GL2Encoder *ctx = (GL2Encoder *)self; in s_glPixelStorei() local [all …]
|
D | gl2_entry.cpp | 223 #define GET_CONTEXT gl2_client_context_t * ctx = getCurrentContext() 229 ctx->glActiveTexture(ctx, texture); in glActiveTexture() 235 ctx->glAttachShader(ctx, program, shader); in glAttachShader() 241 ctx->glBindAttribLocation(ctx, program, index, name); in glBindAttribLocation() 247 ctx->glBindBuffer(ctx, target, buffer); in glBindBuffer() 253 ctx->glBindFramebuffer(ctx, target, framebuffer); in glBindFramebuffer() 259 ctx->glBindRenderbuffer(ctx, target, renderbuffer); in glBindRenderbuffer() 265 ctx->glBindTexture(ctx, target, texture); in glBindTexture() 271 ctx->glBlendColor(ctx, red, green, blue, alpha); in glBlendColor() 277 ctx->glBlendEquation(ctx, mode); in glBlendEquation() [all …]
|
D | gl2_enc.cpp | 23 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glActiveTexture_enc() local 24 IOStream *stream = ctx->m_stream; in glActiveTexture_enc() 38 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glAttachShader_enc() local 39 IOStream *stream = ctx->m_stream; in glAttachShader_enc() 54 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindAttribLocation_enc() local 55 IOStream *stream = ctx->m_stream; in glBindAttribLocation_enc() 73 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindBuffer_enc() local 74 IOStream *stream = ctx->m_stream; in glBindBuffer_enc() 89 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindFramebuffer_enc() local 90 IOStream *stream = ctx->m_stream; in glBindFramebuffer_enc() [all …]
|
D | GL2EncoderUtils.cpp | 25 GL2Encoder *ctx = (GL2Encoder *)self; in pixelDataSize() local 26 assert (ctx->state() != NULL); in pixelDataSize() 27 return ctx->state()->pixelDataSize(width, height, format, type, pack); in pixelDataSize() 38 GL2Encoder * ctx = (GL2Encoder *) self; in uniformType() local 39 assert (ctx->shared() != NULL); in uniformType() 40 return ctx->shared()->getProgramUniformType(program, location); in uniformType()
|
/device/generic/goldfish/opengl/system/renderControl_enc/ |
D | renderControl_entry.cpp | 41 #define GET_CONTEXT renderControl_client_context_t * ctx = getCurrentContext() 47 return ctx->rcGetRendererVersion(ctx); in rcGetRendererVersion() 53 return ctx->rcGetEGLVersion(ctx, major, minor); in rcGetEGLVersion() 59 return ctx->rcQueryEGLString(ctx, name, buffer, bufferSize); in rcQueryEGLString() 65 return ctx->rcGetGLString(ctx, name, buffer, bufferSize); in rcGetGLString() 71 return ctx->rcGetNumConfigs(ctx, numAttribs); in rcGetNumConfigs() 77 return ctx->rcGetConfigs(ctx, bufSize, buffer); in rcGetConfigs() 83 return ctx->rcChooseConfig(ctx, attribs, attribs_size, configs, configs_size); in rcChooseConfig() 89 return ctx->rcGetFBParam(ctx, param); in rcGetFBParam() 95 return ctx->rcCreateContext(ctx, config, share, glVersion); in rcCreateContext() [all …]
|
D | renderControl_client_proc.h | 12 typedef GLint (renderControl_APIENTRY *rcGetRendererVersion_client_proc_t) (void * ctx); 13 typedef EGLint (renderControl_APIENTRY *rcGetEGLVersion_client_proc_t) (void * ctx, EGLint*, EGLint… 14 typedef EGLint (renderControl_APIENTRY *rcQueryEGLString_client_proc_t) (void * ctx, EGLenum, void*… 15 typedef EGLint (renderControl_APIENTRY *rcGetGLString_client_proc_t) (void * ctx, EGLenum, void*, E… 16 typedef EGLint (renderControl_APIENTRY *rcGetNumConfigs_client_proc_t) (void * ctx, uint32_t*); 17 typedef EGLint (renderControl_APIENTRY *rcGetConfigs_client_proc_t) (void * ctx, uint32_t, GLuint*); 18 typedef EGLint (renderControl_APIENTRY *rcChooseConfig_client_proc_t) (void * ctx, EGLint*, uint32_… 19 typedef EGLint (renderControl_APIENTRY *rcGetFBParam_client_proc_t) (void * ctx, EGLint); 20 typedef uint32_t (renderControl_APIENTRY *rcCreateContext_client_proc_t) (void * ctx, uint32_t, uin… 21 typedef void (renderControl_APIENTRY *rcDestroyContext_client_proc_t) (void * ctx, uint32_t); [all …]
|
D | renderControl_enc.cpp | 23 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetRendererVersion_enc() local 24 IOStream *stream = ctx->m_stream; in rcGetRendererVersion_enc() 41 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetEGLVersion_enc() local 42 IOStream *stream = ctx->m_stream; in rcGetEGLVersion_enc() 65 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcQueryEGLString_enc() local 66 IOStream *stream = ctx->m_stream; in rcQueryEGLString_enc() 88 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetGLString_enc() local 89 IOStream *stream = ctx->m_stream; in rcGetGLString_enc() 111 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetNumConfigs_enc() local 112 IOStream *stream = ctx->m_stream; in rcGetNumConfigs_enc() [all …]
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
D | glesv2_emul_ifc.cpp | 28 gl2_wrapper_context_t *ctx = new gl2_wrapper_context_t; in createFromLib() local 29 if (ctx == NULL) { in createFromLib() 33 ctx->initDispatchByName(ApiInitializer::s_getProc, initializer); in createFromLib() 36 return ctx; in createFromLib()
|
D | glesv1_emul_ifc.cpp | 28 gl_wrapper_context_t *ctx = new gl_wrapper_context_t; in createFromLib() local 29 if (ctx == NULL) { in createFromLib() 33 ctx->initDispatchByName(ApiInitializer::s_getProc, initializer); in createFromLib() 36 return ctx; in createFromLib()
|
D | egl.cpp | 491 EGLContext ctx = getDispatch()->eglCreateContext(dpy, config, share, attrib); in eglCreateContext() local 493 EGLWrapperContext *wctx = new EGLWrapperContext(ctx, version); in eglCreateContext() 494 if (ctx != EGL_NO_CONTEXT) { in eglCreateContext() 506 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument 508 EGLWrapperContext *wctx = (EGLWrapperContext *)ctx; in eglDestroyContext() 511 if (ctx && ctx != EGL_NO_CONTEXT) { in eglDestroyContext() 517 server->utEnc()->destroyContext(ti->serverConn->utEnc(), getpid(), (uint32_t)ctx); in eglDestroyContext() 527 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument 529 EGLWrapperContext *wctx = (EGLWrapperContext *)ctx; in eglMakeCurrent() 530 EGLContext aglContext = (ctx == EGL_NO_CONTEXT ? EGL_NO_CONTEXT : wctx->aglContext); in eglMakeCurrent() [all …]
|
/device/generic/goldfish/opengl/system/GLESv2/ |
D | gl2.cpp | 27 #define GET_CONTEXT GL2Encoder * ctx = getEGLThreadInfo()->hostConn->gl2Encoder(); 71 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 73 ctx->restore2DTextureTarget(); in glEGLImageTargetTexture2DOES() 130 ctx->glEGLImageTargetTexture2DOES = &glEGLImageTargetTexture2DOES; in init() 131 ctx->glEGLImageTargetRenderbufferStorageOES = &glEGLImageTargetRenderbufferStorageOES; in init() 132 ctx->glGetString = &my_glGetString; in init()
|
/device/generic/goldfish/opengl/system/GLESv1/ |
D | gl.cpp | 28 #define GET_CONTEXT GLEncoder * ctx = getEGLThreadInfo()->hostConn->glEncoder(); 70 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 73 ctx->restore2DTextureTarget(); in glEGLImageTargetTexture2DOES() 132 ctx->glEGLImageTargetTexture2DOES = &glEGLImageTargetTexture2DOES; in init() 133 ctx->glEGLImageTargetRenderbufferStorageOES = &glEGLImageTargetRenderbufferStorageOES; in init() 134 ctx->glGetString = &my_glGetString; in init()
|
/device/lge/hammerhead/libsensors/ |
D | sensors.cpp | 390 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__close() local 391 if (ctx) { in poll__close() 392 delete ctx; in poll__close() 400 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__activate() local 401 return ctx->activate(handle, enabled); in poll__activate() 407 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__setDelay() local 408 int s= ctx->setDelay(handle, ns); in poll__setDelay() 415 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__poll() local 416 return ctx->pollEvents(data, count); in poll__poll() 422 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__batch() local [all …]
|
/device/htc/flounder/sensor_hub/libsensors/ |
D | sensors.cpp | 770 sensors_poll_context_t *ctx = reinterpret_cast<sensors_poll_context_t *>(dev); in poll__close() local 771 if (ctx) { in poll__close() 772 delete ctx; in poll__close() 779 sensors_poll_context_t *ctx = reinterpret_cast<sensors_poll_context_t *>(dev); in poll__activate() local 780 return ctx->activate(handle, enabled); in poll__activate() 785 sensors_poll_context_t *ctx = reinterpret_cast<sensors_poll_context_t *>(dev); in poll__setDelay() local 786 return ctx->setDelay(handle, ns); in poll__setDelay() 791 sensors_poll_context_t *ctx = reinterpret_cast<sensors_poll_context_t *>(dev); in poll__poll() local 792 return ctx->pollEvents(data, count); in poll__poll() 798 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__batch() local [all …]
|
/device/generic/goldfish/opengl/system/egl/ |
D | egl.cpp | 865 EGLContext_t* ctx = getEGLThreadInfo()->currentContext; in eglSwapInterval() local 866 if (!ctx) { in eglSwapInterval() 869 if (!ctx->draw) { in eglSwapInterval() 872 egl_surface_t* draw(static_cast<egl_surface_t*>(ctx->draw)); in eglSwapInterval() 918 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument 921 VALIDATE_CONTEXT_RETURN(ctx, EGL_FALSE); in eglDestroyContext() 923 EGLContext_t * context = static_cast<EGLContext_t*>(ctx); in eglDestroyContext() 942 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument 948 if ((read == EGL_NO_SURFACE && draw == EGL_NO_SURFACE) && (ctx != EGL_NO_CONTEXT)) in eglMakeCurrent() 950 if ((read != EGL_NO_SURFACE || draw != EGL_NO_SURFACE) && (ctx == EGL_NO_CONTEXT)) in eglMakeCurrent() [all …]
|
/device/asus/fugu/kernel-headers/linux/ |
D | psb_drm.h | 796 uint32_t ctx; member 1184 } ctx; member
|
/device/asus/fugu/original-kernel-headers/linux/ |
D | psb_drm.h | 845 uint32_t ctx; member 1265 } ctx; member
|
/device/moto/shamu/camera/QCamera2/HAL/test/ |
D | qcamera_test.cpp | 3460 TestContext ctx; in main() local 3463 if ( ctx.AddScriptFromFile((const char *)argv[1]) ) { in main() 3469 ctx.FunctionalTest(); in main()
|