Searched refs:gl_hooks_t (Results 1 - 8 of 8) sorted by relevance

/frameworks/native/opengl/libs/EGL/
H A Degldefs.h42 gl_hooks_t * hooks[2];
54 extern gl_hooks_t gHooks[2];
55 extern gl_hooks_t gHooksNoContext;
H A Degl.cpp50 gl_hooks_t gHooks[2];
51 gl_hooks_t gHooksNoContext;
56 void setGLHooksThreadSpecific(gl_hooks_t const *value) {
243 void setGlThreadSpecific(gl_hooks_t const *value) {
244 gl_hooks_t const * volatile * tls_hooks = get_tls_hooks();
H A DgetProcAddress.cpp55 [ext] "J"(__builtin_offsetof(gl_hooks_t, \
76 [api] "i" (__builtin_offsetof(gl_hooks_t, \
98 [api] "i" (__builtin_offsetof(gl_hooks_t, \
120 [api] "i" (__builtin_offsetof(gl_hooks_t, \
152 [API] "I"(__builtin_offsetof(gl_hooks_t, \
185 [API] "I"(__builtin_offsetof(gl_hooks_t, \
H A Degl_display.cpp43 extern void setGLHooksThreadSpecific(gl_hooks_t const *value);
H A DeglApi.cpp258 extern void setGLHooksThreadSpecific(gl_hooks_t const *value);
261 extern gl_hooks_t gHooksTrace;
/frameworks/native/opengl/libs/
H A Dhooks.h66 struct gl_hooks_t { struct in namespace:android
77 EGLAPI void setGlThreadSpecific(gl_hooks_t const *value);
80 inline gl_hooks_t const * volatile * get_tls_hooks() {
82 gl_hooks_t const * volatile * tls_hooks =
83 reinterpret_cast<gl_hooks_t const * volatile *>(tls_base);
87 inline EGLAPI gl_hooks_t const* getGlThreadSpecific() {
88 gl_hooks_t const * volatile * tls_hooks = get_tls_hooks();
89 gl_hooks_t const* hooks = tls_hooks[TLS_SLOT_OPENGL_API];
/frameworks/native/opengl/libs/GLES2/
H A 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;
235 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl;
250 gl_hooks_t
[all...]
/frameworks/native/opengl/libs/GLES_CM/
H A 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;

Completed in 77 milliseconds