Searched refs:hooks (Results 1 - 11 of 11) sorted by relevance

/frameworks/native/opengl/libs/
H A Dglestrace.h22 #include "hooks.h"
28 void GLTrace_eglMakeCurrent(unsigned version, gl_hooks_t *hooks, EGLContext c);
/frameworks/native/opengl/libs/EGL/
H A Degldefs.h20 #include "hooks.h"
42 gl_hooks_t * hooks[2]; member in struct:android::egl_connection_t
H A Degl.cpp41 #include "hooks.h"
267 cnx->hooks[egl_connection_t::GLESv1_INDEX] =
269 cnx->hooks[egl_connection_t::GLESv2_INDEX] =
313 gl_hooks_t const* hooks = tls_hooks[TLS_SLOT_OPENGL_API]; local
314 if (hooks) return hooks;
325 gl_hooks_t const* hooks = static_cast<gl_hooks_t*>(pthread_getspecific(gGLWrapperKey)); local
326 if (hooks) return hooks;
333 // GL / EGL hooks
[all...]
H A Degl_object.cpp111 const char* exts = (const char *)gEGLImpl.hooks[version]->gl.glGetString(GL_EXTENSIONS);
H A DLoader.cpp32 #include "hooks.h"
353 &cnx->hooks[egl_connection_t::GLESv1_INDEX]->gl,
360 &cnx->hooks[egl_connection_t::GLESv2_INDEX]->gl,
H A DeglApi.cpp45 #include "hooks.h"
519 setGLHooksThreadSpecific(c->cnx->hooks[c->version]);
523 GLTrace_eglMakeCurrent(c->version, c->cnx->hooks[c->version], ctx);
680 * result in the appropriate implementation hooks and return the
704 cnx->hooks[egl_connection_t::GLESv1_INDEX]->ext.extensions[slot] =
705 cnx->hooks[egl_connection_t::GLESv2_INDEX]->ext.extensions[slot] =
811 s->cnx->hooks[c->version]->gl.glReadPixels(0,0,1,1,
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_eglapi.cpp22 #include "hooks.h"
141 void GLTrace_eglMakeCurrent(const unsigned version, gl_hooks_t *hooks, EGLContext c) { argument
144 traceContext->hooks = hooks;
H A Dgltrace_api.cpp48 glContext->hooks->gl.glActiveTexture(texture);
82 glContext->hooks->gl.glAttachShader(program, shader);
122 glContext->hooks->gl.glBindAttribLocation(program, index, name);
157 glContext->hooks->gl.glBindBuffer(target, buffer);
191 glContext->hooks->gl.glBindFramebuffer(target, framebuffer);
225 glContext->hooks->gl.glBindRenderbuffer(target, renderbuffer);
259 glContext->hooks->gl.glBindTexture(target, texture);
305 glContext->hooks->gl.glBlendColor(red, green, blue, alpha);
333 glContext->hooks->gl.glBlendEquation(mode);
367 glContext->hooks
[all...]
H A Dgltrace_context.cpp170 hooks->gl.glGetIntegerv(GL_VIEWPORT, viewport);
179 hooks->gl.glGetIntegerv(GL_FRAMEBUFFER_BINDING, &currentFb);
182 hooks->gl.glBindFramebuffer(GL_FRAMEBUFFER, 0);
187 hooks->gl.glReadPixels(viewport[0], viewport[1], viewport[2], viewport[3],
192 hooks->gl.glBindFramebuffer(GL_FRAMEBUFFER, currentFb);
H A Dgltrace_context.h24 #include "hooks.h"
66 gl_hooks_t *hooks; member in class:android::gltrace::GLTraceContext
H A Dgltrace_fixup.cpp352 return context->hooks->gl.glGetAttribLocation(program, name);
354 return context->hooks->gl.glGetUniformLocation(program, name);
385 context->hooks->gl.glGetIntegerv(param, &x);
391 context->hooks->gl.glGetVertexAttribiv(index, pname, &x);
586 context->hooks->gl.glGetVertexAttribPointerv(index, GL_VERTEX_ATTRIB_ARRAY_POINTER, &ptr);

Completed in 95 milliseconds