summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* frameworks/base refactoringMathias Agopian2012-02-2030-107/+348
| | | | | | create the new libandroidfw from parts of libui and libutils Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
* frameworks/base refactoring.Mathias Agopian2012-02-1714-33/+33
| | | | | | step 2: move libutils headers to their new home: androidfw Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
* Merge "Work around VSync signal while screen is off."Jason Sams2012-02-171-0/+4
|\
| * Work around VSync signal while screen is off.Jason Sams2012-02-171-0/+4
| | | | | | | | Change-Id: I0a9637170ee658ff84a363e91c558892dce5cfaf
* | Merge "frameworks/base refactoring."Jeff Brown2012-02-179-14/+15
|\ \
| * | frameworks/base refactoring.Mathias Agopian2012-02-179-14/+15
| | | | | | | | | | | | | | | | | | First step. Move libui includes to their new home: androidfw. Change-Id: Ic042b52fdba72f30edc3cc6339bf30b4c1b99662
* | | Merge "Record possible clip rejects when recording display lists"Romain Guy2012-02-176-76/+199
|\ \ \
| * | | Record possible clip rejects when recording display listsRomain Guy2012-02-176-76/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This optimization allows us to quickly skip operations that lie entirely outside of the known bounds of a display list. Because of ViewGroup.setClipChildren, we must keep the operations recorded in the display list. setClipChildren(false) is however a very uncommon operation and we will therefore often benefit from this new optimization. Change-Id: I0942c864e55298e6dccd9977d15adefbce3ba3ad
* | | | libs/utils: replace malloc() + memset() to zero with calloc()Iliyan Malchev2012-02-172-10/+4
| |/ / |/| | | | | | | | | | | Change-Id: I8bdf4360147e51e35c162856c9a859aed6acac34 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | Merge "Update prototype remote fifo. Tested primary connection using only ↵Jason Sams2012-02-173-74/+143
|\ \ \ | | | | | | | | | | | | fifo data transport."
| * | | Update prototype remote fifo. Tested primary connectionJason Sams2012-02-163-74/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using only fifo data transport. cleanup cl. Change-Id: I9b5f5e5a256b7f66b387bd801c1da0e642761200
* | | | Merge "Rename three header files to free namespace for api."Jason Sams2012-02-1711-9/+9
|\ \ \ \ | |/ / /
| * | | Rename three header files to free namespace for api.Jason Sams2012-02-1611-9/+9
| | |/ | |/| | | | | | | Change-Id: Ie9ef65a477373c30b2d5b02248f62e768b6f27ae
* | | Upintegrate the common_time service from ics-aah.Mike J. Chen2012-02-167-0/+1305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the common_time service developed in the ics-aah branch back into master. The common_time service is a small service build to synchronize an arbitrary timeline amongst peers on a local sub-net. While running and configured, the service will elect a master from the set of available devices within the subnet, define a relationship between the common_time timeline the local time timeline (provided by the local time HAL), and then attempt to maintain synchronization between common and local time by controlling the frequency of the local time clock via the HAL, or by disciplining local time in the digital domain if the local time HAL implementation does not support HW slewing. On its own, the native common time service will do nothing until it is configured. The CommonTimeManagementService (running out of the system server process) is responsible for implementing policy regarding configuration and operation of the common_time service and will be added in a subsequent CL. Change-Id: I71292f9b9b1797665865689c4572c9d3a0552f64 Signed-off-by: John Grossman <johngro@google.com>
* | | Merge "Piping texture names through shader builder. Fixing uint size_t ↵Alex Sakhartchouk2012-02-1614-261/+321
|\ \ \ | | | | | | | | | | | | mismatch."
| * | | Piping texture names through shader builder.Alex Sakhartchouk2012-02-1514-261/+321
| | | | | | | | | | | | | | | | | | | | | | | | Fixing uint size_t mismatch. Change-Id: Ia7c8bd9f829deaa50e1cc381ccd50f29676bbdfb
* | | | Merge "Fixing uint32 size_t mismatches."Alex Sakhartchouk2012-02-154-12/+12
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Fixing uint32 size_t mismatches.Alex Sakhartchouk2012-02-144-12/+12
| | | | | | | | | | | | Change-Id: I5263158f5855472db6317a52c209fe4e273f3368
* | | Merge "Beging IO stream out from allocation to surface texture."Jason Sams2012-02-157-2/+172
|\ \ \ | |_|/ |/| |
| * | Beging IO stream out from allocation to surface texture.Jason Sams2012-02-157-2/+172
| |/ | | | | | | Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
* | Merge "Refactored query function from SurfaceTexture into BufferQueue"Jamie Gennis2012-02-142-29/+31
|\ \ | |/ |/|
| * Refactored query function from SurfaceTexture into BufferQueueDaniel Lam2012-02-092-29/+31
| | | | | | | | Change-Id: Id1cb6cc38d01edb4fcfcad867c5a7693bdcc3ab1
* | Merge "Initialize all class members."Stephen Hines2012-02-141-1/+2
|\ \
| * | Initialize all class members.Stephen Hines2012-02-131-1/+2
| | | | | | | | | | | | Change-Id: I2bb2701a9dde66f6c4484a62945c72ddf52248fa
* | | 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."