Home
last modified time | relevance | path

Searched refs:GLTraceContext (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_context.cpp38 GLTraceContext *getGLTraceContext() { in getGLTraceContext()
39 return (GLTraceContext*) pthread_getspecific(sTLSKey); in getGLTraceContext()
42 void setGLTraceContext(GLTraceContext *c) { in setGLTraceContext()
46 void setupTraceContextThreadSpecific(GLTraceContext *context) { in setupTraceContextThreadSpecific()
52 GLTraceContext *c = getGLTraceContext(); in releaseContext()
117 GLTraceContext *GLTraceState::createTraceContext(int version, EGLContext eglContext) { in createTraceContext()
122 GLTraceContext *traceContext = new GLTraceContext(id, version, this, stream); in createTraceContext()
128 GLTraceContext *GLTraceState::getTraceContext(EGLContext c) { in getTraceContext()
132 GLTraceContext::GLTraceContext(int id, int version, GLTraceState *state, in GLTraceContext() function in android::gltrace::GLTraceContext
147 int GLTraceContext::getId() { in getId()
[all …]
Dgltrace_context.h51 class GLTraceContext {
75 GLTraceContext(int id, int version, GLTraceState *state, BufferedOutputStream *stream);
98 std::map<EGLContext, GLTraceContext*> mPerContextState;
114 GLTraceContext *createTraceContext(int version, EGLContext c);
115 GLTraceContext *getTraceContext(EGLContext c);
130 void setupTraceContextThreadSpecific(GLTraceContext *context);
131 GLTraceContext *getGLTraceContext();
Dgltrace_fixup.cpp32 GLint glGetInteger(GLTraceContext *context, GLenum param) { in glGetInteger()
38 GLint glGetVertexAttrib(GLTraceContext *context, GLuint index, GLenum pname) { in glGetVertexAttrib()
44 bool isUsingPixelBuffers(GLTraceContext *context) { in isUsingPixelBuffers()
51 bool isUsingArrayBuffers(GLTraceContext *context) { in isUsingArrayBuffers()
55 bool isUsingElementArrayBuffers(GLTraceContext *context) { in isUsingElementArrayBuffers()
174 void fixup_addFBContents(GLTraceContext *context, GLMessage *glmsg, FBBinding fbToRead) { in fixup_addFBContents()
186 void fixup_glTexImage(GLTraceContext *context, int widthIndex, int heightIndex, GLMessage *glmsg, in fixup_glTexImage()
216 void fixup_glTexImage2D(GLTraceContext *context, GLMessage *glmsg, void *pointersToFixup[]) { in fixup_glTexImage2D()
232 void fixup_glTexSubImage2D(GLTraceContext *context, GLMessage *glmsg, void *pointersToFixup[]) { in fixup_glTexSubImage2D()
249 void fixup_glCompressedTexImage2D(GLTraceContext *context, GLMessage *glmsg, in fixup_glCompressedTexImage2D()
[all …]
Dgltrace_api.cpp34 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_glActiveTexture()
62 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_glAttachShader()
96 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_glBindAttribLocation()
137 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_glBindBuffer()
171 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_glBindFramebuffer()
205 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_glBindRenderbuffer()
239 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_glBindTexture()
273 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_glBlendColor()
319 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_glBlendEquation()
347 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_glBlendEquationSeparate()
[all …]
Dgltrace_egl.cpp30 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_eglCreateContext()
56 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_eglMakeCurrent()
76 GLTraceContext *glContext = getGLTraceContext(); in GLTrace_eglSwapBuffers()
Dgltrace_fixup.h28 void fixupGLMessage(GLTraceContext *curContext, nsecs_t wallStart, nsecs_t wallEnd,
31 void fixup_addFBContents(GLTraceContext *curContext, GLMessage *message, FBBinding fbToRead);
Dgltrace_eglapi.cpp33 using gltrace::GLTraceContext;
170 GLTraceContext *traceContext = state->createTraceContext(version, c); in GLTrace_eglCreateContext()
185 GLTraceContext *traceContext = state->getTraceContext(c); in GLTrace_eglMakeCurrent()