Commit Graph

8510 Commits

Author SHA1 Message Date
David Turner
659943e8a6 am 0c1ce6de: Merge "GLES2 translaotr: fix glLinkProgram and object names"
* commit '0c1ce6de3b7815ff85afed110c2040e52ad609c5':
  GLES2 translaotr: fix glLinkProgram and object names
2011-08-03 06:50:22 -07:00
David Turner
47706d40ab Merge "GLES2 translator: workaround for nvidia bug with GL_VALIDATE_STAUS" 2011-08-03 06:40:59 -07:00
David Turner
6707ea95ba Merge "2.0 translator: workaround for nVidia "bug"" 2011-08-03 06:40:06 -07:00
David Turner
1cd64c705c Merge "GLES2 translator: host does not support RGB565" 2011-08-03 06:39:06 -07:00
David Turner
bcfc7b17a0 Merge "GLES translator - enable binding to multiple texture targets" 2011-08-03 06:38:17 -07:00
David Turner
0c1ce6de3b Merge "GLES2 translaotr: fix glLinkProgram and object names" 2011-08-03 06:37:29 -07:00
Xavier Ducrohet
0433962f67 Add all platform fonts to the SDK.
Change-Id: Ie73bcb0769313db601466ae5d01416ee7b429353
2011-08-02 18:36:13 -07:00
Xavier Ducrohet
b7968a9871 move platform tools to r8.
Change-Id: I6ac8606db6721313af92241cf8bbe71175c0a705
2011-08-02 18:14:32 -07:00
Stephen Hines
991ee9950d Merge "Remove Runtime exit() function from Balls app." 2011-08-02 17:18:22 -07:00
Stephen Hines
e036a5f1cb Remove Runtime exit() function from Balls app.
This prevents a nasty teardown bug that was causing segfaults during atexit().
It is more than sufficient to call onStop() in this case to properly release
all resources.

Change-Id: If9ea892074382f9ea194da3d75771aae3b529053
2011-08-02 17:11:34 -07:00
David Hu
518aa9cde8 GPS Location Test Build Change
move the GpsLocationTest.apk to the emulator-test-apps directory

Change-Id: Ibff69819e74ac7560df453cbe43a721f82600603
2011-08-01 19:24:35 -07:00
Brett Chabot
b0fd2cf942 Fix runtest --path for package-private frameworks tests.
A recent change to runtest resulted in absolute paths incorrectly
being used for a tests build path. This broke the special logic
for frameworks/base tests, since it assumed relative build paths.
Change build paths back to relative paths.

Bug 5105885

Change-Id: I83a26be25294d501cca73eb1b88a7364131b2caf
2011-08-01 16:30:37 -07:00
Isaac Levy
bb0459c45c Removed Launcher2_intermediates from .classpath
Change-Id: I14b8ef9d58becd3d8305014a91d0fab7722f8219
2011-08-01 14:41:08 -07:00
Hugo Hudson
c77b8ff6ac Merge "Add the variable speed tests to the test runner." 2011-07-29 15:11:18 -07:00
Dianne Hackborn
65b7786636 New API showing the various new service binding flags.
Change-Id: I2c19388c1c8b8386d77183c1e1f3aa9eef85cd46
2011-07-29 01:49:10 -07:00
Svetoslav Ganov
7dd37fbbed Adding a missing documentation of the ActionProvider ActionBar sample.
Change-Id: I09772305953f7684388603f3f34ec21c64a09067
2011-07-28 17:50:04 -07:00
Bill Napier
b0f505f07f Merge "Added deferreturn command" 2011-07-27 11:12:50 -07:00
Liran
772468f2b6 GLES2 translator: workaround for nvidia bug with GL_VALIDATE_STAUS
nvidia may return GL_VALIDATE_STATUS = GL_TRUE even when the program does not link
this change checks for GL_LINK_STATUS when GL_VALIDATE_STATUS is queried

