Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/
Dhooks.h66 struct gl_hooks_t { struct
77 EGLAPI void setGlThreadSpecific(gl_hooks_t const *value); argument
80 inline gl_hooks_t const * volatile * get_tls_hooks() { in get_tls_hooks()
82 gl_hooks_t const * volatile * tls_hooks = in get_tls_hooks()
83 reinterpret_cast<gl_hooks_t const * volatile *>(tls_base); in get_tls_hooks()
87 inline EGLAPI gl_hooks_t const* getGlThreadSpecific() { in getGlThreadSpecific()
88 gl_hooks_t const * volatile * tls_hooks = get_tls_hooks(); in getGlThreadSpecific()
89 gl_hooks_t const* hooks = tls_hooks[TLS_SLOT_OPENGL_API]; in getGlThreadSpecific()
/frameworks/native/opengl/libs/GLES2/
Dgl2.cpp46 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; \
69 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \
104 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
138 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
172 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
220 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \
255 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \
306 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; in glGetString()
315 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; in glGetStringi()
330 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; in glGetBooleanv()
[all …]
/frameworks/native/opengl/libs/GLES_CM/
Dgl.cpp102 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; \
125 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \
160 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
194 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
228 [api] "i" (__builtin_offsetof(gl_hooks_t, gl._api)) \
276 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \
311 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \
352 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; in glGetString()
/frameworks/native/opengl/libs/EGL/
Degldefs.h42 gl_hooks_t * hooks[2];
54 extern gl_hooks_t gHooks[2];
55 extern gl_hooks_t gHooksNoContext;
Degl.cpp43 gl_hooks_t gHooks[2];
44 gl_hooks_t gHooksNoContext;
49 void setGLHooksThreadSpecific(gl_hooks_t const *value) { in setGLHooksThreadSpecific()
236 void setGlThreadSpecific(gl_hooks_t const *value) { in setGlThreadSpecific()
237 gl_hooks_t const * volatile * tls_hooks = get_tls_hooks(); in setGlThreadSpecific()
DgetProcAddress.cpp55 [ext] "J"(__builtin_offsetof(gl_hooks_t, \
76 [api] "i" (__builtin_offsetof(gl_hooks_t, \
97 [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_display.cpp50 extern void setGLHooksThreadSpecific(gl_hooks_t const *value);
DeglApi.cpp266 extern void setGLHooksThreadSpecific(gl_hooks_t const *value);
269 extern gl_hooks_t gHooksTrace;