4139 Commits

Author SHA1 Message Date
Amith Yamasani
1ef7d13172 Merge "Multi-user - 1st major checkin" 2012-02-03 12:04:40 -08:00
Amith Yamasani
742a671273 Multi-user - 1st major checkin
Switching activity stacks
Cache ContentProvider per user
Long-press power to switch users (on phone)

Added ServiceMap for separating services by user
Launch PendingIntents on the correct user's uid
Fix task switching from Recents list
AppWidgetService is mostly working.

Commands added to pm and am to allow creating and switching profiles.

Change-Id: I15810e8cfbe50a04bd3323a7ef5a8ff4230870ed
2012-02-03 12:01:47 -08:00
Stephen Hines
0a29fe1be1 am cc2daede: Merge "Properly recover from failed compilation."
* commit 'cc2daede56257f0f1f490a1aebf5b9b898d9816a':
  Properly recover from failed compilation.
2012-02-02 21:28:17 -08:00
Stephen Hines
cc2daede56 Merge "Properly recover from failed compilation." 2012-02-02 21:25:19 -08:00
Romain Guy
d6a0b0407a am 8d13ef3c: Merge "Separate interface definition and implementation of Snapshot"
* commit '8d13ef3c59f3087df29a226f3cdc155faa4ac903':
  Separate interface definition and implementation of Snapshot
2012-02-02 17:36:20 -08:00
Romain Guy
8d13ef3c59 Merge "Separate interface definition and implementation of Snapshot" 2012-02-02 17:33:47 -08:00
Romain Guy
ada4d53d50 Separate interface definition and implementation of Snapshot
The Snapshot class is getting complicated enough that its implementation
should now live in a separate .cpp file. This will become particularly
useful when support for clip regions and paths will be added later on.

Change-Id: I050fac5683a9f7a0ff2f7a6beec3dd28aa5eb0d8
2012-02-02 17:31:16 -08:00
Mathias Agopian
e10c441def am b545eaa9: Merge "separate transactions from updates"
* commit 'b545eaa9cbe39b8209a40044aa0a5f00846278d4':
  separate transactions from updates
2012-02-02 16:30:57 -08:00
Mathias Agopian
b545eaa9cb Merge "separate transactions from updates" 2012-02-02 16:28:05 -08:00
Romain Guy
e94fdd9a15 am bc18f289: Merge "Disable debugging code in the font renderer"
* commit 'bc18f289073a47b1cbf84fcd3e3e79c9d34c0990':
  Disable debugging code in the font renderer
2012-02-02 15:17:59 -08:00
Romain Guy
bc18f28907 Merge "Disable debugging code in the font renderer" 2012-02-02 15:16:30 -08:00
Romain Guy
b629490ffb Disable debugging code in the font renderer
Change-Id: I92463057ff4ae712bb25789db1667ff1ecfd389f
2012-02-02 15:13:18 -08:00
Alex Sakhartchouk
98bea4a3ec am 7042613c: Merge "Fix an incorrect assert that doesn\'t account for element array size."
* commit '7042613c653fd0de253f2f659901318902fa4584':
  Fix an incorrect assert that doesn't account for element array size.
2012-02-02 14:56:34 -08:00
Alex Sakhartchouk
7042613c65 Merge "Fix an incorrect assert that doesn't account for element array size." 2012-02-02 14:54:32 -08:00
Glenn Kasten
fa16c0c7df am ac1748ce: Merge "Thread::getTid returns pid_t gettid() after run"
* commit 'ac1748ce3301b3dab3c1aa6c0d35fa877554ebbb':
  Thread::getTid returns pid_t gettid() after run
2012-02-02 13:26:49 -08:00
Glenn Kasten
ac1748ce33 Merge "Thread::getTid returns pid_t gettid() after run" 2012-02-02 13:24:52 -08:00
Stephen Hines
862dadb7a7 Properly recover from failed compilation.
BUG=5955072

We used to call delete, which did not update the Context's view of the world,
leading to potential segfaults on Context teardown. This change also enables
exceptions to be thrown when runtime errors are encountered.

Change-Id: If63578efff2d7dd03639da1049c1a5ebc69fde35
2012-02-02 13:23:20 -08:00
Alex Sakhartchouk
bf3c3f2ab1 Fix an incorrect assert that doesn't account for element array size.
Change-Id: Ibcb5c55d91967603391a1721137d010a85025990
2012-02-02 09:47:26 -08:00
Mathias Agopian
9a9dbd5921 separate transactions from updates
with this changes, SF transactions are handled as soon as possible
but do not trigger updates. the update is delayed until the next
vsync.

