Searched refs:hooks (Results 1 - 12 of 12) 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);
H A Dhooks.h54 // GL / EGL hooks
88 gl_hooks_t const* hooks = tls_hooks[TLS_SLOT_OPENGL_API]; local
89 return hooks;
/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_object.cpp112 const char* exts = (const char *)gEGLImpl.hooks[version]->gl.glGetString(GL_EXTENSIONS);
H A DLoader.cpp419 &cnx->hooks[egl_connection_t::GLESv1_INDEX]->gl,
426 &cnx->hooks[egl_connection_t::GLESv2_INDEX]->gl,
H A Degl.cpp351 cnx->hooks[egl_connection_t::GLESv1_INDEX] =
353 cnx->hooks[egl_connection_t::GLESv2_INDEX] =
405 // GL / EGL hooks
H A DeglApi.cpp43 #include "../hooks.h"
784 setGLHooksThreadSpecific(c->cnx->hooks[c->version]);
788 GLTrace_eglMakeCurrent(c->version, c->cnx->hooks[c->version], ctx);
961 * result in the appropriate implementation hooks and return the
985 cnx->hooks[egl_connection_t::GLESv1_INDEX]->ext.extensions[slot] =
986 cnx->hooks[egl_connection_t::GLESv2_INDEX]->ext.extensions[slot] =
1090 // switch over to the trace version of hooks
1094 setGLHooksThreadSpecific(c->cnx->hooks[c->version]);
1095 GLTrace_eglMakeCurrent(c->version, c->cnx->hooks[c->version], ctx);
1105 if (c) setGLHooksThreadSpecific(c->cnx->hooks[
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.cpp176 const char* str = (const char*)hooks->gl.glGetString(GL_VERSION);
209 hooks->gl.glGetIntegerv(GL_VIEWPORT, viewport);
218 hooks->gl.glGetIntegerv(GL_FRAMEBUFFER_BINDING, &currentFb);
221 hooks->gl.glBindFramebuffer(GL_FRAMEBUFFER, 0);
226 hooks->gl.glReadPixels(viewport[0], viewport[1], viewport[2], viewport[3],
231 hooks->gl.glBindFramebuffer(GL_FRAMEBUFFER, currentFb);
H A Dgltrace_eglapi.cpp22 #include "hooks.h"
177 void GLTrace_eglMakeCurrent(const unsigned version, gl_hooks_t *hooks, EGLContext c) { argument
191 traceContext->hooks = hooks;
H A Dgltrace_api.cpp47 glContext->hooks->gl.glActiveTexture(texture);
81 glContext->hooks->gl.glAttachShader(program, shader);
121 glContext->hooks->gl.glBindAttribLocation(program, index, name);
156 glContext->hooks->gl.glBindBuffer(target, buffer);
190 glContext->hooks->gl.glBindFramebuffer(target, framebuffer);
224 glContext->hooks->gl.glBindRenderbuffer(target, renderbuffer);
258 glContext->hooks->gl.glBindTexture(target, texture);
304 glContext->hooks->gl.glBlendColor(red, green, blue, alpha);
332 glContext->hooks->gl.glBlendEquation(mode);
366 glContext->hooks
[all...]
H A Dgltrace_context.h24 #include "hooks.h"
73 gl_hooks_t *hooks; member in class:android::gltrace::GLTraceContext
H A Dgltrace_fixup.cpp34 context->hooks->gl.glGetIntegerv(param, &x);
40 context->hooks->gl.glGetVertexAttribiv(index, pname, &x);
438 return context->hooks->gl.glGetAttribLocation(program, name);
440 return context->hooks->gl.glGetUniformLocation(program, name);
652 context->hooks->gl.glGetVertexAttribPointerv(index, GL_VERTEX_ATTRIB_ARRAY_POINTER, &ptr);

Completed in 1691 milliseconds