aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse
Commit message (Collapse)AuthorAgeFilesLines
* Move gldebugger tests to separate tests plugin.Siva Velusamy2011-09-069-10/+56
| | | | Change-Id: I0f1d353c3d5cbd3c21c529472a42d9e8123f909d
* Rename package to com.android.ide.eclipse.gldebugger.Siva Velusamy2011-09-0623-117/+120
| | | | Change-Id: Id9030afeb13eac4fd725c27f19593cd9218fb369
* Remove @Override's.Siva Velusamy2011-09-067-195/+161
| | | | | | | Update sources to compile with Java 1.5. The plugin should build now, except for the tests folder. Change-Id: I07cafdd40056705e9d24f444c054fe85f9e5e152
* Add create dependencies script for gldebugger.Siva Velusamy2011-09-069-103/+89
| | | | | | | | | | | | Move common code from ddms & hierarchy viewer scripts into common_setup.sh, and reuse the same code in create_gldebugger_symlinks. The script copies/soft-links all required dependencies into the libs folder. Update gldebugger project meta data to pick up dependencies from the libs folder. Change-Id: I0c9ccaf01ee43168f6b94bf85b2f42b5fc08ffec
* GLES2Dbg: more tests and minor fixes/improvementsDavid Li2011-09-0610-71/+256
| | | | | 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-0611-272/+235
| | | | | | | 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-0617-811/+812
| | | | 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-0611-305/+634
| | | | | | | | 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-0616-428/+2547
| | | | | | 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-0610-184/+681
| | | | | | | | 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>
* Merge "GLES2Dbg: improve protocol and error check after shader upload"Siva Velusamy2011-09-065-157/+253
|\
| * GLES2Dbg: improve protocol and error check after shader uploadDavid Li2011-09-025-157/+253
| | | | | | | | Signed-off-by: David Li <davidxli@google.com>
* | Merge "GLES2Dbg: implemented shader tracking and editing"Siva Velusamy2011-09-069-32/+528
|\ \ | |/
| * 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>
* | Merge "GLES2Dbg: use 256KB chunks for lzf compression"Siva Velusamy2011-09-063-17/+44
|\ \ | |/
| * 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>
* | Merge "GLES2Dbg: implemented MessageParser"Siva Velusamy2011-09-065-45/+1396
|\ \ | |/
| * GLES2Dbg: implemented MessageParserDavid Li2011-09-025-45/+1396
| | | | | | | | | | | | To allow user to input GL function call Signed-off-by: David Li <davidxli@google.com>
* | Merge "GLES2Dbg: added SETPROP expectResponse"Siva Velusamy2011-09-068-11/+195
|\ \ | |/
| * GLES2Dbg: added SETPROP expectResponseDavid Li2011-09-028-11/+195
| | | | | | | | | | | | | | | | | | 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>
* | Merge "GLES2Dbg: change TableViewer to ListViewer"Siva Velusamy2011-09-062-133/+45
|\ \ | |/
| * GLES2Dbg: change TableViewer to ListViewerDavid Li2011-09-022-133/+45
| | | | | | | | | | | | For much faster scrolling Signed-off-by: David Li <davidxli@google.com>
* | Merge "GLES2Dbg: added reference frame for glReadPixels"Siva Velusamy2011-09-066-85/+295
|\ \ | |/
| * GLES2Dbg: added reference frame for glReadPixelsDavid Li2011-09-026-85/+295
| | | | | | | | | | Change-Id: I9b74a2eaf3a0e15ff3e7addbca168acc1c9b2f44 Signed-off-by: David Li <davidxli@google.com>
* | Merge "GLES2Dbg: use liblzf for compressing images"Siva Velusamy2011-09-068-37/+34
|\ \ | |/
| * GLES2Dbg: use liblzf for compressing imagesDavid Li2011-09-028-37/+34
| | | | | | | | | | | | liblzf is in external/liblzf Signed-off-by: David Li <davidxli@google.com>
* | Merge "GLES2Dbg: Remove spurious execute file permissions."Siva Velusamy2011-09-067-0/+0
|\ \ | |/
| * GLES2Dbg: Remove spurious execute file permissions.Jamie Gennis2011-09-027-0/+0
| | | | | | | | | | This change is just a chmod -x of some files that shouldn't aren't executable.
* | Merge "GLES2Dbg: Make command exchange async to improve performance."Siva Velusamy2011-09-064-76/+88
|\ \ | |/
| * 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>
* | Merge "GLES2Dbg: Added state tracking and vertex data capturing."Siva Velusamy2011-09-066-78/+608
|\ \ | |/
| * 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>
* | Merge "GLES2Dbg: Initial commit of OpenGL ES 2.0 Debugger Client"Siva Velusamy2011-09-0621-0/+4326
|\ \ | |/
| * GLES2Dbg: Initial commit of OpenGL ES 2.0 Debugger ClientDavid Li2011-09-0221-0/+4326
| | | | | | | | | | | | | | | | | | 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>
* | Merge "Add GridLayout support to the ChangeLayout refactoring"Tor Norbye2011-09-0610-17/+1032
|\ \
| * | Add GridLayout support to the ChangeLayout refactoringTor Norbye2011-09-0210-17/+1032
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds a generic-to-GridLayout converter to the "Change Layout" refactoring. The converter arranges the views into a grid based on their bounds, uses the sizes to determine row and column spans, and then writes this out as the resulting grid. Note that it does not yet consider existing layout knowledge to add better constraints, such as gravity, or arranging vertically overlapping views in a horizontal row into a same shared row. Change-Id: I78e5fdf49d9e2a838a7229e2e31aa62e190032ad
* | | Eliminate GEF dependencyTor Norbye2011-09-026-19/+14
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ADT used to depend on GEF (the Graphical Editing Framework in Eclipse), but with GLE2 it no longer does. However, there were still a couple of references left to GEF (a javadoc reference, some usages of its Rectangle class, and a reference in the manifest). Not all Eclipse distributions ship with GEF, which means some users get a missing dependency error which is not immediately obvious to those not familiar with Eclipse libraries. Since we don't depend on GEF for anything important, eliminate the last dependencies. Change-Id: I5d1e11a195da496dc10c10fc7865df7e4d183629
* | Merge "Change CRLF to LF and remove execute permissions on source files"Tor Norbye2011-09-027-813/+813
|\ \
| * | Change CRLF to LF and remove execute permissions on source filesTor Norbye2011-09-027-813/+813
| |/ | | | | | | Change-Id: I8b2504b116c33100d702f5d910b5625d3a089b0f
* | Escape string in "extract string" refactoringMichael Zoech2011-09-022-17/+117
|/ | | | | | | | | | | | | When executing the "extract string" refactoring only single and double quotes are escaped correctly. This patch for the bug #19612 improves the method by escaping the following characters: * Spaces at beginning or end of string. * @, ? at beginning of string. * ', ", \, <, &, \n, \t anywhere in string. Change-Id: Ia2939213bd5460399dc5e19f5ce413c3f5812ea8
* Clean up layout and menu file scanning codeTor Norbye2011-09-0211-139/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset fixes some issues around the new lazy scanning of layout and menu files. First, it partly fixes "19657: AAPT errors aren't shown when adding an error to a valid XML file". With the new optimization of not running aapt on layout files where no ids have changed, we would no longer pick up changes where an invalid or nonexistent resource is added. We now perform some basic validation of resources as well as XML parsing errors. Second, it fixes a bug in the id before and after comparison used to determine if aapt needs to run: The code would call map.keySet() before and after the ids were added, but this resolved to the same keyset so the equals comparison was always true regardless of the content. Third, it fixes an infinite loop issue with library projects, and avoids doing unnecessary classpath modifications when there are no changed projects. Finally, it changes the "needsId" flag. The state of whether aapt needs to be run was stored per repository, and there is a bug where it does not get cleared properly which can yield a compilation loop. This changeset introduces a new "ScanningContext" object which is passed down to the various resource file updater methods. This context object now holds the needsId state object (which is renamed to "needsFullAapt"), and it is also the object where errors can be registered. Change-Id: I5632612c2d93e2f10f0803e9223921adb67602be
* Merge "Always reset the must-compile-res flag when aapt is run."Xavier Ducrohet2011-09-021-12/+4
|\
| * Always reset the must-compile-res flag when aapt is run.Xavier Ducrohet2011-09-021-12/+4
| | | | | | | | Change-Id: If526a8cf29399b85f98b39c7e7a2acf0ff8c6bbe
* | Merge "Disable post compiler for normal projects only."Xavier Ducrohet2011-09-021-12/+12
|\ \
| * | Disable post compiler for normal projects only.Xavier Ducrohet2011-09-011-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | The post compiler disabling shouldn't affect library projects. Those still need to generate their jar file. They don't run dex, aapt not apkbuilder anyway. Change-Id: I7c97e5d6a2ff5f3e05c60ee1dc3b5986afde2bd6