OSDN Git Service

android-x86/frameworks-native.git
9 years agoRemove gamma correction from color correction shader
Alan Viverette [Wed, 29 Apr 2015 00:15:57 +0000 (17:15 -0700)]
Remove gamma correction from color correction shader

Gamma correction was incorrectly skewing both color inversion and
Daltonization, which resulted in washed-out colors.

Bug: 20346301
Change-Id: I34d879f902c3be115b2d23f09c3ed3902799759e

9 years agolibgui: Change detachNextBuffer to return sp<GB>
Dan Stoza [Mon, 27 Apr 2015 18:06:01 +0000 (11:06 -0700)]
libgui: Change detachNextBuffer to return sp<GB>

Changes Surface::detachNextBuffer to return an sp<GraphicBuffer>
instead of an ANativeWindowBuffer* to ensure that reference counting
works correctly.

Bug: 20092217
Change-Id: I3979ea6121aaf14845f0554477b778770413581e
(cherry picked from commit 8b2daa3ca29492b181fb67840640d771c4a2b3ac)

9 years agoBuild fix SensorEventQueue.
Aravind Akella [Sat, 25 Apr 2015 03:30:09 +0000 (20:30 -0700)]
Build fix SensorEventQueue.

Change-Id: I3e6ba031d42bd37067591771f378b7185169ab48

9 years agoBuild fix change method signature of enableDataInjection.
Aravind Akella [Sat, 25 Apr 2015 02:40:50 +0000 (19:40 -0700)]
Build fix change method signature of enableDataInjection.

Change-Id: I3927aec64f5a1555d2e5d07591fd04e7b3be5f09

9 years agoMerge "Enable data injection mode in SensorService."
Aravind Akella [Sat, 25 Apr 2015 01:40:34 +0000 (01:40 +0000)]
Merge "Enable data injection mode in SensorService."

9 years agoOMX: add event for rendering an output frame by a tunneled decoder
Lajos Molnar [Fri, 24 Apr 2015 20:28:18 +0000 (13:28 -0700)]
OMX: add event for rendering an output frame by a tunneled decoder

Bug: 20503131
Change-Id: Ia5cc7629244c986f059a3571be1d8aca87006e02

9 years agoam 5d10894c: am ef47c080: am 958f5011: Merge "libgui: Allow an IGBProducer to disable...
Dan Stoza [Fri, 24 Apr 2015 16:33:38 +0000 (16:33 +0000)]
am 5d10894c: am ef47c080: am 958f5011: Merge "libgui: Allow an IGBProducer to disable allocation"

* commit '5d10894c9d547449cf231f02b736da9dfdebec11':
  libgui: Allow an IGBProducer to disable allocation

9 years agoam 437fb850: am f96a7581: am fb6d43ff: Merge "libgui: Change BufferQueue to use free...
Dan Stoza [Fri, 24 Apr 2015 16:33:37 +0000 (16:33 +0000)]
am 437fb850: am f96a7581: am fb6d43ff: Merge "libgui: Change BufferQueue to use free lists"

* commit '437fb850b0667be3e8655cb1ac6a8d491f59d045':
  libgui: Change BufferQueue to use free lists

9 years agoam ef47c080: am 958f5011: Merge "libgui: Allow an IGBProducer to disable allocation"
Dan Stoza [Fri, 24 Apr 2015 16:12:30 +0000 (16:12 +0000)]
am ef47c080: am 958f5011: Merge "libgui: Allow an IGBProducer to disable allocation"

* commit 'ef47c080fd0e7fb8bf1fc4b0ecadae277a22f2cf':
  libgui: Allow an IGBProducer to disable allocation

9 years agoam f96a7581: am fb6d43ff: Merge "libgui: Change BufferQueue to use free lists"
Dan Stoza [Fri, 24 Apr 2015 16:12:29 +0000 (16:12 +0000)]
am f96a7581: am fb6d43ff: Merge "libgui: Change BufferQueue to use free lists"

* commit 'f96a758139be0d5c298abad8e27083b0f0849818':
  libgui: Change BufferQueue to use free lists

9 years agoam 958f5011: Merge "libgui: Allow an IGBProducer to disable allocation"
Dan Stoza [Fri, 24 Apr 2015 16:00:22 +0000 (16:00 +0000)]
am 958f5011: Merge "libgui: Allow an IGBProducer to disable allocation"

* commit '958f501189a29e53767f41bc8172e4af8d1ce2bf':
  libgui: Allow an IGBProducer to disable allocation

9 years agoam fb6d43ff: Merge "libgui: Change BufferQueue to use free lists"
Dan Stoza [Fri, 24 Apr 2015 16:00:21 +0000 (16:00 +0000)]
am fb6d43ff: Merge "libgui: Change BufferQueue to use free lists"

* commit 'fb6d43ff44bb2b708494749a7f6037505ccd7bf6':
  libgui: Change BufferQueue to use free lists

