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"
309 cnx->hooks[egl_connection_t::GLESv1_INDEX] =
311 cnx->hooks[egl_connection_t::GLESv2_INDEX] =
355 gl_hooks_t const* hooks = tls_hooks[TLS_SLOT_OPENGL_API]; local
356 if (hooks) return hooks;
367 gl_hooks_t const* hooks = static_cast<gl_hooks_t*>(pthread_getspecific(gGLWrapperKey)); local
368 if (hooks) return hooks;
375 // 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"
578 setGLHooksThreadSpecific(c->cnx->hooks[c->version]);
582 GLTrace_eglMakeCurrent(c->version, c->cnx->hooks[c->version], ctx);
741 * result in the appropriate implementation hooks and return the
765 cnx->hooks[egl_connection_t::GLESv1_INDEX]->ext.extensions[slot] =
766 cnx->hooks[egl_connection_t::GLESv2_INDEX]->ext.extensions[slot] =
872 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.cpp176 hooks->gl.glGetIntegerv(GL_VIEWPORT, viewport);
185 hooks->gl.glGetIntegerv(GL_FRAMEBUFFER_BINDING, &currentFb);
188 hooks->gl.glBindFramebuffer(GL_FRAMEBUFFER, 0);
193 hooks->gl.glReadPixels(viewport[0], viewport[1], viewport[2], viewport[3],
198 hooks->gl.glBindFramebuffer(GL_FRAMEBUFFER, currentFb);
H A Dgltrace_context.h24 #include "hooks.h"
67 gl_hooks_t *hooks; member in class:android::gltrace::GLTraceContext
H A Dgltrace_fixup.cpp353 return context->hooks->gl.glGetAttribLocation(program, name);
355 return context->hooks->gl.glGetUniformLocation(program, name);
386 context->hooks->gl.glGetIntegerv(param, &x);
392 context->hooks->gl.glGetVertexAttribiv(index, pname, &x);
587 context->hooks->gl.glGetVertexAttribPointerv(index, GL_VERTEX_ATTRIB_ARRAY_POINTER, &ptr);

Completed in 731 milliseconds