Searched refs:gl_hooks_t (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/opengl/libs/ |
D | hooks.h | 70 struct gl_hooks_t { struct 81 EGLAPI void setGlThreadSpecific(gl_hooks_t const *value); argument 84 inline gl_hooks_t const * volatile * get_tls_hooks() { in get_tls_hooks() 86 gl_hooks_t const * volatile * tls_hooks = in get_tls_hooks() 87 reinterpret_cast<gl_hooks_t const * volatile *>(tls_base); in get_tls_hooks() 91 inline EGLAPI gl_hooks_t const* getGlThreadSpecific() { in getGlThreadSpecific() 92 gl_hooks_t const * volatile * tls_hooks = get_tls_hooks(); in getGlThreadSpecific() 93 gl_hooks_t const* hooks = tls_hooks[TLS_SLOT_OPENGL_API]; in getGlThreadSpecific()
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2.cpp | 46 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)) \
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | gl.cpp | 102 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/ |
D | egldefs.h | 62 gl_hooks_t* hooks[2]; 79 extern gl_hooks_t gHooks[2]; 80 extern gl_hooks_t gHooksNoContext;
|
D | egl.cpp | 34 gl_hooks_t gHooks[2]; 35 gl_hooks_t gHooksNoContext; 38 void setGLHooksThreadSpecific(gl_hooks_t const* value) { in setGLHooksThreadSpecific() 186 void setGlThreadSpecific(gl_hooks_t const* value) { in setGlThreadSpecific() 187 gl_hooks_t const* volatile* tls_hooks = get_tls_hooks(); in setGlThreadSpecific()
|
D | getProcAddress.cpp | 53 [ext] "J"(__builtin_offsetof(gl_hooks_t, \ 74 [api] "i" (__builtin_offsetof(gl_hooks_t, \ 95 [api] "i" (__builtin_offsetof(gl_hooks_t, \ 116 [api] "i" (__builtin_offsetof(gl_hooks_t, \ 148 [API] "I"(__builtin_offsetof(gl_hooks_t, \ 181 [API] "I"(__builtin_offsetof(gl_hooks_t, \
|
D | egl_platform_entries.cpp | 236 extern void setGLHooksThreadSpecific(gl_hooks_t const* value); 240 extern gl_hooks_t gHooksTrace; 2418 gl_hooks_t::gl_t const* const _c = &getGlThreadSpecific()->gl; in glGetStringImpl() 2427 gl_hooks_t::gl_t const* const _c = &getGlThreadSpecific()->gl; in glGetStringiImpl() 2442 gl_hooks_t::gl_t const* const _c = &getGlThreadSpecific()->gl; in glGetBooleanvImpl() 2455 gl_hooks_t::gl_t const* const _c = &getGlThreadSpecific()->gl; in glGetFloatvImpl() 2468 gl_hooks_t::gl_t const* const _c = &getGlThreadSpecific()->gl; in glGetIntegervImpl() 2481 gl_hooks_t::gl_t const* const _c = &getGlThreadSpecific()->gl; in glGetInteger64vImpl()
|
D | egl_layers.cpp | 57 sizeof(gl_hooks_t) / sizeof(char*);
|
D | egl_display.cpp | 51 extern void setGLHooksThreadSpecific(gl_hooks_t const* value);
|