9 years agoMerge "libgui: Allow an IGBProducer to disable allocation"
Dan Stoza [Fri, 24 Apr 2015 15:50:09 +0000 (15:50 +0000)]
Merge "libgui: Allow an IGBProducer to disable allocation"

9 years agoMerge "libgui: Change BufferQueue to use free lists"
Dan Stoza [Fri, 24 Apr 2015 15:48:37 +0000 (15:48 +0000)]
Merge "libgui: Change BufferQueue to use free lists"

9 years agoEnable data injection mode in SensorService.
Aravind Akella [Fri, 17 Apr 2015 01:57:31 +0000 (18:57 -0700)]
Enable data injection mode in SensorService.

Change-Id: I0cd32a017235c31c54816e4a357ce3b988350ed6

9 years agoam 65f68d5c: am fece8306: am 56f1f16c: Merge "libgui: Fix some bitrot/warnings in...
Dan Stoza [Thu, 23 Apr 2015 23:44:33 +0000 (23:44 +0000)]
am 65f68d5c: am fece8306: am 56f1f16c: Merge "libgui: Fix some bitrot/warnings in tests"

* commit '65f68d5cb4a758a8e6faac95817f70383748a9c0':
  libgui: Fix some bitrot/warnings in tests

9 years agoam 17df593e: am 9aae16a4: am 82e4d49b: Merge "libui/libgui: Fix errors in parceling"
Dan Stoza [Thu, 23 Apr 2015 23:44:32 +0000 (23:44 +0000)]
am 17df593e: am 9aae16a4: am 82e4d49b: Merge "libui/libgui: Fix errors in parceling"

* commit '17df593eb386940a26377d2db9fcb8a60e8badba':
  libui/libgui: Fix errors in parceling

9 years agoam fece8306: am 56f1f16c: Merge "libgui: Fix some bitrot/warnings in tests"
Dan Stoza [Thu, 23 Apr 2015 23:13:56 +0000 (23:13 +0000)]
am fece8306: am 56f1f16c: Merge "libgui: Fix some bitrot/warnings in tests"

* commit 'fece83060e9640636f00a97fe236aff353d78c71':
  libgui: Fix some bitrot/warnings in tests

9 years agoam 9aae16a4: am 82e4d49b: Merge "libui/libgui: Fix errors in parceling"
Dan Stoza [Thu, 23 Apr 2015 23:13:56 +0000 (23:13 +0000)]
am 9aae16a4: am 82e4d49b: Merge "libui/libgui: Fix errors in parceling"

* commit '9aae16a47d727a2650af0f0892657b41bd88215d':
  libui/libgui: Fix errors in parceling

9 years agoam 56f1f16c: Merge "libgui: Fix some bitrot/warnings in tests"
Dan Stoza [Thu, 23 Apr 2015 23:02:49 +0000 (23:02 +0000)]
am 56f1f16c: Merge "libgui: Fix some bitrot/warnings in tests"

* commit '56f1f16c7b01a53282d483259ae80d035cc6496b':
  libgui: Fix some bitrot/warnings in tests

9 years agoam 82e4d49b: Merge "libui/libgui: Fix errors in parceling"
Dan Stoza [Thu, 23 Apr 2015 23:02:48 +0000 (23:02 +0000)]
am 82e4d49b: Merge "libui/libgui: Fix errors in parceling"

* commit '82e4d49b0ecb205d49f02cc07496f7508c56443c':
  libui/libgui: Fix errors in parceling

9 years agoMerge "libgui: Fix some bitrot/warnings in tests"
Dan Stoza [Thu, 23 Apr 2015 22:53:36 +0000 (22:53 +0000)]
Merge "libgui: Fix some bitrot/warnings in tests"

9 years agoMerge "libui/libgui: Fix errors in parceling"
Dan Stoza [Thu, 23 Apr 2015 22:51:00 +0000 (22:51 +0000)]
Merge "libui/libgui: Fix errors in parceling"

9 years agolibgui: Allow an IGBProducer to disable allocation
Dan Stoza [Fri, 17 Apr 2015 00:28:43 +0000 (17:28 -0700)]
libgui: Allow an IGBProducer to disable allocation

Adds a new method IGBP::allowAllocation, which controls whether
dequeueBuffer is permitted to allocate a new buffer. If allocation is
disallowed, dequeueBuffer will block or return an error as it
normally would (as controlled by *ControlledByApp).

If there are free buffers, but they are not of the correct dimensions,
format, or usage, they may be freed if a more suitable buffer is not
found first.

Bug: 19801715
Change-Id: I0d604958b78b2fd775c2547690301423f9a52165

9 years agolibgui: Change BufferQueue to use free lists
Dan Stoza [Thu, 23 Apr 2015 20:20:51 +0000 (13:20 -0700)]
libgui: Change BufferQueue to use free lists

BufferQueue used to choose free buffers by scanning through its array
of slots and picking one based on timestamp. This changes that
mechanism to use a pair of free lists: one with buffers attached and
one without. This makes it easier to choose either type of free slot
depending on the needs of the current operation.

