Age | Commit message (Collapse) | Author | Files | Lines |
|
Certain EGL implementations do this.
|
|
This module will have more than just description of OpenGL profiles, but
actual features.
|
|
As it seems Dalvik use has been discontinued.
[ci skip]
|
|
Some OpenGL ES implementions end up being just a thin veil on top of
desktop OpenGL.
Fixes #341.
|
|
Matches gl.xml.
|
|
This fixes tracing with GLX/WGL_EXT_create_context_es_profile.
|
|
Less duplication, and hopefully more future proof.
|
|
Issue #291.
|
|
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.
|
|
|
|
Make EXT_texture_from_pixmap traces replayable, by emitting a fake
glTexImage2D calls on glXBindTexImageEXT calls.
|
|
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>
|
|
|
|
Conflicts:
wrappers/egltrace.py
|
|
Thanks to gregory38 for spotting this.
|
|
|
|
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>
|
|
Same as releaseContext.
|
|
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>
|
|
In case of error we shouldn't update our book-keeping.
Signed-off-by: Imre Deak <imre.deak@intel.com>
|
|
Used in Dalvik.
|
|
To avoid conflicts, as C++ standard reserved them for system libraries.
|
|
|
|
|