Change-Id: Ia9f5da9c71b8666ce929d8cc2a44639bc947eecb
2011-07-27 15:19:11 +03:00
Liran
715c4898df 2.0 translator: workaround for nVidia "bug"
This is not really a bug, but the nVidia shader compiler is much more
liberal than the GLSL spec, and allows compilation of shaders which
do not comply with the spec. This is an issue for passing the
conformance tests, but more importantly it will allow bad shader written
by the app developer to pass on the emulator and then to fail on the device.

Adding "#version 100" definition to the head of a shader source disables
this liberal behavior. For now this is activated in run time by the "NV_WAR"
environment variable.

Change-Id: I1c322d4221d313d3ee70592bc15ea0e340853990
2011-07-27 15:19:11 +03:00
Liran
dd954c869c GLES2 translator: host does not support RGB565
When calling RenderbufferStorage with internalformat=GL_RGB565
we will create one with internal format GL_RGB
the same for glTexImage2D

Change-Id: I1e464dd36142f586beef6bf895456c7aab1b8237
2011-07-27 15:19:11 +03:00
Liran
31b99df283 GLES translator - enable binding to multiple texture targets
support different binding to GL_TEXTURE_2D and GL_TEXTURE_CUBE_MAP
targets

create 2 default texture object, to be bound when BindTexture( ... ,0)
is called.
in order to do this, we must ensure their names are internal only, so the user can't
use these names by accident.
the object name manager local name is now 64 bit to allow generation of internal names

Change-Id: I29d000a67042051706e13dc3ef3aa34a1a24f8ca
2011-07-27 15:19:10 +03:00
Liran
3c457bda2f GLES2 translaotr: fix glLinkProgram and object names
Do not allow glLinkProgram to succeed if only one shader type has been
attached to the program, GL allows this, but GLES2 does not.
added state tracking for program objects to check which shaders are
attached to the program object.

add a way to define object data type being held for each object in objectNameManager
ProgramData and ShaderParser are both valid objectData for objects in SHADER namespace
we need a way to determine object type to generate correct errors

Change-Id: Ic232549df0bb6daf6ec528cb039482cd68e896bb
2011-07-27 15:19:04 +03:00
Makoto Onuki
b2ebc5c6ce Merge "Support new intent INVITE_CONTACT introduced in v14" 2011-07-26 15:15:47 -07:00
Makoto Onuki
23e15c5d41 Support new intent INVITE_CONTACT introduced in v14
SampleSyncAdapter uses INVITE_CONTACT to add a raw contact to an existing
contact.

INVITE_CONTACT is treated in the save way as ACTION_INSERT, except:
- The incoming intent won't have the account extra, so always use the first
  account found.
- The name field will be prepopulated with the display name of the passed
  account.

Bug 5061956

Change-Id: Ica1263fe54150dbc0e79389ebdf2a0e748a7c840
2011-07-26 14:47:07 -07:00
Flavio Lerda
a8b0f95cb4 Merge "A few fixes for Eclipse classpath file." 2011-07-26 13:45:19 -07:00
Flavio Lerda
fc74f9ef9e A few fixes for Eclipse classpath file.
- Remove a couple of non-existing projects.
- Add frameworks/ex/variablespeed.

Change-Id: I1969906ad2a64a3c735d4aba12bfebae0f002003
2011-07-26 21:23:29 +01:00
Jason Sams
6b63b54036 Merge "Fix sample to use API 14." 2011-07-26 12:19:21 -07:00
Romain Guy
c35d058e8d Add new API demos for fragment custom animations.
Change-Id: Ia4339d4e4c1617907a9c707e1b8c2309b303e267
2011-07-25 16:29:00 -07:00
Hugo Hudson
35cf07a3ed Add the variable speed tests to the test runner.
- You can now run the tests with runtest ex-variablespeed.