Fixes an issue with the first version of this change, found in bugs
2048295220443314, and 20464549.

Bug: 13175420
Change-Id: I9b6e83cfe8f9b4329a976025cb8e291d51fb6d4a

9 years agoam 423b40f7: am 368270fd: am de5c15b8: Merge "SF: Always perform sideband transactions"
Dan Stoza [Thu, 23 Apr 2015 02:17:42 +0000 (02:17 +0000)]
am 423b40f7: am 368270fd: am de5c15b8: Merge "SF: Always perform sideband transactions"

* commit '423b40f7bd004a8ab5bca887e3855cd20c6bcc28':
  SF: Always perform sideband transactions

9 years agoam 368270fd: am de5c15b8: Merge "SF: Always perform sideband transactions"
Dan Stoza [Thu, 23 Apr 2015 00:17:59 +0000 (00:17 +0000)]
am 368270fd: am de5c15b8: Merge "SF: Always perform sideband transactions"

* commit '368270fd6d4681d2de5502ffc6194ade9a13e65a':
  SF: Always perform sideband transactions

9 years agoam de5c15b8: Merge "SF: Always perform sideband transactions"
Dan Stoza [Thu, 23 Apr 2015 00:06:03 +0000 (00:06 +0000)]
am de5c15b8: Merge "SF: Always perform sideband transactions"

* commit 'de5c15b8bd12143829d043fa4ab457600e5682b3':
  SF: Always perform sideband transactions

9 years agoMerge "SF: Always perform sideband transactions"
Dan Stoza [Wed, 22 Apr 2015 23:57:28 +0000 (23:57 +0000)]
Merge "SF: Always perform sideband transactions"

9 years agoSF: Always perform sideband transactions
Dan Stoza [Wed, 22 Apr 2015 21:59:08 +0000 (14:59 -0700)]
SF: Always perform sideband transactions

On normal Layers, we defer applying resize transactions until a buffer
of the correct size arrives. This breaks with sideband streams, because
buffers are not seen by SurfaceFlinger. This change applies
transactions immediately for Layers which have a sideband stream
attached to avoid that problem.

Bug: 20428254
Change-Id: I379d8aaef460d467cdf8432764b4a504928fb65a
(cherry picked from commit c300b8b506536e1bf94ffd8a3b75d46e776923e0)

9 years agoam 41422980: am d2c12e4c: am 7637e35d: Merge "Revert "libgui: Change BufferQueue...
Dan Stoza [Wed, 22 Apr 2015 22:18:58 +0000 (22:18 +0000)]
am 41422980: am d2c12e4c: am 7637e35d: Merge "Revert "libgui: Change BufferQueue to use free lists""

* commit '41422980fabb087390791d951c28fef072d93be1':
  Revert "libgui: Change BufferQueue to use free lists"

9 years agoam d2c12e4c: am 7637e35d: Merge "Revert "libgui: Change BufferQueue to use free lists""
Dan Stoza [Wed, 22 Apr 2015 19:17:56 +0000 (19:17 +0000)]
am d2c12e4c: am 7637e35d: Merge "Revert "libgui: Change BufferQueue to use free lists""

* commit 'd2c12e4cd394ab9ed642526f8bd0e1b3acd692ae':
  Revert "libgui: Change BufferQueue to use free lists"

9 years agoam 7637e35d: Merge "Revert "libgui: Change BufferQueue to use free lists""
Dan Stoza [Wed, 22 Apr 2015 19:07:10 +0000 (19:07 +0000)]
am 7637e35d: Merge "Revert "libgui: Change BufferQueue to use free lists""

* commit '7637e35d17e06d532b0d2d11c0eef60594726209':
  Revert "libgui: Change BufferQueue to use free lists"

9 years agoMerge "Revert "libgui: Change BufferQueue to use free lists""
Dan Stoza [Wed, 22 Apr 2015 18:59:01 +0000 (18:59 +0000)]
Merge "Revert "libgui: Change BufferQueue to use free lists""

9 years agoRevert "libgui: Change BufferQueue to use free lists"
Dan Stoza [Wed, 22 Apr 2015 18:57:39 +0000 (18:57 +0000)]
Revert "libgui: Change BufferQueue to use free lists"

This reverts commit 8dddc990103b71137be2a6365a26b1ac36598e68.

Change-Id: I0b0fed9f1394c6f6ae812f6c562ead4473a8226e

9 years agoam 3805a00d: am 91f16b1b: am e647ddde: Merge "libgui: Fix CPU rendering on Surface"
Dan Stoza [Wed, 22 Apr 2015 00:47:35 +0000 (00:47 +0000)]
am 3805a00d: am 91f16b1b: am e647ddde: Merge "libgui: Fix CPU rendering on Surface"

* commit '3805a00d6efef02535aaed96f412e0c55a9875f8':
  libgui: Fix CPU rendering on Surface

