History log of /frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
575e01c6c767274a9581e07290aa41e928c643eb 14-Sep-2011 Mathias Agopian <mathias@google.com> fix EGL debugger

always use GL_RGBA, GL_UNSIGNED_BYTE for screen capture
and make sure to handle GL_BGRA_EXT used on some gpu.

Change-Id: If9c973677fec8a5c4e72be22e7ef7d4bf5f008f4
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
4222092bd5650aa353caad4ef67689498564e592 02-Sep-2011 Mathias Agopian <mathias@google.com> fix another bug that prevented the gl debugger to work

we didn't set the debug tls properly

Change-Id: Iad9cc5b5d230a8eb7f680c4b70925c5e43e73051
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
7adf4ef0fad9973d9a07f2a73b2c4238c8e6bf7c 14-May-2011 Mathias Agopian <mathias@google.com> refactor EGL source code

no changes is functionality. split various objects into their own files.
make egl_display objec's lock internal.
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
31918ccae9341bca169c58035482c68de2d27e22 16-Apr-2011 David Li <davidxli@google.com> GLES2Dbg: send some GL implementation constants to client

Change-Id: Ic6c51c09b1c3d2e1e1a28c6ed552714c3243827c
Signed-off-by: David Li <davidxli@google.com>
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
e9f619f03b0e98d1ff7ff0d7333fb502ec5bc54b 14-Apr-2011 David Li <davidxli@google.com> GLES2Dbg: initial tests

Change-Id: Ibf07eff68d39267fd5c9bec2870f59a5ae2f51e3
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
e7180e8644caf96a166ed71dd8da877fc8b72047 09-Apr-2011 David Li <davidxli@google.com> GLES2Dbg: added CaptureDraw and CaptureSwap options

CaptureDraw specifies how many glDrawArrays/Elements to glReadPixel
CaptureSwap similarly applies to eglSwapBuffers

Change-Id: Ie7a7e3392b4ecdc0659dcee04f4bab97c35267dc
Signed-off-by: David Li <davidxli@google.com>
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
27f130a292683278b721399341d7c4e36009ec8b 09-Apr-2011 David Li <davidxli@google.com> GLES2Dbg: use dump.gles2dbg file when fails to create socket

setprop debug.egl.debug_forceUseFile 1: always use file
setprop debug.egl.debug_maxFileSize <int MB>: exit when reached
setprop debug.egl.debug_filePath <path>: may need to make the file
writable first.
setprop debug.egl.debug_port <unsigned short>
setprop debug.egl.debug_proc <proc cmdline>: to match debuggee process

Change-Id: I34ca1f3092f3abf17e2ded9d1689d0cdef6e07e8
Signed-off-by: David Li <davidxli@google.com>
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
e2ad4d0e3748c2f0180d24d1b3468aac79adac3a 09-Apr-2011 David Li <davidxli@google.com> GLES2Dbg: add EXTEND_AFTER_CALL_Debug_* macro and improve protocol

To allow auto generate of Debug_glReadPixels function.
Also added AfterGeneratedCall messag type, and client override
of expectResponse for improving protocol.
Also implemented callers for client to get shader/program iv & infolog

Change-Id: I8426de0be4b7ffcb8b2b4f063ad85d19a9d2d72e
Signed-off-by: David Li <davidxli@google.com>
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
ce30eb8a90a1ac458e15e773057a8a73b0918ae6 28-Mar-2011 David Li <davidxli@google.com> GLES2Dbg: change GLES2_dbg to shared library

Change-Id: I493e9bff431bd939f4e80e1e9c614dd557307fa2
Signed-off-by: David Li <davidxli@google.com>
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
cbe4e5e5ab59adc107373ad52af8bd490000b75c 23-Mar-2011 David Li <davidxli@google.com> GLES2Dbg: use 256KB chunks for lzf compression

Data format is uint32_t totalDecompressedSize, then repeat:
uint32_t chunkDecompressedSize, chunkCompressedSize, chunk data.
If chunkCompressedSize == 0, then chunk is not compressed.

Also start fixing integer sizes on server.
On client, set endianness to match server.

Change-Id: I0d5afa16976ea6019b91c4e21d284605da7e135e
Signed-off-by: David Li <davidxli@google.com>
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
fbfc703c6e77e3441d8833644278a5a79f3ca8e3 22-Mar-2011 David Li <davidxli@google.com> GLES2Dbg: added SETPROP expectResponse

to allow "stepping" in functions.
Also fix bug in reference frame.

Change-Id: Ia33620eaf2c5f4e615f7aad2df277b6afc617060
Signed-off-by: David Li <davidxli@google.com>
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
f9bc124cfedfed6f1eb9488355576e28a93ab252 23-Mar-2011 David Li <davidxli@google.com> GLES2Dbg: added reference frame for glReadPixels

Change-Id: I37398d8d835e54a1764dfabd617fdc2c640864c2
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
6a5ca485d10a283eb3b21152d53c74ee629f5db9 21-Mar-2011 David Li <davidxli@google.com> GLES2Dbg: use libLZF for compressing images

liblzf is in external/liblzf, it's BSD-type licence (optionally GPL2)

Change-Id: Idc7883fe2155f366cda384e64796a1493335ae4f
Signed-off-by: David Li <davidxli@google.com>
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
940c3f8b3605a2ea8c4bdd4607eff67db2e00cfc 11-Mar-2011 David Li <davidxli@google.com> GLES2Debugger: Make command exchange async to improve performance.

In message loop, use select to check for available commands from client,
rather than always expecting commands in eglSwapBuffers.

Change-Id: Ifc34dd77c2528c8b9c71f594e3eda4f93400cd2b
Signed-off-by: David Li <davidxli@google.com>
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp
5c425f2eafc3d63e475153586edcf12eb6348aad 11-Mar-2011 David Li <davidxli@google.com> GLES2Debugger: Added DbgContext and vertex data capturing.

Send VBO related commands to client, which tracks the state.
Maintain index buffer content and vertex attrib pointer/buffer state on server.
During glDrawArrays/Elements, send user memory data to client.

Change-Id: Ia920e90479329b301ae4b5735e833eeb20293c94
Signed-off-by: David Li <davidxli@google.com>
/frameworks/base/opengl/libs/GLES2_dbg/src/dbgcontext.cpp