this allows us to work much better without requiring triple-buffering.

Change-Id: I1fa10794d0cf742129f0877698b7b1e1f2ec7401
2012-02-01 20:43:06 -08:00
Stephen Hines
dee8be5b89 am bb3968fe: Merge "Remove wrapper version check assert."
* commit 'bb3968fed8e7fb2b53ac32d40e26e0d21600a922':
  Remove wrapper version check assert.
2012-02-01 17:11:44 -08:00
Stephen Hines
bb3968fed8 Merge "Remove wrapper version check assert." 2012-02-01 17:09:12 -08:00
Stephen Hines
07c12933e3 Remove wrapper version check assert.
This really shouldn't have been here to begin with, since the wrapper version
should be meaningless to libRS.

Change-Id: I329446ed96d1a70197247735e267b8539a8c83a2
2012-02-01 16:56:03 -08:00
Romain Guy
9ffa5a5829 am bbf1bc8b: Merge "Add optional metadata to initiliaze the render threat."
* commit 'bbf1bc8b6c3348265930ce08506efbbd3c5ab61f':
  Add optional metadata to initiliaze the render threat.
2012-02-01 16:17:23 -08:00
Romain Guy
bbf1bc8b6c Merge "Add optional metadata to initiliaze the render threat." 2012-02-01 16:15:17 -08:00
Romain Guy
211370fd94 Add optional metadata to initiliaze the render threat.
The render threat is likely to break your application if you initiate it.
As such it must be explicitely requested using the following meta-data
tag in your manifest's application tag:

<meta-data android:name="android.graphics.renderThread" android:value="true" />

Change-Id: Ibf0a48af2a0d091562bf6907eac970e3d1d601c4
2012-02-01 16:10:55 -08:00
Dianne Hackborn
7b2be37594 am 6c997a9e: aapt now sorts the strings in the resource string pool.
* commit '6c997a9e880e08c354ffd809bd62df9e25e9c4d4':
  aapt now sorts the strings in the resource string pool.
2012-01-31 17:24:50 -08:00
Dianne Hackborn
6c997a9e88 aapt now sorts the strings in the resource string pool.
In our current environment with very many translations, this can
save a lot of RAM -- for example over 200K in Gmail just by sorting
the strings in the Gmail .apk (not the framework).

Also add a new aapt command to print the contents of the resource
table string pool.

Change-Id: I1da037b3e2c377b890833ff57ab158965314ac48
2012-01-31 15:41:30 -08:00
Romain Guy
17c2cf2d2e am 1e56fff3: Merge "Add debug markers to OpenGLRenderer"
* commit '1e56fff3b90946b342ddabf68648dc3551ce47db':
  Add debug markers to OpenGLRenderer
2012-01-30 17:45:25 -08:00
Romain Guy
13631f3da8 Add debug markers to OpenGLRenderer
These markers will be used to group the GL commands by View in the
OpenGL ES debugging tool. This will help correlate individual GL
calls to higher level components like Views.

Change-Id: I73607ba2e7224a80ac32527968261ee008f049c6
2012-01-30 17:41:55 -08:00
Stephen Hines
bc19591c1f am 855eadf9: Merge "Fix potential bug with reordered size/offset arguments."
* commit '855eadf942c8ff5c2665d7dc3b6d4b5ba630419a':
  Fix potential bug with reordered size/offset arguments.
2012-01-30 12:23:21 -08:00
Stephen Hines
855eadf942 Merge "Fix potential bug with reordered size/offset arguments." 2012-01-30 12:22:10 -08:00
Romain Guy
cb3fbbd037 am 69726597: Merge "Add stencil buffer to the EGL config"
* commit '69726597b300ec32f2d2c489cd3f312efd3077c2':
  Add stencil buffer to the EGL config
2012-01-30 12:07:07 -08:00
Romain Guy
530041d319 Add stencil buffer to the EGL config
Change-Id: If76c0cd6127534d90f9526b75c0f8e56259c6722
2012-01-30 12:04:17 -08:00
Mathias Agopian
be124027db am dfbcee6c: fix build
* commit 'dfbcee6cb8ab9cf89b9052eb7498e453afdb1463':
  fix build
