aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.gldebugger
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "gltrace: Improve font width detection."Siva Velusamy2012-08-172-3/+7
|\ \
| * | gltrace: Improve font width detection.Siva Velusamy2012-08-162-3/+7
| | | | | | | | | | | | | | | | | | | | | Set a floor value for font width when used to determine how wide widgets should be. Change-Id: I3b7f1e75051032e9e234c92360903c161d233832
* | | Merge "gltrace: Draw a border around image displayed in canvas."Siva Velusamy2012-08-171-1/+13
|\ \ \ | |/ /
| * | gltrace: Draw a border around image displayed in canvas.Siva Velusamy2012-08-151-1/+13
| | | | | | | | | | | | | | | | | | Helps frame the image when the image is mostly transparent. Change-Id: I933247e6ee4b634ecfe26c3dea2408d57f930047
* | | Merge "gltrace: Default to displaying texture mipmap level 0."Siva Velusamy2012-08-171-10/+48
|\ \ \ | |/ /
| * | gltrace: Default to displaying texture mipmap level 0.Siva Velusamy2012-08-151-10/+48
| |/ | | | | | | | | | | | | | | | | | | | | | | Textures can have multiple mipmap levels. To view the uploaded texture requires that you explicitly select a particular mipmap level. However, in many cases, there is only 1 level (level 0). In such cases, rather than having to drill down the hierarchy and then select mipmap 0 to view the texture, this CL allows just selecting the texture to trigger a display of the zeroth mipmap if it is available. Change-Id: I9f7f8f10f99945377c6cb7dfab19db75cea383e0
* | gltrace: open trace file immediately after captureSiva Velusamy2012-08-157-46/+197
|/ | | | | | | | | | | - Automatically open the trace file after trace has been captured rather than user having to manually open it. - If the file is already open, then the editor needs to be able to just update its internal model. Likewise for all the associated views (Details, State and Summary views). - Fix a few NPE's that may occur if the trace file is invalid. Change-Id: I2c311bdd93fe4214fa2ebfbc49ff40f7cb5c2170
* Remove older gldebugger implementation.Siva Velusamy2012-08-1435-9360/+15
| | | | Change-Id: I3eff6c3710a7bb642619876a8f3f728e08fead6f
* gltrace: restore checkbox settings between invocationsSiva Velusamy2012-08-141-10/+10
| | | | Change-Id: Ic910902519eed907a184f5f808aa2aabaa558fa9
* gltrace: Skip framebuffers that cannot be retrieved.Siva Velusamy2012-08-141-2/+19
| | | | | | | | Rather than failing to parse the entire file, just ignore the fb image if it can't be parsed. This should allow viewing the rest of the data in the trace except for just the image. Change-Id: I0d875cf45e09a29022b5b9a18d33601bb92225a5
* Cleanup dos2unix in plugins *.java (ADT, GLd, NDK)Raphael Moll2012-08-071-130/+130
| | | | Change-Id: Ic54d7e5b77bf6912b54855c5b30d8fcf790ff311
* ADT 20.0.0 => 21.0.0 devTor Norbye2012-07-301-1/+1
| | | | Change-Id: Idde24b6b893d1029d48ba32766110a6a3cdf73c6
* Update name to Tracer for OpenGL ESSiva Velusamy2012-06-221-1/+1
| | | | Change-Id: I466e06ce0e6263f1f6f84da8b7f21c467ad97234
* Add Tracer for OpenGL ES perspective to ADT external siteSiva Velusamy2012-06-221-3/+3
| | | | Change-Id: I8e7a89de35dcd026ebd7c7312d73f4a331dc85c7
* gltrace: cleanup collect trace flowSiva Velusamy2012-06-143-27/+132
| | | | | | | | | | | | | | | | This CL improves the initial flow to obtain the trace options from the user and launch the application in trace mode. - A separate text box is provided if a non-default activity should be launched for tracing. - If that application to trace is already running, it needs to be killed before starting it in trace mode. The tracer will now wait (upto a timeout value) until it detects that the application was killed before launching it in trace mode. - Similarly, the tracer waits until it knows that the app has launched before attempting to connect to it. - Checks if device is at API level 16. Change-Id: Iea5be6d76b6e78ea68a05b893aef993099363555
* Provide readable device name rather than just serial numberSiva Velusamy2012-06-132-12/+3
| | | | | | | | | | | | | | | | | There are a number of places where we need to display a device name. Currently, DDMS shows the serial number + manufacturer/model if available, but in other instances, we just show the serial number. This CL provides a getName() method in the IDevice interface so that all the locations which require a human readable name can use this. The name is typically of the form manufacturer-model-serial. If the manufacturer/model strings are not available, then those fields are omitted, so it will show just the serial number. Change-Id: I80ef7b48a4c7c8587042c1227c932251e18dba2e
* Merge "Minor UI cleanup to trace options dialog"Siva Velusamy2012-06-121-9/+39
|\
| * Minor UI cleanup to trace options dialogSiva Velusamy2012-06-121-9/+39
| | | | | | | | | | | | | | | | - Fix default message shown for activity - Make trace file path text editable - Save/Restore last used device Change-Id: I762a054e16c8ac5418375a5ac2086add7f631e45
* | Find Dialog: allow control over the default action.Siva Velusamy2012-06-081-1/+3
|/ | | | | | | | | | This CL allows the default action to be either of the "Find Next" or the "Find Previous" buttons in the find dialog. Typically, in logcat you want to find previous, while in gltrace view you want to find next. Change-Id: Ie11cbd8a7987b8011ec2ee3664034e9ecfc4e24b
* gltrace: Add support for mipmap texturesSiva Velusamy2012-06-066-20/+80
| | | | Change-Id: I39782b06d6ebbfdde55cc76ed3c09424fef3dcda
* gltrace: Add support for Copy, Select All and Find actions.Siva Velusamy2012-06-052-1/+111
| | | | Change-Id: Iccf4150b48eb2910a47d1c4bf31e3b3252e20628
* Merge "gltrace: Add a special keyword to not launch any activities."Siva Velusamy2012-06-011-2/+7
|\
| * gltrace: Add a special keyword to not launch any activities.Siva Velusamy2012-06-011-2/+7
| | | | | | | | | | | | This is a hack to allow tracing of processes like surfaceflinger. Change-Id: I4b542ac95487ed2488796944c98d2d317c3ee428
* | Fix warningsTor Norbye2012-06-011-0/+5
|/ | | | | | | | | | | | | | | | | First, update our various project-specific Eclipse compiler settings configuration files to include the new Eclipse 4 flags. Second, turn off the "Unchecked conversion from non-annotated type to @NonNull" warnings; there are hundreds or thousands of these, and there isn't much we can do about them when they're coming from platform and library APIs. Third, make the lint projects warning-clean again by addressing various warnings Eclipse found (such as some unclosed resources and some null handling issues; yesterday's null annotation fixes only addressed errors, not warnings.) Change-Id: If75f7401a1cbeef1bf58b47ccaa9ad17bede7f91
* gltrace: Update trace control protocol.Siva Velusamy2012-05-161-0/+3
| | | | | | | The trace control protocol requires that the size of the command be sent before the command itself. Change-Id: I75aa26289fcdb8cd23e1ee3a8a088b85599e186c
* gltrace: Kill app manually instead of using am start -SSiva Velusamy2012-05-141-1/+11
| | | | Change-Id: I5a0ec359145e815a2437ef766843d2cb5267c795
* Fix incorrect transformations for glBufferSubDataSiva Velusamy2012-05-142-4/+9
| | | | Change-Id: I8b78a7df6cd2e40d19ff811ced3e0e7cbe3298c6
* gldebugger: Check for zero sized framebufferSiva Velusamy2012-05-101-1/+14
| | | | Change-Id: Ic6e98ddf98ec212eaff273177c0910456b9dba9e
* Move tools to r20Xavier Ducrohet2012-04-131-1/+1
| | | | Change-Id: I3877a7418da193cbe3759f25daafa3309bb8c05a
* Add JDK 6 dependency for the ADT pluginsTor Norbye2012-04-091-0/+1
| | | | Change-Id: I8335bf7d72af4184d505826dc1024a3dde3b67b6
* Rename the eclipse projects to group them together.Xavier Ducrohet2012-04-051-1/+1
| | | | Change-Id: Ia7ceed6297048779b9d591a518c2ae3c8cbfe60c
* Add base pluginSiva Velusamy2012-03-302-8/+4
| | | | | | | | | | | | Add a plugin that is contains libraries and other utilities common to both ADT/Eclipse plugins and RCP applications like monitor. Currently, it contains: - libraries: common, sdkstats, androidprefs & sdklib. - prebuilts: guava Change-Id: I982a6897fa73c5ba8c282bc2fba4b1e66b4e2ecd
* Move tools and ADT to 19.Xavier Ducrohet2012-03-291-1/+1
| | | | Change-Id: I3906416a7b5a4bf7b7e2f86ee3155c22d93a3c2b
* gltrace: Launch activity using am start --opengl-traceSiva Velusamy2012-03-121-41/+34
| | | | | | | | | This patch changes the way the app is launched for OpenGL Tracing to use the newly added --opengl-trace option to am start. It also makes sure that any errors that occur during launching are reported back to the user. Change-Id: I0fc308f7309b79ec33096678d4d33077a59724f0
* gltrace: Display state transformation errors in a console.Siva Velusamy2012-03-0617-35/+185
| | | | | | | | | This patch adds a Eclipse Message Console for GLTrace View. Errors that occur during creation of state transformations, and during application of these transformations are displayed in this console. Change-Id: If8686217f7809efeea39d088d70ab665af674930
* gltrace: Add support for glVertexAttribPointerData() calls.Siva Velusamy2012-02-298-94/+213
| | | | | | | | This patch adds initial support for glVertexAttribPointerData() calls. A detail provider for this call displays the vertex attributes that were actually sent at the time of glVertexAttribPointer() call. Change-Id: I79fe961ce1dcc15c4601ec213d09625986775ae5
* gltrace: Add support for VBO'sSiva Velusamy2012-02-279-2/+535
| | | | | | | | | | | Add support for Vertex Buffer Object operations: - Add VBO state - Add transforms for VBO operations: glGenBuffers, glDeleteBuffers, glBufferData & glBufferSubData - Add details provider that can display the buffer data in a bunch of different formats. Change-Id: I30fe1b0924f180ba40fca04a8a4dd53357cc6a7e
* gltrace: Add support for generic vertex attributes.Siva Velusamy2012-02-223-5/+181
| | | | Change-Id: I6eec29a0f48291324178d9e419cc10013274e0ff
* gltrace: Add a GLCall detail provider.Siva Velusamy2012-02-2112-29/+181
| | | | | | | | | | | | The following changes are performed in this CL: - The details view is moved into the views.detail package. - The details view supports detail providers for GL State Variables. This patch adds a new interface for providers that contribute details for GL Calls. This interface is used to provide support for displaying the framebuffer that might be part of a glDraw call. Change-Id: I2e327f02c6326759c23c2952acd361ff48f8f904
* gltrace: Show per frame summary statistics.Siva Velusamy2012-02-216-138/+419
| | | | | | | | | | This CL changes the framebuffer view to be a frame summary view. The Frame Summary View displays summary information regarding the currently displayed frame. For each frame, it displays: - the contents of the framebuffer at the end of the frame. - summary statistics regarding the GL Calls present in the frame. Change-Id: I293f5b0de40aac315dee257fbc3eaa3d5ff0919c
* gltrace: Fix state update race condition.Siva Velusamy2012-02-211-30/+34
| | | | | | | The GL State is updated in reaction to user selections, and should be performed only in a synchronized block. Change-Id: Ieeaba4fd5a088b5b9e85a21fb6738c214d6f8c01
* gltrace: Show wall time and thread time.Siva Velusamy2012-02-176-15/+83
| | | | | | | Extend the protobuf to include wall time and thread time. Both durations are displayed in the function view. Change-Id: I407255464469195f7e6cf1a4b526637cb7c02823
* gltrace: Provide details view for uniform variables.Siva Velusamy2012-02-152-0/+174
| | | | | | Display uniforms rendered as a vector or a matrix. Change-Id: Ifbdaad571f71e2f4d477027548dd6951eddba8e5
* gltrace: Add support for shader uniforms.Siva Velusamy2012-02-147-7/+357
| | | | | | | This patch adds the necessary state and transformations to support uniforms used in shaders. Change-Id: Ibf93098977d8f8a733d6572b1524ff50eda28b6f
* gltrace: Fix formatter issue with enum arguments.Siva Velusamy2012-02-131-2/+15
| | | | | | | | Enum arguments are passed along in the protocol buffer with an integer type. This patch fixes the formatter to take care of this case. Change-Id: I1efeaa955b87b57b0da805ae5942d138bbce1544
* gltrace: fix search for tree viewSiva Velusamy2012-02-131-2/+18
| | | | | | | | When using a tree widget, the ViewerFilter#select method should search not just the given node, but also all its children if the node is a tree node. Change-Id: I2ff9896067e75521f5d654d27b8b2a5787410d56
* gltrace: use DetailsView to display state details.Siva Velusamy2012-02-1013-245/+571
| | | | | | | | | | | | | | | This CL replaces the texture view with a generic details view that can be used to show the details for any state property. The details view is structured as a page book view that has a stack layout capable of showing different controls. It has a list of IStateDetailsProviders to which it delegates the task of providing details for a given GL property. Currently, there are 2 such details providers - one for texture images and one for shader source. Change-Id: I1ead8848116b0a5889d272f69b49610590937a8f
* gltrace: Add a low cost way to maintain per call properties.Siva Velusamy2012-02-073-0/+53
| | | | | | | | | | | | | | | | | | For most GL Calls, we don't need to save anything but its string representation from its protocol buffer. But for a number of calls, additional data is required. But we don't want to save the entire protobuf (due to its high memory consumption). So this patch adds a generic properties holder to the GLCall structure. While the trace file is parsed, certain calls may save data from the protobuf in this structure and these can be retrieved at runtime. This patch also utilizes this feature to save the marker name for every glPushGroupMarker call. Only these markers are displayed in the trace view as opposed to the full gl call. Change-Id: If989b3a35704fd0017a944e58589d2122a9a0334
* gltrace: Make fb view into a pagebookviewSiva Velusamy2012-02-078-202/+301
| | | | | | | | | | | | | This CL makes the framebuffer view a subclass of a PageBookView. This allows the framebuffer view to maintain state across multiple open GL trace editors. Since the StateView is also a PageBookView, and both these views show content associated with the currently active GL Function Trace Viewer, the common code across both of them have been pulled into GLPageBookView. Change-Id: I48a2e8432d1c2aeafe13c0aa2789fef3afe8228e
* gltrace: Use half-open ranges when defining frames.Siva Velusamy2012-02-074-11/+11
| | | | | | | | | | A GLFrame maintains the start and end indices of the GL Calls composing that frame. Currently, the indices comprise a closed range (i.e. include both the call at the start index and the call at the end index). This patch makes it a half open range (the end index is excluded) to make things easy to follow. Change-Id: Ie44b56a32d002595493b11f496ebf123072f8962