Home
last modified time | relevance | path

Searched refs:gl_hooks_t (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/opengl/libs/
Dhooks.h65 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()
Dglestrace.h28 void GLTrace_eglMakeCurrent(unsigned version, gl_hooks_t *hooks, EGLContext c);
37 gl_hooks_t *GLTrace_getGLHooks();
/frameworks/native/opengl/libs/GLES2/
Dgl2.cpp44 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/
Degl.cpp51 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 …]
Degldefs.h42 gl_hooks_t * hooks[2];
54 extern gl_hooks_t gHooks[2];
55 extern gl_hooks_t gHooksNoContext;
Dtrace.cpp331 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 = {
DgetProcAddress.cpp54 [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, \
Degl_tls.h74 extern gl_hooks_t const* getGLTraceThreadSpecific();
Degl_display.cpp43 extern void setGLHooksThreadSpecific(gl_hooks_t const *value);
DeglApi.cpp231 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/
Dgl.cpp100 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/
Dgltrace_hooks.h25 using ::android::gl_hooks_t;
27 gl_hooks_t *getGLHooks();
Dgltrace_hooks.cpp26 EGLAPI gl_hooks_t gHooksDebug = {
36 gl_hooks_t *getGLHooks() { in getGLHooks()
Dgltrace_context.h30 using ::android::gl_hooks_t;
73 gl_hooks_t *hooks;
Dgltrace_eglapi.cpp177 void GLTrace_eglMakeCurrent(const unsigned version, gl_hooks_t *hooks, EGLContext c) { in GLTrace_eglMakeCurrent()
206 gl_hooks_t *GLTrace_getGLHooks() { in GLTrace_getGLHooks()
Dgltrace_context.cpp29 using ::android::gl_hooks_t;