summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* am a17032ee: Merge "Accurately track the sequence numbers of batched events."Jeff Brown2012-02-131-8/+42
|\ | | | | | | | | * commit 'a17032eeb91f709360b6271b71b85e67f729bcc1': Accurately track the sequence numbers of batched events.
| * Accurately track the sequence numbers of batched events.Jeff Brown2012-02-131-8/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of sending finished signals immediately when appending to a batch, record the chain of sequence numbers that were part of the batch and then send finished signals all at once when done. This change helps the dispatcher keep track of the true state of the application and can improve ANR detection slightly. This is part of a series of changes to improve input system pipelining. Bug: 5963420 Change-Id: I463c2221e2aa8fdf1c3d670c18e39e59ab69b0db
* | am 27b51987: Merge "Enable deferred input messages to be batched."Jeff Brown2012-02-131-52/+40
|\ \ | |/ | | | | | | * commit '27b51987dd3fa7e18703aab45fa10625a56d8c98': Enable deferred input messages to be batched.
| * Enable deferred input messages to be batched.Jeff Brown2012-02-131-52/+40
| | | | | | | | | | | | | | This is part of a series of changes to improve input system pipelining. Bug: 5963420 Change-Id: I6874d2128e880a35c6c33890c858cc6ee22af0fd
* | am 072ec96a: Implement batching of input events on the consumer side.Jeff Brown2012-02-133-80/+269
|\ \ | |/ | | | | | | * commit '072ec96a4900d4616574733646ee46311cb5d2cb': Implement batching of input events on the consumer side.
| * Implement batching of input events on the consumer side.Jeff Brown2012-02-133-80/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To support this feature, the input dispatcher now allows input events to be acknowledged out-of-order. As a result, the consumer can choose to defer handling an input event from one device (because it is building a big batch) while continuing to handle input events from other devices. The InputEventReceiver now sends a notification when a batch is pending. The ViewRoot handles this notification by scheduling a draw on the next sync. When the draw happens, the InputEventReceiver is instructed to consume all pending batched input events, the input event queue is fully processed (as much as possible), and then the ViewRoot performs traversals as usual. With these changes in place, the input dispatch latency is consistently less than one frame as long as the application itself isn't stalled. Input events are delivered to the application as soon as possible and are handled as soon as possible. In practice, it is no longer possible for an application to build up a huge backlog of touch events. This is part of a series of changes to improve input system pipelining. Bug: 5963420 Change-Id: I42c01117eca78f12d66d49a736c1c122346ccd1d
* | am d1c48a05: Dispatch multiple touch events in parallel.Jeff Brown2012-02-131-0/+13
|\ \ | |/ | | | | | | * commit 'd1c48a0525d05021036d4b14e937e221c0ae1318': Dispatch multiple touch events in parallel.
| * Dispatch multiple touch events in parallel.Jeff Brown2012-02-131-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables the input dispatcher to send multiple touch events to an application without waiting for them to be acknowledged. Essentially this is a variation on the old streaming optimization but it is much more comprehensive. Event dispatch will stall as soon as 0.5sec of unacknowledged events are accumulated or a focused event (such as a key event) needs to be delivered. Streaming input events makes a tremendous difference in application performance. The next step will be to enable batching of input events on the client side once again. This is part of a series of changes to improve input system pipelining. Bug: 5963420 Change-Id: I025df90c06165d719fcca7f63eed322a5cce4a78
* | am cbee6d6e: Rewrite input transport using sockets.Jeff Brown2012-02-133-867/+270
|\ \ | |/ | | | | | | * commit 'cbee6d6ede0499fb4a2c00bfc00d5db8d9ed5139': Rewrite input transport using sockets.
| * Rewrite input transport using sockets.Jeff Brown2012-02-133-867/+270
| | | | | | | | | | | | | | | | | | | | | | | | Since we will not longer be modifying events in place, we don't need to use an ashmem region for input. Simplified the code to instead use a socket of type SOCK_SEQPACKET. This is part of a series of changes to improve input system pipelining. Bug: 5963420 Change-Id: I05909075ed8b61b93900913e44c6db84857340d8
* | am 87a36a3b: Merge "Making shader compilation errors throw a Java exception."Alex Sakhartchouk2012-02-102-4/+2
|\ \ | |/ | | | | | | * commit '87a36a3b291e78a612d2d08c14b245ff970080e0': Making shader compilation errors throw a Java exception.
| * Merge "Making shader compilation errors throw a Java exception."Alex Sakhartchouk2012-02-102-4/+2
| |\
| | * Making shader compilation errors throw a Java exception.Alex Sakhartchouk2012-02-072-4/+2
| | | | | | | | | | | | Change-Id: I612142b6fe1b75eab62e89950c3bea6f326cb730
* | | resolved conflicts for merge of cb66aec0 to graphics-devJason Sams2012-02-101-2/+1
|\ \ \ | |/ / | | | | | | Change-Id: Ic8817f702b6993f046c89f2fc598c9fe3bf30fe8
| * | Merge "Start implementing SurfaceTexture streaming into RS allocations."Jason Sams2012-02-1010-3/+51
| |\ \
| | * | Start implementing SurfaceTexture streaming into RS allocations.Jason Sams2012-02-1010-3/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b Conflicts: libs/rs/rsAllocation.h
* | | | am d10035d5: Merge "Some hardening of isolated processes by restricting ↵Dianne Hackborn2012-02-091-1/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | access to services." * commit 'd10035d52bcd4eed9f83cad580d606cd522dd6c7': Some hardening of isolated processes by restricting access to services.
| * | | Merge "Some hardening of isolated processes by restricting access to services."Dianne Hackborn2012-02-091-1/+3
| |\ \ \
| | * | | Some hardening of isolated processes by restricting access to services.Dianne Hackborn2012-02-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Services now must explicitly opt in to being accessed by isolated processes. Currently only the activity manager and surface flinger allow this. Activity manager is needed so that we can actually bring up the process; SurfaceFlinger is needed to be able to get the display information for creating the Configuration. The SurfaceFlinger should be safe because the app doesn't have access to the window manager so can't actually get a surface to do anything with. The activity manager now protects most of its entry points against isolated processes. Change-Id: I0dad8cb2c873575c4c7659c3c2a7eda8e98f46b0
* | | | | am 468a9715: Merge "Remove unused param."Jason Sams2012-02-093-6/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '468a971512f4665b13e83cc3c7dc24c9031b14eb': Remove unused param.
| * | | | Remove unused param.Jason Sams2012-02-093-6/+5
| |/ / / | | | | | | | | | | | | Change-Id: Idf26c3bf4eec7ed17dbfb99b40c314bce7996101
* | | | am 1c90e73f: Merge "Refactored ISurfaceTexture calls from SurfaceTexture ↵Jamie Gennis2012-02-093-671/+726
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | into BufferQueue." * commit '1c90e73f5d22c3d8e07b236ec8f33a42c01e056f': Refactored ISurfaceTexture calls from SurfaceTexture into BufferQueue.
| * | | Merge "Refactored ISurfaceTexture calls from SurfaceTexture into BufferQueue."Jamie Gennis2012-02-093-671/+726
| |\ \ \
| | * | | Refactored ISurfaceTexture calls from SurfaceTexture into BufferQueue.Daniel Lam2012-02-073-671/+726
| | | |/ | | |/| | | | | | | | | Change-Id: I514f6b802f6b49c9ae27bed37bf0b9d23da03c9a
* | | | am 5b6abb38: Merge "Fix bug in generated code for functions with inband data ↵Jason Sams2012-02-071-1/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | from pointers. Passing zero length data would desync return command stream." * commit '5b6abb38f0892f429976bd6976f93ae216b21d38': Fix bug in generated code for functions with inband data from pointers. Passing zero length data would desync return command stream.
| * | | Merge "Fix bug in generated code for functions with inband data from ↵Jason Sams2012-02-071-1/+8
| |\ \ \ | | | |/ | | |/| | | | | pointers. Passing zero length data would desync return command stream."
| | * | Fix bug in generated code for functions with inband dataJason Sams2012-02-071-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | from pointers. Passing zero length data would desync return command stream. Change-Id: I273a6a44636a203d8305ddff3d6607eae9f9ec8a
* | | | am 28587f44: Merge "Fix the system"Romain Guy2012-02-071-4/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '28587f445a2af6d94d1b215e019e8bcc377c17a1': Fix the system
| * | | Merge "Fix the system"Romain Guy2012-02-071-4/+4
| |\ \ \
| | * | | Fix the systemRomain Guy2012-02-071-4/+4
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie097ea5d6c0af9c5929b8c5deb76b4824d5de787
* | | | | am 68c02e25: Merge "Preliminary support for clipRect(Rect, Op)"Romain Guy2012-02-073-20/+164
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '68c02e25e84e9814d313b43680631b98e25fa6d5': Preliminary support for clipRect(Rect, Op)
| * | | | Merge "Preliminary support for clipRect(Rect, Op)"Romain Guy2012-02-073-20/+164
| |\ \ \ \ | | |/ / /
| | * | | Preliminary support for clipRect(Rect, Op)Romain Guy2012-02-073-20/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds basic support for clip regions. It is currently disabled at compile time. Enabling clip regions will require setting up a stencil buffer. Change-Id: I638616a972276e38737f8ac0633692c3845eaa74
* | | | | Merge commit 'bdeec118' into manualmergeJason Sams2012-02-0714-626/+259
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: libs/rs/rsThreadIO.h Change-Id: I7f448996a86f41188b47ec3dc353c364692e8bf2
| * | | | Merge "Implement RS VSync on new vsync infrastructure."Jason Sams2012-02-0714-620/+259
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Implement RS VSync on new vsync infrastructure.Jason Sams2012-02-0714-620/+259
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I662159a086a56e28732dd64a3a3cb30f8d4b72b1 Replace lockless fifo from server to client with sockets. Change-Id: I99a4ab4f18496c0fbac96ee7b8099797af4712ea
* | | | am c92e6f14: AccessoryChat: use platform APIs and support Galaxy NexusSimon Wilson2012-02-074-13/+11
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'c92e6f14f9ac6c86b7784f8a21d7077ea7cae0bb': AccessoryChat: use platform APIs and support Galaxy Nexus
| * | | AccessoryChat: use platform APIs and support Galaxy NexusSimon Wilson2012-02-074-13/+11
| |/ / | | | | | | | | | Change-Id: I171c2781f3d447bec46f0179351e1b18721b1b89
* | | am f0533365: Merge "make sure to ignore SIGPIPE in the write side of BitTube"Mathias Agopian2012-02-061-1/+4
|\ \ \ | |/ / | | | | | | | | | * commit 'f0533365dc1c89253a551a77fbc987568bb8e650': make sure to ignore SIGPIPE in the write side of BitTube
| * | make sure to ignore SIGPIPE in the write side of BitTubeMathias Agopian2012-02-061-1/+4
| |/ | | | | | | Change-Id: If4f037f4403d3ecbcd5f91248354765fc0fa13cb
* | am 1ef7d131: Merge "Multi-user - 1st major checkin"Amith Yamasani2012-02-031-0/+8
|\ \ | |/ | | | | | | * commit '1ef7d13172248848805b9ceb6161b0741d8580dd': Multi-user - 1st major checkin
| * Merge "Multi-user - 1st major checkin"Amith Yamasani2012-02-031-0/+8
| |\
| | * Multi-user - 1st major checkinAmith Yamasani2012-02-031-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am cc2daede: Merge "Properly recover from failed compilation."Stephen Hines2012-02-021-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'cc2daede56257f0f1f490a1aebf5b9b898d9816a': Properly recover from failed compilation.
| * | Merge "Properly recover from failed compilation."Stephen Hines2012-02-021-1/+1
| |\ \
| | * | Properly recover from failed compilation.Stephen Hines2012-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | am 8d13ef3c: Merge "Separate interface definition and implementation of ↵Romain Guy2012-02-024-104/+193
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Snapshot" * commit '8d13ef3c59f3087df29a226f3cdc155faa4ac903': Separate interface definition and implementation of Snapshot
| * | | Merge "Separate interface definition and implementation of Snapshot"Romain Guy2012-02-024-104/+193
| |\ \ \
| | * | | Separate interface definition and implementation of SnapshotRomain Guy2012-02-024-104/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | am b545eaa9: Merge "separate transactions from updates"Mathias Agopian2012-02-021-1/+7
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'b545eaa9cbe39b8209a40044aa0a5f00846278d4': separate transactions from updates