9 years agoam 91f16b1b: am e647ddde: Merge "libgui: Fix CPU rendering on Surface"
Dan Stoza [Wed, 22 Apr 2015 00:30:31 +0000 (00:30 +0000)]
am 91f16b1b: am e647ddde: Merge "libgui: Fix CPU rendering on Surface"

* commit '91f16b1b9c12e897d15198953684d9c7731ca47a':
  libgui: Fix CPU rendering on Surface

9 years agoMerge "Fixed build error with clang/llvm."
Wale Ogunwale [Wed, 22 Apr 2015 00:27:30 +0000 (00:27 +0000)]
Merge "Fixed build error with clang/llvm."

9 years agoam e647ddde: Merge "libgui: Fix CPU rendering on Surface"
Dan Stoza [Wed, 22 Apr 2015 00:17:33 +0000 (00:17 +0000)]
am e647ddde: Merge "libgui: Fix CPU rendering on Surface"

* commit 'e647dddebb11a383c0d95b6dfd0cbe0998d9b644':
  libgui: Fix CPU rendering on Surface

9 years agoMerge "libgui: Fix CPU rendering on Surface"
Dan Stoza [Wed, 22 Apr 2015 00:07:51 +0000 (00:07 +0000)]
Merge "libgui: Fix CPU rendering on Surface"

9 years agolibgui: Fix CPU rendering on Surface
Dan Stoza [Tue, 21 Apr 2015 23:42:49 +0000 (16:42 -0700)]
libgui: Fix CPU rendering on Surface

When the surface damage code went in, it incorrectly assumed that if
an application was doing CPU rendering, it would be using lock and
unlockAndPost instead of dequeue and queue, so it repurposed the dirty
region too aggressively. This change keeps it from clobbering the
dirty region if a CPU producer is attached.

Bug: 20431815
Change-Id: Id4dfd71378311ea822f0289f6de2d20a7bd84014

9 years agoMerge "Default to TOOL_TYPE_STYLUS for external stylus events."
Michael Wright [Tue, 21 Apr 2015 21:46:31 +0000 (21:46 +0000)]
Merge "Default to TOOL_TYPE_STYLUS for external stylus events."

9 years agoIncrease stylus data timeout.
Michael Wright [Tue, 21 Apr 2015 21:45:13 +0000 (22:45 +0100)]
Increase stylus data timeout.

Temporarily increase the stylus timeout while we figure out where the
delay in BT information is coming from.

Change-Id: I27ab5a4db4ad14358c6e6803961612420371fce9

9 years agoDefault to TOOL_TYPE_STYLUS for external stylus events.
Michael Wright [Tue, 21 Apr 2015 18:01:58 +0000 (19:01 +0100)]
Default to TOOL_TYPE_STYLUS for external stylus events.

Change-Id: Ife6a7c4802e8b1ec1ff8445e639f8a6d90a00592

9 years agoRevert "Increase stylus data timeout."
Michael Wright [Tue, 21 Apr 2015 21:37:02 +0000 (22:37 +0100)]
Revert "Increase stylus data timeout."

This reverts commit 8b0673ce0ca97952d3ed9cb8912b31f367e41c0c.

9 years agoMerge "Increase stylus data timeout."
Michael Wright [Tue, 21 Apr 2015 21:23:44 +0000 (21:23 +0000)]
Merge "Increase stylus data timeout."

9 years agoFixed build error with clang/llvm.
Wale Ogunwale [Tue, 21 Apr 2015 19:29:50 +0000 (12:29 -0700)]
Fixed build error with clang/llvm.

Change-Id: Ideacdc974ebad542df724464ccba9fcfb2b7ea91

9 years agoMerge "Introduces navigation keycodes."
Joseph Cooper [Tue, 21 Apr 2015 15:31:41 +0000 (15:31 +0000)]
Merge "Introduces navigation keycodes."

9 years agoMerge "Add ashmem stats to Parcels"
Dan Sandler [Tue, 21 Apr 2015 14:10:17 +0000 (14:10 +0000)]
Merge "Add ashmem stats to Parcels"

9 years agoIncrease stylus data timeout.
Michael Wright [Tue, 21 Apr 2015 14:06:43 +0000 (15:06 +0100)]
Increase stylus data timeout.

Sometimes stylus data will be delayed by 30 - 40ms. By increasing the
timeout we pretty much always pick up stylus data and the touch
latency feels surprisingly small.

Change-Id: I39f5b9037ce0444b1e957149d3f1c3a3137804cb

9 years agoMerge "Always update external stylus state."
Michael Wright [Mon, 20 Apr 2015 22:35:36 +0000 (22:35 +0000)]
Merge "Always update external stylus state."

9 years agoAlways update external stylus state.
Michael Wright [Mon, 20 Apr 2015 21:03:54 +0000 (22:03 +0100)]
Always update external stylus state.

This prevents us from dropping any states (namely the pressure
transition from non-zero to zero) if we get the touch up before we
get the stylus data.

Change-Id: Ifc198628d35b7079dc5ec23d81f9681d122757a0