2012-01-29 22:24:52 -08:00
Mathias Agopian
dfbcee6cb8 fix build
Change-Id: Ibdc45f1794e7ef60dc1ca0ff85c5cc4dff84c3fa
2012-01-29 22:22:08 -08:00
Jason Sams
85694cf6c7 Merge "Add comment to confusing commands." into graphics-dev 2012-01-27 13:30:20 -08:00
Jason Sams
61e76a7ffa Add comment to confusing commands.
Change-Id: I7b84b9d8e9b3b595e0bab33d5e219842f6c86f83
2012-01-27 13:27:01 -08:00
Stephen Hines
2061424da7 am cee905be: Merge "Don\'t wait forever if there are no commands to execute."
* commit 'cee905be4874f6d3f112527a53b0f7ff87655c66':
  Don't wait forever if there are no commands to execute.
2012-01-27 10:10:27 -08:00
Stephen Hines
cee905be48 Merge "Don't wait forever if there are no commands to execute." 2012-01-27 10:08:18 -08:00
Jamie Gennis
ac9e27a540 am 7bea6502: Merge "SurfaceTexture: use fence sync on omap4 & s5pc110"
* commit '7bea65020872a9945a6938068c4922d33cef5b4e':
  SurfaceTexture: use fence sync on omap4 & s5pc110
2012-01-27 09:54:38 -08:00
Jamie Gennis
7bea650208 Merge "SurfaceTexture: use fence sync on omap4 & s5pc110" 2012-01-27 09:53:14 -08:00
Stephen Hines
e3f9cc6761 Don't wait forever if there are no commands to execute.
BUG=5614887

This fixes a timing issue where we could calculate a delay of 0 (indicating
wait forever) when we have no pending commands to actually execute. In such
cases, we should just break out of the playback loop.

This also fixes a small issue with returning whether or not to redraw.

Change-Id: Id1e481679341773256b7287062c68925e2bc8f9e
2012-01-26 17:32:09 -08:00
Stephen Hines
6bd4c7ad4f am caaac348: Merge "Fix bugs with unsigned rsAtomicCas/Max/Min."
* commit 'caaac348ed163f59cf1b8185bb14137050c18e7e':
  Fix bugs with unsigned rsAtomicCas/Max/Min.
2012-01-26 13:58:14 -08:00
Stephen Hines
caaac348ed Merge "Fix bugs with unsigned rsAtomicCas/Max/Min." 2012-01-26 13:55:57 -08:00
Stephen Hines
109116bb2f Fix bugs with unsigned rsAtomicCas/Max/Min.
BUG=5888007

rsAtomicMax/Min did not have proper semantics for unsigned integers. They were
always using signed comparisons. rsAtomicCas had the wrong function signature
in our math library, leading to no way to properly link/execute it.

Change-Id: I336cdd8cd9f2d8093f12e101b55b2797515f039b
2012-01-25 18:17:34 -08:00
Romain Guy
68a1df6541 am 1a54368b: Merge "Add full support for Canvas.setDrawFilter()"
* commit '1a54368b24a8cb88ee56ee746eae45171a43b89e':
  Add full support for Canvas.setDrawFilter()
2012-01-23 17:12:28 -08:00
Romain Guy
5ff9df6582 Add full support for Canvas.setDrawFilter()
Change-Id: I0ad35d0603c4eeda469014803be14c1dcdde918c
2012-01-23 17:09:05 -08:00
Daniel Lam
f3d30e1c70 SurfaceTexture: use fence sync on omap4 & s5pc110
This change enables the use of the EGL_KHR_fence_sync extension in
SurfaceTexture on omap4 and s5pc110 platforms.

Change-Id: Icad5245bab445413ffb8a7c823c296b678bf3250
2012-01-22 15:51:41 -08:00
Stephen Hines
4cbe25a86b Fix potential bug with reordered size/offset arguments.
This change also cleans up a few uint32_t/size_t issues.

Change-Id: Iae0fc085c12149129b91fce0ebbc28c8cf358eaf
2012-01-20 19:21:35 -08:00
Romain Guy
86fcb90f3b am 22d41843: Fix the build, for real
* commit '22d418437e44587cb0fba4353515719453269189':
  Fix the build, for real
2012-01-19 18:36:34 -08:00