summaryrefslogtreecommitdiff
path: root/wrappers/egltrace.py
AgeCommit message (Collapse)AuthorFilesLines
2016-06-30egltrace: Don't intercept dlopen calls done by EGL/GL/GLES implementation.Jose Fonseca1-67/+0
Certain EGL implementations do this.
2016-04-04helpers: rename glprofile to glfeatures.Jose Fonseca1-2/+2
This module will have more than just description of OpenGL profiles, but actual features.
2016-01-07docs: Rename Dalvik -> Android.Jose Fonseca1-3/+3
As it seems Dalvik use has been discontinued. [ci skip]
2015-05-29egltrace: Warn instead of assert on GL API mismatch.Jose Fonseca1-23/+25
Some OpenGL ES implementions end up being just a thin veil on top of desktop OpenGL. Fixes #341.
2015-01-24specs: Merge GLES functions into glapi.py.Jose Fonseca1-2/+0
Matches gl.xml.
2015-01-05gltrace: Always determine the context profile from GL_VERSION.José Fonseca1-8/+13
This fixes tracing with GLX/WGL_EXT_create_context_es_profile.
2015-01-05gltrace: Use glprofile::Profile when tracing.José Fonseca1-3/+3
Less duplication, and hopefully more future proof.
2014-10-23egltrace: Workaround for issue while tracing SDL+EGL.José Fonseca1-0/+8
Issue #291.
2014-02-28egltrace: Drop debug.apitrace.procname support.José Fonseca1-1/+1
As suggested by Alexander Monakov, given it is no longer necessary with Android 4.0 onwards. Also remove all isTracingEnabled logic with it, simplifying code substantially, and addressing issue #171.
2013-06-12gltrace: Also use dlopen.hpp for glxtrace.José Fonseca1-1/+1
2013-05-10glxtrace: Basic EXT_texture_from_pixmap support.José Fonseca1-12/+0
Make EXT_texture_from_pixmap traces replayable, by emitting a fake glTexImage2D calls on glXBindTexImageEXT calls.
2013-05-04Implement interposing of dlopen on AndroidAlexander Monakov1-30/+2
Consolidate all implementations of unredirected dlopen in one place. Use unredirected dlopen is glproc_egl.cpp as done in glproc_gl.cpp. Check that tracing is enabled before redirecting dlopen. Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
2012-11-11specs: Allow an API to spread across multiple modules.José Fonseca1-4/+6
2012-08-05Merge branch 'egl-image'José Fonseca1-0/+28
Conflicts: wrappers/egltrace.py
2012-08-02Recognize for context creation/destruction/binding functions (issue #90).José Fonseca1-0/+1
Thanks to gregory38 for spotting this.
2012-08-02Emit a fake glTexImage for glEGLImageTargetTexture2DOES.José Fonseca1-20/+28
2012-08-02egl: EGL image trace supportImre Deak1-0/+22
Getting the dimension / format of EGL images is not straitghforward. One way to get these would be through glGetTexLevelParameter, but it's not supported by GLES. Another way is to attach the EGL image to a renderbuffer and call glGetRenderbufferParameter on it, but at least mesa doesn't support attaching images in RGBA_REV format. And that format happens to be an important one in applications we care about (like the Android browser). We could also check the parameters of the underlying native buffer, but these are not exposed through any API (for either Xpixmaps or Android native buffers) So the only way I found is to try a non-destructive glCopyTexSubImage2D with sizes starting from GL_MAX_TEXTURE_SIZE down to 1 and determine the correct size based on whether this returns an error or not. Signed-off-by: Imre Deak <imre.deak@intel.com>
2012-07-11Eliminate destroyContext.José Fonseca1-2/+3
Same as releaseContext.
2012-05-23mt trace: egl: track GL context on a per-thread basisImre Deak1-0/+10
Wrap EGL context handling calls and keep our own per-thread basis track of the context object. Signed-off-by: Imre Deak <imre.deak@intel.com>
2012-05-23check for error in eglMakeCurrent wrapperImre Deak1-12/+14
In case of error we shouldn't update our book-keeping. Signed-off-by: Imre Deak <imre.deak@intel.com>
2012-05-17Export undocumented Android gl*PointerBounds entrypoints.José Fonseca1-0/+60
Used in Dalvik.
2012-04-19Don't abuse double-underscore prefix.José Fonseca1-8/+8
To avoid conflicts, as C++ standard reserved them for system libraries.
2012-04-15Factor the proc address wrapping into gltrace.pyJosé Fonseca1-27/+7
2012-04-14Move tracers to wrappers subdirectory.José Fonseca1-0/+199