9 years agoam aadb236d: am 483c76dc: am ff5c1a6b: Merge "libgui: Change BufferQueue to use free...
Dan Stoza [Mon, 20 Apr 2015 20:59:55 +0000 (20:59 +0000)]
am aadb236d: am 483c76dc: am ff5c1a6b: Merge "libgui: Change BufferQueue to use free lists"

* commit 'aadb236d2e944791c1e7600eae9439fcb8a6caa9':
  libgui: Change BufferQueue to use free lists

9 years agoam 483c76dc: am ff5c1a6b: Merge "libgui: Change BufferQueue to use free lists"
Dan Stoza [Mon, 20 Apr 2015 20:35:50 +0000 (20:35 +0000)]
am 483c76dc: am ff5c1a6b: Merge "libgui: Change BufferQueue to use free lists"

* commit '483c76dcb855fe87adc670c0a0ea1e1ce237dd81':
  libgui: Change BufferQueue to use free lists

9 years agoam ff5c1a6b: Merge "libgui: Change BufferQueue to use free lists"
Dan Stoza [Mon, 20 Apr 2015 20:24:58 +0000 (20:24 +0000)]
am ff5c1a6b: Merge "libgui: Change BufferQueue to use free lists"

* commit 'ff5c1a6b677d8d25630ffc3d1a868eb98a38ceab':
  libgui: Change BufferQueue to use free lists

9 years agolibgui: Fix some bitrot/warnings in tests
Dan Stoza [Mon, 20 Apr 2015 19:09:38 +0000 (12:09 -0700)]
libgui: Fix some bitrot/warnings in tests

These tests hadn't been run in a while and had accumulated some rot.
This fixes most of the compile warnings and some tests which fail
incorrectly, but 2 failures remain on N6.

Change-Id: I7fee78cd058a32f4d7df40ec9f899ff767f68517

9 years agolibui/libgui: Fix errors in parceling
Dan Stoza [Mon, 20 Apr 2015 19:07:13 +0000 (12:07 -0700)]
libui/libgui: Fix errors in parceling

BufferItem and GraphicBuffer were not parceling correctly, which had
not been noticed because the libgui tests (specifically, one that
tests placing a BufferQueue in a separate process from the IGBP/C)
had not been run recently. This change fixes the errors found in
those classes.

Change-Id: Ie224361a534a79115a3481d83ff97f21d154d4f5

9 years agoMerge "libgui: Change BufferQueue to use free lists"
Dan Stoza [Mon, 20 Apr 2015 20:14:13 +0000 (20:14 +0000)]
Merge "libgui: Change BufferQueue to use free lists"

9 years agoMark all InputReaderContext methods as pure virtual
Michael Wright [Fri, 17 Apr 2015 17:35:15 +0000 (18:35 +0100)]
Mark all InputReaderContext methods as pure virtual

Also, fix the build.

Change-Id: I45d3daa8c0710b2f9421e8ffd011d2d39c05e030

9 years agoFuse stylus and touch screen data.
Michael Wright [Sat, 14 Mar 2015 00:32:02 +0000 (17:32 -0700)]
Fuse stylus and touch screen data.

TODO: Ensure we dispatch new pressure and button data when stylus
is stationary.

Change-Id: I10a665a9b81ff4b9acd01bf72f0fc2e0c2abc203

9 years agolibgui: Change BufferQueue to use free lists
Dan Stoza [Thu, 16 Apr 2015 22:39:18 +0000 (15:39 -0700)]
libgui: Change BufferQueue to use free lists

BufferQueue used to choose free buffers by scanning through its array
of slots and picking one based on timestamp. This changes that
mechanism to use a pair of free lists: one with buffers attached and
one without. This makes it easier to choose either type of free slot
depending on the needs of the current operation.

Bug: 13175420
Change-Id: Ic8398e7511bd11a60a1c82e3ad2ee271c9822be1

9 years agoAdd method stubs for input device properties.
Tim Kilbourn [Mon, 6 Apr 2015 20:48:50 +0000 (13:48 -0700)]
Add method stubs for input device properties.

Change-Id: Icd785cb55ae2b225102fa249240837a91a41aae3

9 years agoIntroduces navigation keycodes.
Joseph Cooper [Wed, 15 Apr 2015 23:45:18 +0000 (16:45 -0700)]
Introduces navigation keycodes.

These four new navigation keycodes are intended to be used to
navigate a tree hierarchy or list of items.  They should be used to
allow the user to advance forward or backward within a list of
sibling items, expand the currently selected item to navigate the
item's children, or back out from the current item to its parent
item or state.

Change-Id: I4781e9d7756ed00ca14d8d4c743da3cc0e68ea6c

9 years agoAdd ashmem stats to Parcels
Dan Sandler [Fri, 10 Apr 2015 14:08:45 +0000 (10:08 -0400)]
Add ashmem stats to Parcels

Requires change Ifaf115da in frameworks/base.

Bug: 20079551
Change-Id: Ifaf115dabd1a59cdb1b46e2d49c41f64ac107de4

