Searched refs:gl_hooks_t (Results 1 – 16 of 16) sorted by relevance
/frameworks/native/opengl/libs/ |
D | hooks.h | 65 struct gl_hooks_t { struct 76 EGLAPI void setGlThreadSpecific(gl_hooks_t const *value); argument 79 inline gl_hooks_t const * volatile * get_tls_hooks() { in get_tls_hooks() 81 gl_hooks_t const * volatile * tls_hooks = in get_tls_hooks() 82 reinterpret_cast<gl_hooks_t const * volatile *>(tls_base); in get_tls_hooks() 86 inline EGLAPI gl_hooks_t const* getGlThreadSpecific() { in getGlThreadSpecific() 87 gl_hooks_t const * volatile * tls_hooks = get_tls_hooks(); in getGlThreadSpecific() 88 gl_hooks_t const* hooks = tls_hooks[TLS_SLOT_OPENGL_API]; in getGlThreadSpecific()
|
D | glestrace.h | 28 void GLTrace_eglMakeCurrent(unsigned version, gl_hooks_t *hooks, EGLContext c); 37 gl_hooks_t *GLTrace_getGLHooks();
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2.cpp | 44 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; \ 61 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 79 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 98 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 117 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 150 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 184 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 226 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; in glGetString() 235 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; in glGetStringi() 250 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; in glGetBooleanv() [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | egl.cpp | 51 gl_hooks_t gHooks[2]; 52 gl_hooks_t gHooksNoContext; 88 extern gl_hooks_t gHooksTrace; 89 extern gl_hooks_t gHooksSystrace; 90 extern gl_hooks_t gHooksErrorTrace; 100 static inline void setGlTraceThreadSpecific(gl_hooks_t const *value) { in setGlTraceThreadSpecific() 104 gl_hooks_t const* getGLTraceThreadSpecific() { in getGLTraceThreadSpecific() 105 return static_cast<gl_hooks_t*>(pthread_getspecific(gGLTraceKey)); in getGLTraceThreadSpecific() 164 void setGLHooksThreadSpecific(gl_hooks_t const *value) { in setGLHooksThreadSpecific() 206 void setGLHooksThreadSpecific(gl_hooks_t const *value) { in setGLHooksThreadSpecific() [all …]
|
D | egldefs.h | 42 gl_hooks_t * hooks[2]; 54 extern gl_hooks_t gHooks[2]; 55 extern gl_hooks_t gHooksNoContext;
|
D | trace.cpp | 331 gl_hooks_t::gl_t const * const _c = &getGLTraceThreadSpecific()->gl; \ 338 gl_hooks_t::gl_t const * const _c = &getGLTraceThreadSpecific()->gl; \ 350 EGLAPI gl_hooks_t gHooksTrace = { 373 gl_hooks_t::gl_t const * const _c = &getGLTraceThreadSpecific()->gl; \ 380 gl_hooks_t::gl_t const * const _c = &getGLTraceThreadSpecific()->gl; \ 392 EGLAPI gl_hooks_t gHooksSystrace = { 424 gl_hooks_t::gl_t const * const _c = &getGLTraceThreadSpecific()->gl; \ 431 gl_hooks_t::gl_t const * const _c = &getGLTraceThreadSpecific()->gl; \ 445 EGLAPI gl_hooks_t gHooksErrorTrace = {
|
D | getProcAddress.cpp | 54 [api] "J"(__builtin_offsetof(gl_hooks_t, \ 74 [api] "i" (__builtin_offsetof(gl_hooks_t, \ 96 [api] "i" (__builtin_offsetof(gl_hooks_t, \ 118 [api] "i" (__builtin_offsetof(gl_hooks_t, \ 150 [API] "I"(__builtin_offsetof(gl_hooks_t, \ 183 [API] "I"(__builtin_offsetof(gl_hooks_t, \
|
D | egl_tls.h | 74 extern gl_hooks_t const* getGLTraceThreadSpecific();
|
D | egl_display.cpp | 43 extern void setGLHooksThreadSpecific(gl_hooks_t const *value);
|
D | eglApi.cpp | 231 extern void setGLHooksThreadSpecific(gl_hooks_t const *value); 236 extern gl_hooks_t gHooksTrace; 984 gl_hooks_t *debugHooks = GLTrace_getGLHooks(); in eglGetProcAddress() 1092 gl_hooks_t const *trace_hooks = getGLTraceThreadSpecific(); in eglSwapBuffersWithDamageKHR()
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | gl.cpp | 100 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; \ 117 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 135 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 154 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 173 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \ 206 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 240 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 271 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; in glGetString()
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace_hooks.h | 25 using ::android::gl_hooks_t; 27 gl_hooks_t *getGLHooks();
|
D | gltrace_hooks.cpp | 26 EGLAPI gl_hooks_t gHooksDebug = { 36 gl_hooks_t *getGLHooks() { in getGLHooks()
|
D | gltrace_context.h | 30 using ::android::gl_hooks_t; 73 gl_hooks_t *hooks;
|
D | gltrace_eglapi.cpp | 177 void GLTrace_eglMakeCurrent(const unsigned version, gl_hooks_t *hooks, EGLContext c) { in GLTrace_eglMakeCurrent() 206 gl_hooks_t *GLTrace_getGLHooks() { in GLTrace_getGLHooks()
|
D | gltrace_context.cpp | 29 using ::android::gl_hooks_t;
|