aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/glesv2debugger
Commit message (Collapse)AuthorAgeFilesLines
* Rename package to com.android.ide.eclipse.gldebugger.Siva Velusamy2011-09-0618-10066/+0
| | | | Change-Id: Id9030afeb13eac4fd725c27f19593cd9218fb369
* Remove @Override's.Siva Velusamy2011-09-066-194/+160
| | | | | | | Update sources to compile with Java 1.5. The plugin should build now, except for the tests folder. Change-Id: I07cafdd40056705e9d24f444c054fe85f9e5e152
* GLES2Dbg: more tests and minor fixes/improvementsDavid Li2011-09-066-59/+68
| | | | | Change-Id: I24adaad3c96d62a23570d05be66a9e20b7643223 Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: use GL implementation constants sent from serverDavid Li2011-09-066-37/+85
| | | | Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: initial testsDavid Li2011-09-066-203/+47
| | | | | | | Also remove GLFunction enum, since the enums already exist in DebuggerMessage.Function Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: noop - camelCase function namesDavid Li2011-09-0615-774/+775
| | | | Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: generate Android.mk and main functionDavid Li2011-09-061-5/+169
| | | | Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: reconstruct vertex attributes to match indicesDavid Li2011-09-0610-305/+628
| | | | | | | | Rather than converting glDrawElements into glDrawArrays and uploading all attributes each draw call. Also added CaptureDraw and CaptureSwap options. Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: cache Messages to RandomAccessFileDavid Li2011-09-067-143/+303
| | | | | | -Load and format Message when the frame is selected to save memory. Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: code gen for frameDavid Li2011-09-0614-380/+2475
| | | | | | Also loading *.gles2dbg dump files. Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: organize calls into frames and contextsDavid Li2011-09-068-323/+886
| | | | | | | | | Maintain a current state for each context updated by each call. eglSwapBuffers Begins a new frame; clone current state. Use clone to compute context for a call within that frame later on, in the context tree view. Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: add more state tracking and snapshot of state per GL callDavid Li2011-09-067-180/+674
| | | | | | | | Use TreeView and Reflection to display the states per GL call. Need to implement more state cloning and tacking. Prepare to group calls by frame, and clone the context for each frame. Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: use mesa glsl_compiler for syntax checkingDavid Li2011-09-064-75/+130
| | | | | | Also switch to TabFolder for GUI Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: improve protocol and error check after shader uploadDavid Li2011-09-024-145/+241
| | | | Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: implemented shader tracking and editingDavid Li2011-09-029-32/+528
| | | | | | | Next commit is improving the protocol and checking errors after shader upload Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: use 256KB chunks for lzf compressionDavid Li2011-09-023-17/+44
| | | | | | | | | | | Data format is u32 totalDecompressedSize, then repeat: u32 chunkDecompressedSize, u32 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. Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: implemented MessageParserDavid Li2011-09-024-45/+1104
| | | | | | To allow user to input GL function call Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: added SETPROP expectResponseDavid Li2011-09-027-10/+186
| | | | | | | | | To allow "stepping" in functions. Also fix bug in reference frame. Use reference frame for CopyTex(Sub)Image2D. Change-Id: If5ef32ba97a6cf5bc43162dc41cf62c6494d2093 Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: change TableViewer to ListViewerDavid Li2011-09-022-133/+45
| | | | | | For much faster scrolling Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: added reference frame for glReadPixelsDavid Li2011-09-026-85/+295
| | | | | Change-Id: I9b74a2eaf3a0e15ff3e7addbca168acc1c9b2f44 Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: use liblzf for compressing imagesDavid Li2011-09-024-35/+29
| | | | | | liblzf is in external/liblzf Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: Remove spurious execute file permissions.Jamie Gennis2011-09-022-0/+0
| | | | | This change is just a chmod -x of some files that shouldn't aren't executable.
* GLES2Dbg: Make command exchange async to improve performance.David Li2011-09-024-76/+88
| | | | | | | | In message loop, use select to check for available commands from client, rather than always expecting commands in eglSwapBuffers. Client can send commands at any time. Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: Added state tracking and vertex data capturing.David Li2011-09-026-78/+608
| | | | | Change-Id: Iaf56a52240b84fef5689a03f96d613349a492b43 Signed-off-by: David Li <davidxli@google.com>
* GLES2Dbg: Initial commit of OpenGL ES 2.0 Debugger ClientDavid Li2011-09-029-0/+3832
Displays GL call parameters, textures, screen captures and shader source. Server code is in frameworks/base/opengl/libs/GLES2_dbg. Protobuf code is generated using generate_debugger_message_proto.py in server code. Change-Id: Idf86af2b4087497ff723953a3fd0889f79c2e116 Signed-off-by: David Li <davidxli@google.com>