9 years agoMerge "am e06cba2..e06cba2 from mirror-m-wireless-internal-release"
Vinit Deshpande [Thu, 16 Apr 2015 02:36:02 +0000 (02:36 +0000)]
Merge "am e06cba2..e06cba2 from mirror-m-wireless-internal-release"

9 years agoam 66dc4ee3: am b47584f4: am 2e398e64: Merge "SF: Permit changing DispSync offsets...
Dan Stoza [Wed, 15 Apr 2015 22:16:03 +0000 (22:16 +0000)]
am 66dc4ee3: am b47584f4: am 2e398e64: Merge "SF: Permit changing DispSync offsets at runtime"

* commit '66dc4ee3729c4e6fea624805a1e58843ce920477':
  SF: Permit changing DispSync offsets at runtime

9 years agoam b47584f4: am 2e398e64: Merge "SF: Permit changing DispSync offsets at runtime"
Dan Stoza [Wed, 15 Apr 2015 21:54:30 +0000 (21:54 +0000)]
am b47584f4: am 2e398e64: Merge "SF: Permit changing DispSync offsets at runtime"

* commit 'b47584f46bd850723679d9212f66df1951bbdf5d':
  SF: Permit changing DispSync offsets at runtime

9 years agoam 2e398e64: Merge "SF: Permit changing DispSync offsets at runtime"
Dan Stoza [Wed, 15 Apr 2015 21:46:45 +0000 (21:46 +0000)]
am 2e398e64: Merge "SF: Permit changing DispSync offsets at runtime"

* commit '2e398e64b3bc827ec8caaa1457442a8b3d546aed':
  SF: Permit changing DispSync offsets at runtime

9 years agoam 19f06de0: am 40b2a8b4: am e7d20eb0: Merge "SurfaceFlinger: Pass surface damage...
Dan Stoza [Wed, 15 Apr 2015 21:42:44 +0000 (21:42 +0000)]
am 19f06de0: am 40b2a8b4: am e7d20eb0: Merge "SurfaceFlinger: Pass surface damage to HWC"

* commit '19f06de0930e0f741ed113c37faf306fceee39bd':
  SurfaceFlinger: Pass surface damage to HWC

9 years agoam 057a561a: am 57a9f5a0: am fd5f41be: Merge "libgui: Pass surface damage through...
Dan Stoza [Wed, 15 Apr 2015 21:42:43 +0000 (21:42 +0000)]
am 057a561a: am 57a9f5a0: am fd5f41be: Merge "libgui: Pass surface damage through BufferQueue"

* commit '057a561afbf30ede99b5ec627deec7ee11701f6d':
  libgui: Pass surface damage through BufferQueue

9 years agoam a161b6ce: am c02377e6: am 4d769d8b: Merge "libui: Clean up Fence and Region flatte...
Dan Stoza [Wed, 15 Apr 2015 21:42:36 +0000 (21:42 +0000)]
am a161b6ce: am c02377e6: am 4d769d8b: Merge "libui: Clean up Fence and Region flattening"

* commit 'a161b6cee9253a17be6b8dc232b05a41fde0030a':
  libui: Clean up Fence and Region flattening

9 years agoam f5330845: am 0b2ac673: am 22412a34: Merge "libEGL: Add wrappers for partial update...
Dan Stoza [Wed, 15 Apr 2015 21:42:35 +0000 (21:42 +0000)]
am f5330845: am 0b2ac673: am 22412a34: Merge "libEGL: Add wrappers for partial update functions"

* commit 'f5330845f9c4f03cd65296bd30e2ee00f77e0dcf':
  libEGL: Add wrappers for partial update functions

9 years agoMerge "SF: Permit changing DispSync offsets at runtime"
Dan Stoza [Wed, 15 Apr 2015 21:37:19 +0000 (21:37 +0000)]
Merge "SF: Permit changing DispSync offsets at runtime"

9 years agoam 40b2a8b4: am e7d20eb0: Merge "SurfaceFlinger: Pass surface damage to HWC"
Dan Stoza [Wed, 15 Apr 2015 20:57:33 +0000 (20:57 +0000)]
am 40b2a8b4: am e7d20eb0: Merge "SurfaceFlinger: Pass surface damage to HWC"

* commit '40b2a8b48c8b760699bde3f29e3dbee76015cc98':
  SurfaceFlinger: Pass surface damage to HWC

9 years agoSF: Permit changing DispSync offsets at runtime
Dan Stoza [Tue, 14 Apr 2015 18:34:01 +0000 (11:34 -0700)]
SF: Permit changing DispSync offsets at runtime

This modifies EventThread such that its phase offsets for both
Choreographer and SurfaceFlinger may be modified at runtime. It also
plumbs this functionality up to the SurfaceFlinger debug interface so
that it is possible to rapidly test different offsets without
restarting the framework.

Change-Id: I426873f8553f931250dfebc9a8a4a78e9f1f4309