Bug: 5048257
Change-Id: I535c0aa91e2b4a4209ae8c4da39cb8fa9e746182
2011-07-26 00:18:34 +01:00
Amith Yamasani
ea5c0b0f87 New SearchView expansion using ActionBar feature.
Change-Id: Ib0a4bdc45af65fdeeb354ee02de02b251fec471d
2011-07-25 13:17:05 -07:00
Romain Guy
2d7bd93c82 This tool is no longer required
Change-Id: I4738464d5eaa1c8a8f0619c1405efc726fd1a30a
2011-07-21 18:05:24 -07:00
Jason Sams
16f8525aaf Fix sample to use API 14.
Change-Id: Iba9cb731a80f32972d61b8d7e55b4881cb81d36c
2011-07-21 17:22:40 -07:00
Bill Napier
0693bdd8d2 Merge "Added view introspection functionality to Monkey" 2011-07-21 10:38:47 -07:00
Jeff Hamilton
7e44b256ef Merge "Fix crashes when NFC isn't supported." 2011-07-20 21:53:09 -07:00
Jeff Hamilton
9d7ed78e7a Fix crashes when NFC isn't supported.
Change-Id: I638a1e4e5d7a0b5d4f84668e134b13457aeaa879
2011-07-20 23:22:00 -05:00
Romain Guy
a1cb462b69 Merge "Convert looper traces to traceview traces" 2011-07-20 18:47:56 -07:00
Romain Guy
3cb68797bc Convert looper traces to traceview traces
Change-Id: I378bab7d076ab43699d08809e58eb5a478488c74
2011-07-20 18:46:31 -07:00
Marco Nelissen
7d421c5b02 Update findunusedresources to know about integers and mipmaps
Change-Id: I10846ae4f876a325ce53e2c1522af2094493beba
2011-07-20 14:48:43 -07:00
Michael Wright
c6c89b994e Added deferreturn command
Change-Id: Id84ac667d42dab4648b24cc335917c3d15ec1de4
2011-07-20 14:27:10 -07:00
Michael Wright
b36bed5899 Added view introspection functionality to Monkey
Change-Id: Ica8439d8c5694dc6ecc5c64d8ce52d16f51cbb25
2011-07-20 14:21:04 -07:00
David Hu
345110054e Merge "Move ConnectivityTest apk to the sdk directory" 2011-07-20 11:56:37 -07:00
David Hu
7089a5a237 Move ConnectivityTest apk to the sdk directory
Change-Id: I7b28f5edc17ade8c80d123b10f38f96bfe6aaec0
2011-07-19 18:51:49 -07:00
Svetoslav Ganov
116d35bd9b Merge "Fixing the action provider demo" 2011-07-19 13:57:43 -07:00
Svetoslav Ganov
575c0c3e5c Fixing the action provider demo
1. Fixed a bug the the way the URI was set to the
   intent.

2. Added code to copy a private raw resource to a
   publicly readable file that is to be shared.

Change-Id: Ib7ee172b2a4a890ce77911d0ef1c3ea3b24e69c9
2011-07-19 13:19:47 -07:00
Xavier Ducrohet
b94c16ad8a Merge "Update skin list." 2011-07-18 18:10:14 -07:00
Alex Sakhartchouk
22309b8f9d Merge "fix the function pointer table" 2011-07-18 13:43:28 -07:00
Brett Chabot
1213665dee Merge "Fix runtest --path for tests built against SDK." 2011-07-18 12:08:11 -07:00
Xavier Ducrohet
80770d5bc4 Update skin list.
Change-Id: Ic6f128f2ebc69a0cf639ccbe5c6c464375c8201c
2011-07-18 11:44:36 -07:00
Brett Chabot
1c25c46318 Merge "Build all samples against SDK." 2011-07-17 14:37:32 -07:00
Brett Chabot
ecfcc7da8e Fix runtest --path for tests built against SDK.
Bug 4556556

Change-Id: I3f829cae8f9fc1e64b3a44ac9e306b13b3cead7c
2011-07-17 14:06:20 -07:00