OSDN Git Service
Raphael [Fri, 16 Sep 2011 22:28:45 +0000 (15:28 -0700)]
Specify the full path to atree for the windows.atree
Somehow the build server doesn't automatically find atree.
In a future CL this should be amended to pass the proper
OUT_HOST_EXECUTABLE, being careful that it points to the
host/linux dir, not the current Windows one.
Change-Id: Ibb78a517c33d46454828a5932408108dadbee497
Raphael [Fri, 16 Sep 2011 20:03:15 +0000 (13:03 -0700)]
Merge "SDK Manager: make 'list sdk' ids deterministic."
Raphael [Fri, 16 Sep 2011 05:07:39 +0000 (22:07 -0700)]
SDK Manager: make 'list sdk' ids deterministic.
This changes 'android list sdk' to output deterministic
install IDs. These IDs can then be give to 'android update sdk'.
Example of usage:
$ android list sdk --extended
Refresh Sources: [...]
----------
id: 2 or "android-13"
Type: Platform
Desc: Android SDK Platform 3.2, revision 1
[...]
----------
id: 41 or "extra-google-usb_driver"
Type: Extra
Desc: USB Driver for Windows, revision 4
$ android update sdk --no-ui --filter android-13,extra-google-usb_driver
=> This installs the platform API 13 and the USB Driver.
SDK Bug: 19504
Change-Id: I3109c90371d292df4e9cf845208bf8efe774233f
Siva Velusamy [Fri, 16 Sep 2011 20:01:47 +0000 (13:01 -0700)]
Merge "Update year in copyright notices to 2011."
Xavier Ducrohet [Fri, 16 Sep 2011 19:40:36 +0000 (12:40 -0700)]
Merge "Pass -target-api to the renderscript compiler."
Siva Velusamy [Fri, 16 Sep 2011 19:04:34 +0000 (12:04 -0700)]
Update year in copyright notices to 2011.
Change-Id: Ibe1042437e4f320a034be176b0b8efc7d205f79b
Raphael [Fri, 16 Sep 2011 18:03:00 +0000 (11:03 -0700)]
Merge "Use atree for the Windows SDK. Strip binaries."
Raphael [Fri, 16 Sep 2011 16:18:08 +0000 (09:18 -0700)]
AVD Launcher.exe for the Windows SDK.
In Tools R14, the Windows SDK will have 2 icons in the root
of the SDK: one to launch the AVD window, and a different one
to launche the SDK Manager window.
I'll need to change the icon in a later CL. I don't have
any ICO editor at hand right now.
Change-Id: Ic651e3c3d71c2eac5fe851fba8ea2782eca5e594
Xavier Ducrohet [Fri, 16 Sep 2011 01:10:59 +0000 (18:10 -0700)]
Pass -target-api to the renderscript compiler.
This allows to use a single llvm executable to target
all API versions.
Change-Id: Ib27f7fc9e54c548d31fc98fc323f439cb99218d5
Raphael [Thu, 15 Sep 2011 20:58:17 +0000 (13:58 -0700)]
SDK Manager: fix reload issue.
From time to time the sdk manager wasn't properly
refreshing its list. This was due to its reload operation
not properly clearing the platform/addons targets listed
by the SdkManager instance. Clearing them forces the
LocalPackageParser to really reparse directories on disk.
Change-Id: I99bcb4a78749d673db5b1ec2436a1af7538e48ee
Raphael [Thu, 15 Sep 2011 04:11:30 +0000 (21:11 -0700)]
Use atree for the Windows SDK. Strip binaries.
This moves the copy/strip/rm logic for the Windows SDK
fro mthe patch_windows_sdk.sh to a regular tools.windows.atree.
The bash script is still here to invoke atree and do whatever
cleanup we might want to do later.
This should make it easier to maintain the Windows SDK
by providing a structure similar to tools.atree.
This change requires build.git Change-Id: I22aae7a8 to
have rm/strip support in atree.
Change-Id: Ie6c30979454fb71fc1cb26ab3f6c38acd47bae57
Brett Chabot [Thu, 15 Sep 2011 18:21:20 +0000 (11:21 -0700)]
Merge "Allow custom run name in IRemoteAndroidTestRunner."
Siva Velusamy [Thu, 15 Sep 2011 18:17:33 +0000 (11:17 -0700)]
Merge "Default HPROF dump action should be to save hprof file."
Brett Chabot [Thu, 15 Sep 2011 00:45:25 +0000 (17:45 -0700)]
Allow custom run name in IRemoteAndroidTestRunner.
Change-Id: I6a332ea16243f43d080e4d88e914d6b2e940ce97
Siva Velusamy [Thu, 15 Sep 2011 00:31:59 +0000 (17:31 -0700)]
Use default system font size.
And make sure that the default logcat table row height is high
enough for the currently used font.
Change-Id: Ibfabb05b92add42c6d0acb2b79668f93b833057f
Tor Norbye [Wed, 14 Sep 2011 23:28:47 +0000 (16:28 -0700)]
Merge "Fix SDK target selector to avoid horizontal scrollbar"
Tor Norbye [Wed, 14 Sep 2011 19:01:16 +0000 (12:01 -0700)]
Fix SDK target selector to avoid horizontal scrollbar
This changeset works around a Mac SWT issue where a checkbox table
will not take into account the size of the checkbox column, so you end
up with a horizontal scrollbar. To work around this, we compute the
size of checkboxes and subtract it from the available width when
distributing column sizes.
Change-Id: I9c03b987f57bc992487b67d24215134ae0d5b0b8
David Turner [Wed, 14 Sep 2011 13:32:31 +0000 (06:32 -0700)]
Merge "Copy OpenGLES emulation libraries to SDK installation."
Raphael [Wed, 14 Sep 2011 04:08:24 +0000 (21:08 -0700)]
Merge changes I74718caa,I5811c160
* changes:
SdkManager: double selection on tree viewer.
Tweak sdk manager progress bar.
Siva Velusamy [Wed, 14 Sep 2011 00:08:09 +0000 (17:08 -0700)]
Default HPROF dump action should be to save hprof file.
Change-Id: I3ade32621326456f030d9aaa581b011420fe4413
Tor Norbye [Tue, 13 Sep 2011 21:35:48 +0000 (14:35 -0700)]
Improve validation error messages when SDKs are loading
If you bring up the "Create New Sample Project" wizard in an Eclipse
that has no open editors (so nothing has triggered an SDK load yet),
you will get an error message that is a bit misleading (that the
selected SDK has no samples), and even when the SDK finishes loading
the validation isn't updated.
This changeset improves this situation such that there is a message
during loading stating to wait, which gets cleared once it's done.
Change-Id: I5d0798eff3b4fea9c8835c2f88c5bc430110aac0
Raphael [Tue, 13 Sep 2011 21:04:15 +0000 (14:04 -0700)]
SdkManager: double selection on tree viewer.
Change-Id: I74718caa48a59f132b6d37988625376c312bba27
Raphael [Tue, 13 Sep 2011 19:59:30 +0000 (12:59 -0700)]
Tweak sdk manager progress bar.
Change-Id: I5811c1601578a9e6e53d59f13ba469d2ce7d767f
Tor Norbye [Thu, 8 Sep 2011 14:32:20 +0000 (07:32 -0700)]
New Project Wizard overhaul
This changeset splits the New Project Wizard into multiple logical
wizards (a separate one for samples, testing and plain projects), and
each wizard contains multiple pages - such as a separate page for SDK
selection, a separate page for Sample selection, a separate page for
Test target selection, and so on.
In addition, sample projects are now copied into the workspace itself
such that they can be modified and deleted without affecting the mater
copy in the SDK install directory. Samples can also be accessed from a
new separate entry in the New wizard.
The SWT code is now maintained with WindowBuilder. Most of the code in
NewProjectWizard was related to actually building the projects, and
this code is preserved in the new NewProjectCreator class which is
used by unit tests etc such that we don't need to create a stub wizard
and stub wizard page anymore.
Change-Id: I64872722e320a109870403d25fdf051270b526ed
Tor Norbye [Tue, 13 Sep 2011 19:26:09 +0000 (12:26 -0700)]
Merge "Change Project selector button to be a Combobox instead"
Siva Velusamy [Tue, 13 Sep 2011 16:23:45 +0000 (09:23 -0700)]
Fix scroll behavior on Win 7.
The windows scrollbar never actually touches the bottom of the scroll area.
Compensate for that in the shouldScrollToLatestLog() function.
Change-Id: If3178d0519cac262d9208d3cd486588f895936ff
David 'Digit' Turner [Mon, 29 Aug 2011 19:49:13 +0000 (21:49 +0200)]
Copy OpenGLES emulation libraries to SDK installation.
This patch ensures that the following host shared libraries
are copies to $SDK/tools/lib, when building the SDK:
- libOpenglRender
- libEGL_translator
- libGLES_CM_translator
- libGLES_V2_translator
Note that the Windows DLL must be copied manually in patch_windows_sdk.sh
I didn't find a way to make it work using tools.atree.
This has been tested to build the Linux, Windows and OS X SDK images.
Change-Id: Idae8fe705befbbcc31e8d4ff71998ea0803b32f1
Siva Velusamy [Mon, 12 Sep 2011 23:34:23 +0000 (16:34 -0700)]
Merge "Do not add a border for the filters toolbar."
Raphael [Mon, 12 Sep 2011 23:24:45 +0000 (16:24 -0700)]
Fix a couple potential NPEs in ADT and AVD Manager.
In ADT, fix a potential NPE when reading manifest data.
In AVD Manager, fix a potential NPE if the AVD manager tries
to print the path of the AVD folder but AndroidPrefs failed
to find a suitable location.
Change-Id: Ib2df005b270bcd11e96f16430d2983474478d9eb
Siva Velusamy [Mon, 12 Sep 2011 22:28:08 +0000 (15:28 -0700)]
Do not add a border for the filters toolbar.
Change-Id: I5e3f5f859905b77e9a2af7d38d970ff6b8e3172b
Tor Norbye [Mon, 12 Sep 2011 16:38:05 +0000 (09:38 -0700)]
Change Project selector button to be a Combobox instead
This changeset changes the widget used for project selection from a
button to a combobox.
It also fixes a couple of bugs in the New XML File Wizard:
- First, changing a project would clear out the root types table
- Second, the copy to clipboard button didn't work; the event handler
was missing.
- Third, validate fields in visual order
Change-Id: Ibf4899fc3f9c9ec343d97532870df8e32a49bee0
Siva Velusamy [Fri, 9 Sep 2011 22:05:19 +0000 (15:05 -0700)]
Create logcat table with SWT.VIRTUAL.
Without SWT.VIRTUAL, the UI responsiveness goes down significantly
when large numbers of logcat messages are received.
Unfortunately, enabling it causes SWT to make all rows to be of
the same height, thereby clipping any long messages. In such a case,
the complete message can be viewed in the tooltip.
Change-Id: I78d6701ccac6ad94675e1ed707700eabfe34bce8
Jean-Baptiste Queru [Fri, 9 Sep 2011 12:45:07 +0000 (05:45 -0700)]
Reconcile with honeycomb-LTE-release
Change-Id: I3edd22663f45ee9a29ab95aab006627217875bd9
Raphael [Thu, 8 Sep 2011 20:03:53 +0000 (13:03 -0700)]
Fix build of ADT tests.
Change-Id: Ie1627d420c862dceff2197639f4006f61f7442c2
Tor Norbye [Thu, 8 Sep 2011 16:45:27 +0000 (09:45 -0700)]
Merge "Misc GridLayout interaction fixes"
Tor Norbye [Thu, 8 Sep 2011 16:45:18 +0000 (09:45 -0700)]
Merge "Support for palette configurations in Change Layout Refactoring"
Tor Norbye [Thu, 8 Sep 2011 16:45:10 +0000 (09:45 -0700)]
Merge "Add/Remove wrap_content when converting GridLayouts"
Tor Norbye [Thu, 8 Sep 2011 16:44:34 +0000 (09:44 -0700)]
Merge "Support property sheet customizers on Linux (issue #18348)"
Raphael [Wed, 7 Sep 2011 18:32:31 +0000 (11:32 -0700)]
Load standalone system images in the SdkManager.
This revamps the way system images are handled
in the internal SdkManager class.
Before, a given IAndroidTarget could provide a list
of ABI strings it new about, discovered by parsing
the SDK/platform/images/xyz or SDK/addon/images/xyz
folder.
This introduces the notion of System Image to an
IAndroidTarget. A system image combines an ABI with
a location strategy (legacy images folder, images
sub-folder or standalone sdk/system-images folder)
and an actual location path.
Change-Id: If5b748aa9aef6788bc3c814818381c7918b40bca
Tor Norbye [Thu, 8 Sep 2011 00:20:51 +0000 (17:20 -0700)]
Support property sheet customizers on Linux (issue #18348)
On Linux, clicking on the "..." button to open the customizer dialogs
for references or flags would simply not work. This seems to be due to
how focus is handled on Linux, and in particular, the selection
dispatch is never called on the button because the focus loss event
handling disables it.
This changeset works around this by removing deactivation from focus
loss events, on Linux only.
Change-Id: Idb256e490279c3f0234bbb09342e89802b09fdc3
Raphael [Wed, 7 Sep 2011 22:51:38 +0000 (15:51 -0700)]
Merge "Add missing NON-NLS to SdkConstants."
Raphael [Wed, 7 Sep 2011 22:50:53 +0000 (15:50 -0700)]
Merge "More support for standalone system image packages."
Raphael [Wed, 7 Sep 2011 22:46:19 +0000 (15:46 -0700)]
Merge "Fix SdkManager.UrlOpener to support file:// URLs."
Raphael [Wed, 7 Sep 2011 18:31:43 +0000 (11:31 -0700)]
Add missing NON-NLS to SdkConstants.
Not stricly needed, but it's nice to uniformize the file.
Change-Id: Ia3930f46d465588ccb1b071679661f567bea8bce
Tor Norbye [Wed, 7 Sep 2011 18:29:10 +0000 (11:29 -0700)]
Fix code completion filtering on Eclipse 3.7
The builtin Eclipse XML code completion provides some bad results. For
example, it will always offer the current value of the attribute,
regardless of whether it is valid. When you are typing in a value and
invoke code completion, this means it will offer you the prefix you've
already typed.
To get rid of this, we add our own "filtering" code completion which
hides these results. We can't just completely replace the XML code
completion providers since we want some results, such as template
completion suggestions. Instead we look for the specific XML code
completion provider and filter it out.
In Eclipse 3.7, the class we're filtering out is no longer used and
there's a new code completion provider. We need to filter that one out
too, and that is what this changeset does. It cannot reference the new
class directly since it does not exist in Eclipse 3.5, so we match by
class name instead.
Change-Id: Id8fae237a43a6b0dad34a148ee4f99729f1cbd63
Tor Norbye [Wed, 7 Sep 2011 17:49:07 +0000 (10:49 -0700)]
Support for palette configurations in Change Layout Refactoring
Some items in the palette are just variations of other items with some
different initial attributes. The Wrap In refactoring already supports
these, but the Change Layout did not - so for example converting to a
Vertical Linear Layout would not set the orientation="vertical"
attribute. This changeset adds support for these in the change layout
refactoring as well.
Change-Id: I9b44a57ebf5cddba7ae381b48b666e53f7f41ab0
Tor Norbye [Wed, 7 Sep 2011 14:46:54 +0000 (07:46 -0700)]
Add/Remove wrap_content when converting GridLayouts
In GridLayout, the layout_width and layout_height attributes use
wrap_content by default. We already avoid setting these on the
elements themselves when dragging into the layout, but this changeset
makes the Change Layout refactoring remove wrap_content attributes
when converting to GridLayout, and adding them when converting from a
GridLayout.
When changing layouts, any layout params that are supported on the old
parent layout, but not the new layout, are removed. However, this was
not done for the non-layout attributes on the parent layout. This
changeset also fixes that bug, so for example after converting a
horizontal LinearLayout to a RelativeLayout, the "orientation"
attribute is removed.
Change-Id: Id25b80b567578bd5882c527bbe23115577ff7d61
Raphael [Wed, 7 Sep 2011 05:14:28 +0000 (22:14 -0700)]
More support for standalone system image packages.
Change-Id: I084c3b4916b1ce69ba602ced5be308f0d215eff8
Raphael [Wed, 7 Sep 2011 03:53:26 +0000 (20:53 -0700)]
Fix SdkManager.UrlOpener to support file:// URLs.
The new Apache HttpClient code doesn't support local file://
URLs. For any unsupported protocol, retry using the class
java.net.Url.open method.
Change-Id: Ie01499b372a3f5e1a217e0b51fd4a07c216164fb
Tor Norbye [Wed, 7 Sep 2011 00:29:27 +0000 (17:29 -0700)]
Misc GridLayout interaction fixes
A couple of fixes to the interaction support for GridLayouts.
If you resize within a GridLayout and drag only a horizontal or
vertical edge, then make the resize message only list the current new
size in the resized dimension. In other words, if you drag the right
hand side edge, it might say "wrap_content", but if you drag the
bottom right corner, it might say "50dp x wrap_content". This is
similar to what is done in for example the LinearLayout during
resizing.
Second, prefer matching with an existing row or column over adding a
new row/column adjacent to a right edge.
Third, fix drag feedback messages to be more accurate when dealing
with adjacent matches.
Change-Id: I2e09731712c961dfd8b9c60fb33d37f0bc0a1cc4
Tor Norbye [Sat, 27 Aug 2011 02:15:26 +0000 (19:15 -0700)]
Change default launcher icon name in new Android projects
When creating a new project, the default project template includes a
launcher icon named "icon.png". This changeset changes the name of
this default icon to "ic_launcher.png", in accordance with the
recommended naming convention listed in
http://developer.android.com/guide/practices/ui_guidelines/icon_design.html
(The secondary motivation for this is that the Icon Set Wizard will
suggest ic_launcher as a default launcher name, and it would be nice
if going through the wizard with the default settings would replace
the current project's launcher icon. Given the guidelines above I'd
rather not change the wizard default name to "icon")
Change-Id: I9f516c769019c2635edad4e1e6f01a5110d156fe
Tor Norbye [Wed, 7 Sep 2011 01:42:23 +0000 (18:42 -0700)]
Merge "Only mark downstream projects for build when they are open"
Tor Norbye [Wed, 7 Sep 2011 01:36:40 +0000 (18:36 -0700)]
Merge "Misc New Project Wizard fixes"
Tor Norbye [Wed, 7 Sep 2011 01:34:37 +0000 (18:34 -0700)]
Merge "Update New XML File Wizard"
Tor Norbye [Tue, 6 Sep 2011 14:18:26 +0000 (07:18 -0700)]
Update New XML File Wizard
This changeset updates the "New XML File" wizard a bit to make the
page smaller, and at the same time make the root element selection
more prominent.
1) The configuration chooser is moved to an optional second page,
along with the target folder text field.
2) The first page now uses a table with icons instead of a dropdown
for the "root element" selection. In practice this means that when
you create a new layout XML file, most of the wizard page is
showing you a list of available layouts along with their icons.
3) The file type radio button rows have been replaced by a single
dropdown instead.
4) There are a couple of new "New File Wizard" registrations for
specific types (layouts, values) that preselect the given type and
ignores the wizard invocation context. This allows for example
filtering on "layout" in the New File wizard.
5) The "initialize from context" code now picks up the type of the
current file and uses that in its initial guess of project, type
and folder.
6) Fix a bug with the code to format files on creation.
The GUI code is now edited using WindowBuilder. Internally, the wizard
and wizard pages communicate via a wizard value object. Also, the GUI
Change-Id: Ic4301ff45e4ecac5c590ac606fc5f5daa4d1a1a1
Tor Norbye [Fri, 2 Sep 2011 23:57:35 +0000 (16:57 -0700)]
Misc New Project Wizard fixes
This changeset fixes a couple of bugs in the New Project wizard:
(1) It escapes strings, such as the application name, in the
strings.xml file.
http://code.google.com/p/android/issues/detail?id=6725
(2) It fixes package name validation in the activity name
http://code.google.com/p/android/issues/detail?id=14811
(3) It selects an SDK target by default
http://code.google.com/p/android/issues/detail?id=17505
Finally it also ensures that the suggested activity name is a valid
Java class name even where the application name is not.
Change-Id: Iba9843dbb2fbb09324122d285e51ad937f6fddfd
Tor Norbye [Wed, 7 Sep 2011 00:35:19 +0000 (17:35 -0700)]
Merge "Formatting fixes for color lists"
Tor Norbye [Tue, 6 Sep 2011 23:14:17 +0000 (16:14 -0700)]
Only mark downstream projects for build when they are open
When a resource is modified in a library project, then all downstream
projects which depends on this library project are also marked with a
persistent property which indicates that they need to run aapt as part
of their next build.
However, if a parent project is closed, this would throw an exception
since you can only set properties on open projects.
Change-Id: I20f88bb28dde43b4f8bba427f45449245badbdb5
Siva Velusamy [Tue, 6 Sep 2011 20:29:07 +0000 (13:29 -0700)]
Convert Tabs -> Spaces.
Change-Id: Ib2b1311047624f2d31c3806400047b8beb01dcbf
Siva Velusamy [Tue, 6 Sep 2011 20:21:23 +0000 (13:21 -0700)]
Add gldebugger feature.
Update build scripts to include gldebugger feature only for internal
builds.
Change-Id: I3ad9422309df6e0befc878f50e147399b1a3b456
Siva Velusamy [Tue, 6 Sep 2011 18:43:16 +0000 (11:43 -0700)]
Move gldebugger tests to separate tests plugin.
Change-Id: I0f1d353c3d5cbd3c21c529472a42d9e8123f909d
Tor Norbye [Tue, 6 Sep 2011 21:19:12 +0000 (14:19 -0700)]
Formatting fixes for color lists
Color lists ended up getting formatted using the generic layout style
instead of the resource style (with multiple attributes packed into
the same line).
Furthermore, by convention the "color" attribute always logically
sorts to the end, after the various state flags, so update the
attribute sorting rules to reflect this.
Change-Id: Iaa88106f7eaf7c953b3a97dc203da5833a3bf085
Siva Velusamy [Tue, 6 Sep 2011 18:13:39 +0000 (11:13 -0700)]
Rename package to com.android.ide.eclipse.gldebugger.
Change-Id: Id9030afeb13eac4fd725c27f19593cd9218fb369
Siva Velusamy [Tue, 6 Sep 2011 17:19:49 +0000 (10:19 -0700)]
Remove @Override's.
Update sources to compile with Java 1.5. The plugin should build now,
except for the tests folder.
Change-Id: I07cafdd40056705e9d24f444c054fe85f9e5e152
Siva Velusamy [Tue, 6 Sep 2011 16:41:06 +0000 (09:41 -0700)]
Add create dependencies script for gldebugger.
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
David Li [Sat, 23 Apr 2011 01:18:30 +0000 (18:18 -0700)]
GLES2Dbg: more tests and minor fixes/improvements
Change-Id: I24adaad3c96d62a23570d05be66a9e20b7643223
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 19 Apr 2011 22:33:41 +0000 (15:33 -0700)]
GLES2Dbg: use GL implementation constants sent from server
Signed-off-by: David Li <davidxli@google.com>
David Li [Fri, 15 Apr 2011 18:09:16 +0000 (11:09 -0700)]
GLES2Dbg: initial tests
Also remove GLFunction enum, since the enums already exist in
DebuggerMessage.Function
Signed-off-by: David Li <davidxli@google.com>
David Li [Fri, 15 Apr 2011 16:56:38 +0000 (09:56 -0700)]
GLES2Dbg: noop - camelCase function names
Signed-off-by: David Li <davidxli@google.com>
David Li [Thu, 14 Apr 2011 00:35:11 +0000 (17:35 -0700)]
GLES2Dbg: generate Android.mk and main function
Signed-off-by: David Li <davidxli@google.com>
David Li [Wed, 13 Apr 2011 23:16:38 +0000 (16:16 -0700)]
GLES2Dbg: reconstruct vertex attributes to match indices
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>
David Li [Thu, 7 Apr 2011 18:38:56 +0000 (11:38 -0700)]
GLES2Dbg: cache Messages to RandomAccessFile
-Load and format Message when the frame is selected to save memory.
Signed-off-by: David Li <davidxli@google.com>
David Li [Mon, 11 Apr 2011 18:11:32 +0000 (11:11 -0700)]
GLES2Dbg: code gen for frame
Also loading *.gles2dbg dump files.
Signed-off-by: David Li <davidxli@google.com>
David Li [Thu, 7 Apr 2011 01:20:12 +0000 (18:20 -0700)]
GLES2Dbg: organize calls into frames and contexts
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>
David Li [Wed, 30 Mar 2011 22:14:36 +0000 (15:14 -0700)]
GLES2Dbg: add more state tracking and snapshot of state per GL call
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>
David Li [Tue, 29 Mar 2011 00:55:56 +0000 (17:55 -0700)]
GLES2Dbg: use mesa glsl_compiler for syntax checking
Also switch to TabFolder for GUI
Signed-off-by: David Li <davidxli@google.com>
Siva Velusamy [Tue, 6 Sep 2011 21:00:44 +0000 (14:00 -0700)]
Merge "GLES2Dbg: improve protocol and error check after shader upload"
Siva Velusamy [Tue, 6 Sep 2011 21:00:28 +0000 (14:00 -0700)]
Merge "GLES2Dbg: implemented shader tracking and editing"
Siva Velusamy [Tue, 6 Sep 2011 21:00:18 +0000 (14:00 -0700)]
Merge "GLES2Dbg: use 256KB chunks for lzf compression"
Siva Velusamy [Tue, 6 Sep 2011 21:00:08 +0000 (14:00 -0700)]
Merge "GLES2Dbg: implemented MessageParser"
Siva Velusamy [Tue, 6 Sep 2011 20:59:59 +0000 (13:59 -0700)]
Merge "GLES2Dbg: added SETPROP expectResponse"
Siva Velusamy [Tue, 6 Sep 2011 20:59:48 +0000 (13:59 -0700)]
Merge "GLES2Dbg: change TableViewer to ListViewer"
Siva Velusamy [Tue, 6 Sep 2011 20:59:38 +0000 (13:59 -0700)]
Merge "GLES2Dbg: added reference frame for glReadPixels"
Siva Velusamy [Tue, 6 Sep 2011 20:59:26 +0000 (13:59 -0700)]
Merge "GLES2Dbg: use liblzf for compressing images"
Siva Velusamy [Tue, 6 Sep 2011 20:59:15 +0000 (13:59 -0700)]
Merge "GLES2Dbg: Remove spurious execute file permissions."
Siva Velusamy [Tue, 6 Sep 2011 20:59:03 +0000 (13:59 -0700)]
Merge "GLES2Dbg: Make command exchange async to improve performance."
Siva Velusamy [Tue, 6 Sep 2011 20:58:49 +0000 (13:58 -0700)]
Merge "GLES2Dbg: Added state tracking and vertex data capturing."
Siva Velusamy [Tue, 6 Sep 2011 20:58:27 +0000 (13:58 -0700)]
Merge "GLES2Dbg: Initial commit of OpenGL ES 2.0 Debugger Client"
Raphael [Sat, 3 Sep 2011 20:53:54 +0000 (13:53 -0700)]
Add SystemImagePackage definition to sdkmanager.
This just adds the type and check we can parse it out
a sample XML. This CL does not yet use the system image
package where needed.
Change-Id: Id2d83c9e216256c329a88dced9e274da0ab651f0
Raphael Moll [Thu, 1 Sep 2011 06:20:58 +0000 (23:20 -0700)]
SdkManager: support <included-abi> in platform packages.
This is part of a series of CL to add support for
system-image packages separated from platform packages.
In this small CL we just add the <included-abi> element
to platform packages, load/save it and test by loading
a sample XML.
Change-Id: Icbf554ea398bbcfe5cf760f9d25aec3de088937a
Tor Norbye [Tue, 6 Sep 2011 14:37:25 +0000 (07:37 -0700)]
Merge "Add GridLayout support to the ChangeLayout refactoring"
Tor Norbye [Tue, 23 Aug 2011 21:19:26 +0000 (14:19 -0700)]
Add GridLayout support to the ChangeLayout refactoring
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
Tor Norbye [Fri, 2 Sep 2011 22:43:46 +0000 (15:43 -0700)]
Merge "Eliminate GEF dependency"
David Li [Mon, 28 Mar 2011 17:24:07 +0000 (10:24 -0700)]
GLES2Dbg: improve protocol and error check after shader upload
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 29 Mar 2011 01:38:38 +0000 (18:38 -0700)]
GLES2Dbg: implemented shader tracking and editing
Next commit is improving the protocol and
checking errors after shader upload
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 22 Mar 2011 20:23:14 +0000 (13:23 -0700)]
GLES2Dbg: use 256KB chunks for lzf compression
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>
David Li [Tue, 22 Mar 2011 17:06:00 +0000 (10:06 -0700)]
GLES2Dbg: implemented MessageParser
To allow user to input GL function call
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 22 Mar 2011 17:05:05 +0000 (10:05 -0700)]
GLES2Dbg: added SETPROP expectResponse
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>
David Li [Tue, 22 Mar 2011 21:56:09 +0000 (14:56 -0700)]
GLES2Dbg: change TableViewer to ListViewer
For much faster scrolling
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 22 Mar 2011 17:02:51 +0000 (10:02 -0700)]
GLES2Dbg: added reference frame for glReadPixels
Change-Id: I9b74a2eaf3a0e15ff3e7addbca168acc1c9b2f44
Signed-off-by: David Li <davidxli@google.com>