9 years agoam e7d20eb0: Merge "SurfaceFlinger: Pass surface damage to HWC"
Dan Stoza [Wed, 15 Apr 2015 20:46:35 +0000 (20:46 +0000)]
am e7d20eb0: Merge "SurfaceFlinger: Pass surface damage to HWC"

* commit 'e7d20eb000c1d342c8f5f58011023c0eb7cea6d5':
  SurfaceFlinger: Pass surface damage to HWC

9 years agoam 57a9f5a0: am fd5f41be: Merge "libgui: Pass surface damage through BufferQueue"
Dan Stoza [Wed, 15 Apr 2015 20:45:44 +0000 (20:45 +0000)]
am 57a9f5a0: am fd5f41be: Merge "libgui: Pass surface damage through BufferQueue"

* commit '57a9f5a05327de352896612caf85c991e65ca7be':
  libgui: Pass surface damage through BufferQueue

9 years agoam fd5f41be: Merge "libgui: Pass surface damage through BufferQueue"
Dan Stoza [Wed, 15 Apr 2015 20:35:02 +0000 (20:35 +0000)]
am fd5f41be: Merge "libgui: Pass surface damage through BufferQueue"

* commit 'fd5f41bee9bcb2df64c39ff0de7d684e43d90d9c':
  libgui: Pass surface damage through BufferQueue

9 years agoMerge "SurfaceFlinger: Pass surface damage to HWC"
Dan Stoza [Wed, 15 Apr 2015 20:34:50 +0000 (20:34 +0000)]
Merge "SurfaceFlinger: Pass surface damage to HWC"

9 years agoam c02377e6: am 4d769d8b: Merge "libui: Clean up Fence and Region flattening"
Dan Stoza [Wed, 15 Apr 2015 20:29:45 +0000 (20:29 +0000)]
am c02377e6: am 4d769d8b: Merge "libui: Clean up Fence and Region flattening"

* commit 'c02377e6fd1e7380816ce5c4902330226f20721a':
  libui: Clean up Fence and Region flattening

9 years agoam 0b2ac673: am 22412a34: Merge "libEGL: Add wrappers for partial update functions"
Dan Stoza [Wed, 15 Apr 2015 20:29:44 +0000 (20:29 +0000)]
am 0b2ac673: am 22412a34: Merge "libEGL: Add wrappers for partial update functions"

* commit '0b2ac673137128cd781ab304ab1cab20e9335f8e':
  libEGL: Add wrappers for partial update functions

9 years agoMerge "libgui: Pass surface damage through BufferQueue"
Dan Stoza [Wed, 15 Apr 2015 20:26:55 +0000 (20:26 +0000)]
Merge "libgui: Pass surface damage through BufferQueue"

9 years agoSurfaceFlinger: Pass surface damage to HWC
Dan Stoza [Mon, 23 Mar 2015 22:50:23 +0000 (15:50 -0700)]
SurfaceFlinger: Pass surface damage to HWC

Passes the surface damage from the incoming SurfaceFlingerConsumer
BufferQueue down to the hardware composer HAL interface, if the
HWC version number is 1.5 or greater.

Bug: 11239309
Change-Id: Ic4305210593874a8d6deba3319055b2b8c57e926

9 years agolibgui: Pass surface damage through BufferQueue
Dan Stoza [Tue, 17 Mar 2015 23:23:42 +0000 (16:23 -0700)]
libgui: Pass surface damage through BufferQueue

This change adds support for passing surface damage all of the way
down from the EGL interface through the consumer side of the
BufferQueue. Depends on system/core change
Ie645e6a52b37b5c1b3be19481e8348570d1aa62c

Bug: 11239309
Change-Id: I4457ea826e9ade4ec187f973851d855b7b93a31b

9 years agoam 4d769d8b: Merge "libui: Clean up Fence and Region flattening"
Dan Stoza [Wed, 15 Apr 2015 20:18:44 +0000 (20:18 +0000)]
am 4d769d8b: Merge "libui: Clean up Fence and Region flattening"

* commit '4d769d8bdc2fd57d34ab0fa4b9208ac0eb67cd61':
  libui: Clean up Fence and Region flattening

9 years agoam 22412a34: Merge "libEGL: Add wrappers for partial update functions"
Dan Stoza [Wed, 15 Apr 2015 20:18:43 +0000 (20:18 +0000)]
am 22412a34: Merge "libEGL: Add wrappers for partial update functions"

* commit '22412a34c6d61394bad2c6e75105ea42a0c496cb':
  libEGL: Add wrappers for partial update functions

9 years agoMerge "libui: Clean up Fence and Region flattening"
Dan Stoza [Wed, 15 Apr 2015 20:13:53 +0000 (20:13 +0000)]
Merge "libui: Clean up Fence and Region flattening"

9 years agoMerge "libEGL: Add wrappers for partial update functions"
Dan Stoza [Wed, 15 Apr 2015 20:08:35 +0000 (20:08 +0000)]
Merge "libEGL: Add wrappers for partial update functions"

9 years agolibui: Clean up Fence and Region flattening
Dan Stoza [Mon, 23 Mar 2015 20:46:14 +0000 (13:46 -0700)]
libui: Clean up Fence and Region flattening

Fence was flattening incorrectly, causing issues with any fields
flattened after it, and Region was relying on being the last object
flattened. This change addresses both.

Change-Id: If49de061de6e2f11f4d846b4d8c18627dfb7e109

9 years agolibEGL: Add wrappers for partial update functions
Dan Stoza [Thu, 19 Feb 2015 23:27:36 +0000 (15:27 -0800)]
libEGL: Add wrappers for partial update functions

This adds EGL wrapper functions for the following EGL extensions:
    EGL_EXT_buffer_age
    EGL_KHR_partial_update
    EGL_KHR_swap_buffers_with_damage

Change-Id: I407acda1e0310f7f01a5efe9c915721a941138a4

9 years agoam e06cba2..e06cba2 from mirror-m-wireless-internal-release
Vinit Deshpande [Tue, 14 Apr 2015 22:06:07 +0000 (15:06 -0700)]
am e06cba2..e06cba2 from mirror-m-wireless-internal-release

e06cba2 multinetwork API: native header

9 years agoAdded IPCThreadState::blockUntilThreadAvailable() method.
Wale Ogunwale [Mon, 13 Apr 2015 23:16:10 +0000 (16:16 -0700)]
Added IPCThreadState::blockUntilThreadAvailable() method.

Will be used by the system_server watchdog to monitor the
availability of binder threads in the process to handle
incoming IPC requests.

Bug: 19297165
Change-Id: I39175f3869ad14da5620fddb47f454e6e4ee2b25

9 years agoam 6ea912c0: am ddabf640: am a3f8c2aa: Merge "Fix a memory corruption issue when...
Dan Stoza [Tue, 14 Apr 2015 18:38:43 +0000 (18:38 +0000)]
am 6ea912c0: am ddabf640: am a3f8c2aa: Merge "Fix a memory corruption issue when vector resize"

* commit '6ea912c0494fe67d342224b737078dd90b991db6':
  Fix a memory corruption issue when vector resize

9 years agoam ddabf640: am a3f8c2aa: Merge "Fix a memory corruption issue when vector resize"
Dan Stoza [Tue, 14 Apr 2015 18:18:41 +0000 (18:18 +0000)]
am ddabf640: am a3f8c2aa: Merge "Fix a memory corruption issue when vector resize"

* commit 'ddabf640292041fefca86609ee23f4803107cbb2':
  Fix a memory corruption issue when vector resize

9 years agoam a3f8c2aa: Merge "Fix a memory corruption issue when vector resize"
Dan Stoza [Tue, 14 Apr 2015 18:06:48 +0000 (18:06 +0000)]
am a3f8c2aa: Merge "Fix a memory corruption issue when vector resize"

* commit 'a3f8c2aaf1bb82b436306f65b86d25d4ea955d4d':
  Fix a memory corruption issue when vector resize

9 years agoMerge "Fix a memory corruption issue when vector resize"
Dan Stoza [Tue, 14 Apr 2015 17:50:39 +0000 (17:50 +0000)]
Merge "Fix a memory corruption issue when vector resize"

9 years agoBypass surface flinger permission check for calls from system.
Jeff Brown [Sat, 11 Apr 2015 03:20:13 +0000 (20:20 -0700)]
Bypass surface flinger permission check for calls from system.

Early during the boot, before activity manager is ready to handle
permission checks, the system needs to be able to change the display
state.  Added a hardcoded exemption for AID_SYSTEM (which already
has permission to talk to surface flinger anyhow).

Bug: 19029490
Change-Id: I6222edcab8e394e5fb6adf7a982be446e4505a1e

9 years agoam a36a43b3: am c200d20e: am dfc30ae3: Merge "Command to move private app data betwee...
Jeff Sharkey [Fri, 10 Apr 2015 21:32:03 +0000 (21:32 +0000)]
am a36a43b3: am c200d20e: am dfc30ae3: Merge "Command to move private app data between volumes."

* commit 'a36a43b354b248cef9407de42fb6b87e1c7085f6':
  Command to move private app data between volumes.

9 years agoam c200d20e: am dfc30ae3: Merge "Command to move private app data between volumes."
Jeff Sharkey [Fri, 10 Apr 2015 21:14:54 +0000 (21:14 +0000)]
am c200d20e: am dfc30ae3: Merge "Command to move private app data between volumes."

* commit 'c200d20e32af042e92d03574aaededf6d81d27e0':
  Command to move private app data between volumes.

9 years agoam dfc30ae3: Merge "Command to move private app data between volumes."
Jeff Sharkey [Fri, 10 Apr 2015 21:08:43 +0000 (21:08 +0000)]
am dfc30ae3: Merge "Command to move private app data between volumes."

* commit 'dfc30ae393fd610fcbd05a1ecfe7d4834a792de3':
  Command to move private app data between volumes.