OSDN Git Service
Dan Stoza [Fri, 8 May 2015 16:54:40 +0000 (16:54 +0000)]
am
98a13a14: Merge "SF: Apply pending transactions to new sidebands" into mnc-dev
* commit '
98a13a1475682870f5121446f9c80aa18855c884':
SF: Apply pending transactions to new sidebands
Dan Stoza [Fri, 8 May 2015 16:32:26 +0000 (16:32 +0000)]
Merge "SF: Apply pending transactions to new sidebands" into mnc-dev
Pat Tjin [Thu, 7 May 2015 21:21:13 +0000 (21:21 +0000)]
am
deb6baa6: Merge "surfaceflinger: Fix range check for getFormat" into mnc-dev
* commit '
deb6baa6b349cc5c176b911bcd1e551d15404bf7':
surfaceflinger: Fix range check for getFormat
Pat Tjin [Thu, 7 May 2015 20:57:48 +0000 (20:57 +0000)]
Merge "surfaceflinger: Fix range check for getFormat" into mnc-dev
Svet Ganov [Thu, 7 May 2015 20:32:08 +0000 (20:32 +0000)]
am
5fa32d4b: Fix broken NDK sensor manager API.
* commit '
5fa32d4b08843d0aeca567a173227e8e37322e8e':
Fix broken NDK sensor manager API.
Ajay Dudani [Sun, 3 May 2015 18:44:55 +0000 (11:44 -0700)]
surfaceflinger: Fix range check for getFormat
Fix potential buffer overflow error in getFormat with indices
greater than MAX_HWC_DISPLAYS.
Change-Id: I5e5b69d8d043e900f5e33ca9a62e94ae5f857b68
Svet Ganov [Thu, 7 May 2015 17:50:59 +0000 (10:50 -0700)]
Fix broken NDK sensor manager API.
Change-Id: I21bb8b0dcfd3f1c812753a9fd77dea792e7155f2
Aaron Schulman [Thu, 7 May 2015 17:43:30 +0000 (17:43 +0000)]
am
cbe13ef5: Added Voltage and Current regulator ftrace events to atrace
* commit '
cbe13ef59b25b6df226c09b9351f0f615bc68dda':
Added Voltage and Current regulator ftrace events to atrace
Chris Craik [Thu, 7 May 2015 16:45:29 +0000 (16:45 +0000)]
am
9a104951: am
05815996: Merge "Added Voltage and Current regulator ftrace events to atrace"
* commit '
9a104951a387a84709705405732a69f690d2c9f0':
Added Voltage and Current regulator ftrace events to atrace
Chris Craik [Thu, 7 May 2015 16:34:00 +0000 (16:34 +0000)]
am
05815996: Merge "Added Voltage and Current regulator ftrace events to atrace"
* commit '
05815996c965b99c4cc4ea96f6b6c4a9123cdf1c':
Added Voltage and Current regulator ftrace events to atrace
Aaron Schulman [Wed, 25 Feb 2015 16:37:09 +0000 (08:37 -0800)]
Added Voltage and Current regulator ftrace events to atrace
Cherry-pick of
c2c6ecd1195481f5813a721a7d20a73c0795c135 from AOSP
Tracing the state of the voltage and current regulators enables a developer
to attribute power consumption measurements to specific perhipherals and
cores. Unlike other indirect methods of tracing when peripherals and cores
are toggled, the regulator ftrace event indicates the exact point in time
when the kernel switches on or off the device. For example, in the following
trace, a developer can see exactly when the krait2 core starts receiving
power, and and when the voltage is set for voltage scaling.
mpdecision-2172 [000] ...1 1566.665481: regulator_enable: name=krait2
mpdecision-2172 [000] ...1 1566.665493: regulator_enable_delay: name=krait2
mpdecision-2172 [000] ...1 1566.665495: regulator_enable_complete: name=krait2
<...>-4133 [002] ...1 1566.666891: regulator_set_voltage: name=krait2 (
1075000-
1100000)
Change-Id: Ia322206ef74496daf1d9baa03545d8e89e398487
Signed-off-by: Aaron Schulman <aschulman@google.com>
Chris Craik [Thu, 7 May 2015 16:20:52 +0000 (16:20 +0000)]
Merge "Added Voltage and Current regulator ftrace events to atrace"
Dan Stoza [Wed, 6 May 2015 23:48:07 +0000 (23:48 +0000)]
am
c037ca7f: am
c4e98c40: Merge "SF: Apply pending transactions to new sidebands"
* commit '
c037ca7fb1c0163c58e8707d1184bb73aabc0730':
SF: Apply pending transactions to new sidebands
Dan Stoza [Wed, 6 May 2015 17:01:06 +0000 (17:01 +0000)]
am
c4e98c40: Merge "SF: Apply pending transactions to new sidebands"
* commit '
c4e98c40deacb54ad7288337927506cb5798dfa5':
SF: Apply pending transactions to new sidebands
Dan Stoza [Wed, 6 May 2015 16:50:38 +0000 (16:50 +0000)]
Merge "SF: Apply pending transactions to new sidebands"
Dan Stoza [Tue, 5 May 2015 21:00:52 +0000 (14:00 -0700)]
SF: Apply pending transactions to new sidebands
When a Layer's sideband stream is set, apply any pending transactions.
Otherwise they would never be applied since sideband streams don't
trigger updates by pushing new buffers.
Bug:
20125898
Change-Id: I0c7a91cdf84e6205801f4ab64eee0b09e4c0b3e0
(cherry picked from commit
3b04e1383eca6cb1d43ebe23a421c427007690c7)
Dan Stoza [Tue, 5 May 2015 21:00:52 +0000 (14:00 -0700)]
SF: Apply pending transactions to new sidebands
When a Layer's sideband stream is set, apply any pending transactions.
Otherwise they would never be applied since sideband streams don't
trigger updates by pushing new buffers.
Bug:
20125898
Change-Id: I0c7a91cdf84e6205801f4ab64eee0b09e4c0b3e0
(cherry picked from commit
3b04e1383eca6cb1d43ebe23a421c427007690c7)
Dan Stoza [Mon, 4 May 2015 17:17:41 +0000 (17:17 +0000)]
am
d9fd7a78: am
e357f649: Merge "libgui: Clear frame number while freeing slot"
* commit '
d9fd7a786477334d380e18a667a39a3ebe08ed31':
libgui: Clear frame number while freeing slot
Dan Stoza [Mon, 4 May 2015 17:06:30 +0000 (17:06 +0000)]
am
e357f649: Merge "libgui: Clear frame number while freeing slot"
* commit '
e357f6494539cf40a87f77a85e9c0a694c331b86':
libgui: Clear frame number while freeing slot
Dan Stoza [Mon, 4 May 2015 16:57:53 +0000 (16:57 +0000)]
Merge "libgui: Clear frame number while freeing slot"
Dan Stoza [Mon, 4 May 2015 16:54:52 +0000 (16:54 +0000)]
am
79e28789: Merge "libgui: Clear frame number while freeing slot" into mnc-dev
* commit '
79e287890da9de37a834cceebdefe32a7d3ac0ac':
libgui: Clear frame number while freeing slot
Dan Stoza [Mon, 4 May 2015 16:33:46 +0000 (16:33 +0000)]
Merge "libgui: Clear frame number while freeing slot" into mnc-dev
Sasha Levitskiy [Mon, 4 May 2015 00:14:28 +0000 (00:14 +0000)]
am
b0474e78: SensorServiceTest: Fix build, warnings.
* commit '
b0474e78df2a778c42c6746da815f397bb2df374':
SensorServiceTest: Fix build, warnings.
Sasha Levitskiy [Sun, 3 May 2015 04:03:44 +0000 (21:03 -0700)]
SensorServiceTest: Fix build, warnings.
Change-Id: I3ed5247d3eb6c43d185049cf9011c2ee01b5662e
Signed-off-by: Sasha Levitskiy <sanek@google.com>
Dan Stoza [Fri, 1 May 2015 23:42:55 +0000 (16:42 -0700)]
libgui: Clear frame number while freeing slot
Clears the frame number of a slot when it is freed, since it is used
to determine if a released buffer is stale.
Bug:
20445852
Change-Id: I02415e7b25a1eafe7414d6eb1cedf62ac5543cd9
(cherry picked from commit
52937cd9a543fe66696c38ae50ec141aa70ec1e4)
Dan Stoza [Fri, 1 May 2015 23:42:55 +0000 (16:42 -0700)]
libgui: Clear frame number while freeing slot
Clears the frame number of a slot when it is freed, since it is used
to determine if a released buffer is stale.
Bug:
20445852
Change-Id: I02415e7b25a1eafe7414d6eb1cedf62ac5543cd9
Svetoslav [Fri, 1 May 2015 23:40:51 +0000 (23:40 +0000)]
am
c28fe8f5: Merge "Add body sensors app op - framework native" into mnc-dev
* commit '
c28fe8f5c54c5e98be7664dcffdbd5b324b850d6':
Add body sensors app op - framework native
Svetoslav [Fri, 1 May 2015 23:10:55 +0000 (23:10 +0000)]
Merge "Add body sensors app op - framework native" into mnc-dev
Mark Salyzyn [Fri, 1 May 2015 22:13:40 +0000 (22:13 +0000)]
am
701552f3: am
dfe7e7e6: Merge "dumpstate: report per-partition MMC performance"
* commit '
701552f3689c504957242097a9a552a6f4c2daa0':
dumpstate: report per-partition MMC performance
Mark Salyzyn [Fri, 1 May 2015 22:06:00 +0000 (22:06 +0000)]
am
326842fc: dumpstate: report per-partition MMC performance
* commit '
326842fca4883f1256aa9ed019bb3206ee76fca7':
dumpstate: report per-partition MMC performance
Dan Stoza [Fri, 1 May 2015 22:06:00 +0000 (22:06 +0000)]
am
ba9e1f42: Merge "SurfaceFlinger: Fix PTS on stale buffers" into mnc-dev
* commit '
ba9e1f4241a81eb7c453028ee05da56e290d8ce6':
SurfaceFlinger: Fix PTS on stale buffers
Mark Salyzyn [Fri, 1 May 2015 22:02:12 +0000 (22:02 +0000)]
am
dfe7e7e6: Merge "dumpstate: report per-partition MMC performance"
* commit '
dfe7e7e63fa80a8a9050ea47f69a340e2f7e342d':
dumpstate: report per-partition MMC performance
Mark Salyzyn [Thu, 30 Apr 2015 16:49:41 +0000 (09:49 -0700)]
dumpstate: report per-partition MMC performance
(Cherry pick from commit
540e3de99fa1baa5eaf3eb3d49f4e98fd9f5bd91)
Change-Id: If5cabe186d8377056effa1c0672a90e277cd7221
Mark Salyzyn [Fri, 1 May 2015 21:48:51 +0000 (21:48 +0000)]
Merge "dumpstate: report per-partition MMC performance"
Dan Stoza [Fri, 1 May 2015 21:44:06 +0000 (21:44 +0000)]
Merge "SurfaceFlinger: Fix PTS on stale buffers" into mnc-dev
Svetoslav [Wed, 29 Apr 2015 23:50:41 +0000 (16:50 -0700)]
Add body sensors app op - framework native
Change-Id: I727a2bb1e28ae9158f2df9c74dd0aee977dfd47f
Dan Stoza [Fri, 1 May 2015 20:51:40 +0000 (20:51 +0000)]
am
a0162542: am
bb58111c: Merge "SurfaceFlinger: Fix PTS on stale buffers"
* commit '
a0162542609b1dcd8158644e7ba5ae92e84b95d5':
SurfaceFlinger: Fix PTS on stale buffers
Dan Stoza [Fri, 1 May 2015 20:40:26 +0000 (20:40 +0000)]
am
bb58111c: Merge "SurfaceFlinger: Fix PTS on stale buffers"
* commit '
bb58111c22b41f605a8edb6599fd3df42f6d8e4e':
SurfaceFlinger: Fix PTS on stale buffers
Dan Stoza [Fri, 1 May 2015 20:28:47 +0000 (20:28 +0000)]
Merge "SurfaceFlinger: Fix PTS on stale buffers"
Dan Stoza [Tue, 28 Apr 2015 21:42:06 +0000 (14:42 -0700)]
SurfaceFlinger: Fix PTS on stale buffers
SurfaceFlinger's (Layer's) shadow copy of the BufferQueue queue was
getting out of sync for a few reasons. This change fixes these by
doing the following:
- Adds a check to re-synchronize the shadow copy every time we
successfully acquire a buffer by first dropping stale buffers before
removing the current buffer.
- Avoids trying to perform updates for buffers which have been rejected
(for incorrect dimensions) by SurfaceFlinger.
- Adds IGraphicBufferConsumer::setShadowQueueSize, which allows the
consumer to notify the BufferQueue that it is maintaining a shadow
copy of the queue and prevents it from dropping so many buffers
during acquireBuffer that it ends up returning a buffer for which the
consumer has not yet received an onFrameAvailable call.
Bug:
20096136
Change-Id: I78d0738428005fc19b3be85cc8f1db498043612f
(cherry picked from commit
2e36f2283f48ab764b496490c73a132acf21df3a)
Jeff Sharkey [Fri, 1 May 2015 16:45:50 +0000 (16:45 +0000)]
am
61a3c8de: Merge "Offer to move both code and data together." into mnc-dev
* commit '
61a3c8dec90acebef15ef56cae14efea69279f69':
Offer to move both code and data together.
Jeff Sharkey [Fri, 1 May 2015 16:22:40 +0000 (16:22 +0000)]
Merge "Offer to move both code and data together." into mnc-dev
Jeff Sharkey [Thu, 30 Apr 2015 22:58:19 +0000 (15:58 -0700)]
Offer to move both code and data together.
We now move code under /data/app/com.example when a complete move
is requested. This really only works for new cluster-style installs
that also have native libraries and OAT contained inside.
Teach measuring code about cluster-style installs when measuring
app footprint. Also offer to measure private data space for all
users.
Bug:
19993667,
20275578
Change-Id: I6df7b947cb5cc8a4552f56f4b64a661e8512389f
Dan Stoza [Thu, 30 Apr 2015 22:35:08 +0000 (22:35 +0000)]
am
7b2fc930: Merge "SurfaceFlinger: Limit to 4k Layers" into mnc-dev
* commit '
7b2fc930077b1e6ca5946cae6834902318209474':
SurfaceFlinger: Limit to 4k Layers
Dan Stoza [Tue, 28 Apr 2015 21:42:06 +0000 (14:42 -0700)]
SurfaceFlinger: Fix PTS on stale buffers
SurfaceFlinger's (Layer's) shadow copy of the BufferQueue queue was
getting out of sync for a few reasons. This change fixes these by
doing the following:
- Adds a check to re-synchronize the shadow copy every time we
successfully acquire a buffer by first dropping stale buffers before
removing the current buffer.
- Avoids trying to perform updates for buffers which have been rejected
(for incorrect dimensions) by SurfaceFlinger.
- Adds IGraphicBufferConsumer::setShadowQueueSize, which allows the
consumer to notify the BufferQueue that it is maintaining a shadow
copy of the queue and prevents it from dropping so many buffers
during acquireBuffer that it ends up returning a buffer for which the
consumer has not yet received an onFrameAvailable call.
Bug:
20096136
Change-Id: I78d0738428005fc19b3be85cc8f1db498043612f
Dan Stoza [Thu, 30 Apr 2015 22:28:54 +0000 (22:28 +0000)]
am
6dbfc87d: am
32d4b6c8: Merge "SurfaceFlinger: Limit to 4k Layers"
* commit '
6dbfc87da5b07547b7ce7a0218fef3a90d23a6c4':
SurfaceFlinger: Limit to 4k Layers
Dan Stoza [Thu, 30 Apr 2015 22:21:02 +0000 (22:21 +0000)]
am
32d4b6c8: Merge "SurfaceFlinger: Limit to 4k Layers"
* commit '
32d4b6c8e122308a7ae296406f87a1df1b611a44':
SurfaceFlinger: Limit to 4k Layers
Dan Stoza [Thu, 30 Apr 2015 22:16:37 +0000 (22:16 +0000)]
am
5a5d0672: Merge "SurfaceFlinger: Fix integer overflow in Mesh ctor" into mnc-dev
* commit '
5a5d0672c64f85e66f909058fe99284293efe4d3':
SurfaceFlinger: Fix integer overflow in Mesh ctor
Taiju Tsuiki [Thu, 30 Apr 2015 22:16:37 +0000 (22:16 +0000)]
Merge branch 'mnc-dev-plus-aosp' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/native into mnc-dev-plus-aosp
Taiju Tsuiki [Thu, 30 Apr 2015 22:16:35 +0000 (22:16 +0000)]
am
4d0cd3f5: Close Fence FDs in error cases of Surface and GraphicBufferMapper
* commit '
4d0cd3f5241df28d8259c5ee7df33649c5c10f2d':
Close Fence FDs in error cases of Surface and GraphicBufferMapper
Dan Stoza [Thu, 30 Apr 2015 22:16:32 +0000 (22:16 +0000)]
am
c8ffe5a6: am
676d10b2: Merge "SurfaceFlinger: Fix integer overflow in Mesh ctor"
* commit '
c8ffe5a662d3e436beb05e14d2976925b86e26fd':
SurfaceFlinger: Fix integer overflow in Mesh ctor
Dan Stoza [Thu, 30 Apr 2015 22:12:46 +0000 (22:12 +0000)]
Merge "SurfaceFlinger: Limit to 4k Layers" into mnc-dev
Dan Stoza [Thu, 30 Apr 2015 20:29:25 +0000 (13:29 -0700)]
SurfaceFlinger: Limit to 4k Layers
Sets a limit of 4k Layers which SurfaceFlinger will allow to be in
existence at any given time. An attempt to create Layers in excess of
this limit will fail with NO_MEMORY.
Bug:
20674586
Change-Id: I2dfaf59643d826f982b2fa44e8a9ed643176d972
(cherry picked from commit
e7f8dde3f3c398c1ea1bec14e76725a760f71d31)
Dan Stoza [Thu, 30 Apr 2015 22:09:37 +0000 (22:09 +0000)]
Merge "SurfaceFlinger: Limit to 4k Layers"
Dan Stoza [Thu, 30 Apr 2015 22:09:29 +0000 (22:09 +0000)]
am
a4cba8c1: am
ed6e907b: Merge "Close Fence FDs in error cases of Surface and GraphicBufferMapper"
* commit '
a4cba8c1d7e842477dd8842d2362a69616762535':
Close Fence FDs in error cases of Surface and GraphicBufferMapper
Dan Stoza [Thu, 30 Apr 2015 22:08:00 +0000 (22:08 +0000)]
am
676d10b2: Merge "SurfaceFlinger: Fix integer overflow in Mesh ctor"
* commit '
676d10b2709059079823698cb6b16e71a97d6d8b':
SurfaceFlinger: Fix integer overflow in Mesh ctor
Dan Stoza [Thu, 30 Apr 2015 21:59:39 +0000 (21:59 +0000)]
Merge "SurfaceFlinger: Fix integer overflow in Mesh ctor" into mnc-dev
Dan Stoza [Wed, 29 Apr 2015 20:30:31 +0000 (13:30 -0700)]
SurfaceFlinger: Fix integer overflow in Mesh ctor
Performs range checking on the inputs to Mesh::Mesh() before allocating
the storage array.
Bug:
20674682
Change-Id: I4fc918a8c312d967dd6d9f91a098b2e0a7081027
(cherry picked from commit
ab79e33ef3a21a2b14bf15bc4c85aef247b4ad95)
Dan Stoza [Thu, 30 Apr 2015 21:57:16 +0000 (21:57 +0000)]
am
ed6e907b: Merge "Close Fence FDs in error cases of Surface and GraphicBufferMapper"
* commit '
ed6e907bc7a259d85c6a6c141a06a06e5c0b224c':
Close Fence FDs in error cases of Surface and GraphicBufferMapper
Dan Stoza [Thu, 30 Apr 2015 21:57:15 +0000 (21:57 +0000)]
Merge "SurfaceFlinger: Fix integer overflow in Mesh ctor"
Taiju Tsuiki [Thu, 30 Apr 2015 13:15:33 +0000 (22:15 +0900)]
Close Fence FDs in error cases of Surface and GraphicBufferMapper
Surface::{cancel,queue}Buffer and GraphicBufferMapper::lockAsyncYCbCr take the
ownership of |fenceFd|s. Though they don't close it on error cases.
Change-Id: I49a7ce8837d5c510c4ac4ad4649f310d18610e80
(cherry picked from commit
c7263fb43297744eb04b11025424c0c526d5584c)
Dan Stoza [Thu, 30 Apr 2015 21:49:39 +0000 (21:49 +0000)]
Merge "Close Fence FDs in error cases of Surface and GraphicBufferMapper"
Dan Stoza [Thu, 30 Apr 2015 20:29:25 +0000 (13:29 -0700)]
SurfaceFlinger: Limit to 4k Layers
Sets a limit of 4k Layers which SurfaceFlinger will allow to be in
existence at any given time. An attempt to create Layers in excess of
this limit will fail with NO_MEMORY.
Bug:
20674586
Change-Id: I2dfaf59643d826f982b2fa44e8a9ed643176d972
Mark Salyzyn [Thu, 30 Apr 2015 16:49:41 +0000 (09:49 -0700)]
dumpstate: report per-partition MMC performance
Change-Id: If5cabe186d8377056effa1c0672a90e277cd7221
Dan Stoza [Thu, 30 Apr 2015 19:55:49 +0000 (19:55 +0000)]
am
11603b7b: am
08a7c792: Merge "Remove gamma correction from color correction shader"
* commit '
11603b7b87a52795975f7751898ee91ae1792fb3':
Remove gamma correction from color correction shader
Dan Stoza [Wed, 29 Apr 2015 20:30:31 +0000 (13:30 -0700)]
SurfaceFlinger: Fix integer overflow in Mesh ctor
Performs range checking on the inputs to Mesh::Mesh() before allocating
the storage array.
Bug:
20674682
Change-Id: I4fc918a8c312d967dd6d9f91a098b2e0a7081027
Dan Stoza [Thu, 30 Apr 2015 19:43:24 +0000 (19:43 +0000)]
am
08a7c792: Merge "Remove gamma correction from color correction shader"
* commit '
08a7c79284dd1cda095b79e5081fea0b0b4ec151':
Remove gamma correction from color correction shader
Dan Stoza [Thu, 30 Apr 2015 19:36:24 +0000 (19:36 +0000)]
Merge "Remove gamma correction from color correction shader"
Taiju Tsuiki [Thu, 30 Apr 2015 19:12:55 +0000 (19:12 +0000)]
am
84f1d9c2: Avoid closing invalid FD in Surface and GraphicBufferMapper
* commit '
84f1d9c288f35fa399f97207b6af43a261d5989a':
Avoid closing invalid FD in Surface and GraphicBufferMapper
Taiju Tsuiki [Thu, 30 Apr 2015 13:13:14 +0000 (22:13 +0900)]
Avoid closing invalid FD in Surface and GraphicBufferMapper
GraphicBufferMapper::lockAsync{,YCbCr} close the fence FD even when the FD
is invalid.
Change-Id: Ia2b4dae3b2c06426e34f623f19ba92435f486ab7
(cherry picked from commit
dcfe91e1f3f15b68793a69650f9bd0ca6a58ff4c)
Dan Stoza [Thu, 30 Apr 2015 16:57:22 +0000 (16:57 +0000)]
am
f9a3b73e: am
f0c17b08: Merge "Avoid closing invalid FD in Surface and GraphicBufferMapper"
* commit '
f9a3b73ee9ff7d8361147de948463ea493770e09':
Avoid closing invalid FD in Surface and GraphicBufferMapper
Dan Stoza [Thu, 30 Apr 2015 16:46:46 +0000 (16:46 +0000)]
am
f0c17b08: Merge "Avoid closing invalid FD in Surface and GraphicBufferMapper"
* commit '
f0c17b0831512cc700414d12dee1e84fb174bbbe':
Avoid closing invalid FD in Surface and GraphicBufferMapper
Dan Stoza [Thu, 30 Apr 2015 16:34:11 +0000 (16:34 +0000)]
Merge "Avoid closing invalid FD in Surface and GraphicBufferMapper"
Taiju Tsuiki [Thu, 30 Apr 2015 13:13:14 +0000 (22:13 +0900)]
Avoid closing invalid FD in Surface and GraphicBufferMapper
GraphicBufferMapper::lockAsync{,YCbCr} close the fence FD even when the FD
is invalid.
Change-Id: Ia2b4dae3b2c06426e34f623f19ba92435f486ab7
Taiju Tsuiki [Thu, 30 Apr 2015 13:15:33 +0000 (22:15 +0900)]
Close Fence FDs in error cases of Surface and GraphicBufferMapper
Surface::{cancel,queue}Buffer and GraphicBufferMapper::lockAsyncYCbCr take the
ownership of |fenceFd|s. Though they don't close it on error cases.
Change-Id: I49a7ce8837d5c510c4ac4ad4649f310d18610e80
Svet Ganov [Wed, 29 Apr 2015 19:55:26 +0000 (19:55 +0000)]
am
7a6c5861: Merge "Respect the record audio app op - frameworks native" into mnc-dev
* commit '
7a6c5861619ab42f2a34903591ed24a265f68c26':
Respect the record audio app op - frameworks native
Svet Ganov [Wed, 29 Apr 2015 19:34:17 +0000 (19:34 +0000)]
Merge "Respect the record audio app op - frameworks native" into mnc-dev
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
(cherry picked from commit
3acd9f1d8fdffc0ed0837ebbabcac0c4014015b3)
Dan Stoza [Wed, 29 Apr 2015 17:42:37 +0000 (17:42 +0000)]
am
39e85f2c: am
8de71a24: Merge "BufferQueue: Add NATIVE_WINDOW_BUFFER_AGE query"
* commit '
39e85f2cd82e247039f3f9dfd9f7c3cd30cc9683':
BufferQueue: Add NATIVE_WINDOW_BUFFER_AGE query
Dan Stoza [Wed, 29 Apr 2015 17:42:36 +0000 (17:42 +0000)]
am
844b0177: am
ca8c5695: Merge "libgui: Implement onTransact for sideband streams"
* commit '
844b01776d8f48d3928ced294bafbebeff622c4e':
libgui: Implement onTransact for sideband streams
Dan Stoza [Wed, 29 Apr 2015 17:30:48 +0000 (17:30 +0000)]
am
8de71a24: Merge "BufferQueue: Add NATIVE_WINDOW_BUFFER_AGE query"
* commit '
8de71a2408f632407c25942a39c31f78c7f64ffd':
BufferQueue: Add NATIVE_WINDOW_BUFFER_AGE query
Dan Stoza [Wed, 29 Apr 2015 17:30:45 +0000 (17:30 +0000)]
am
ca8c5695: Merge "libgui: Implement onTransact for sideband streams"
* commit '
ca8c569598d79b4bbe4fc08a4ea97619df3b7262':
libgui: Implement onTransact for sideband streams
Dan Stoza [Wed, 29 Apr 2015 17:21:49 +0000 (17:21 +0000)]
Merge "BufferQueue: Add NATIVE_WINDOW_BUFFER_AGE query"
Dan Stoza [Wed, 29 Apr 2015 17:17:52 +0000 (17:17 +0000)]
Merge "libgui: Implement onTransact for sideband streams"
Alan Viverette [Wed, 29 Apr 2015 16:57:06 +0000 (16:57 +0000)]
am
3b4d68a2: Merge "Remove gamma correction from color correction shader" into mnc-dev
* commit '
3b4d68a294a2d6d8dba072f4ec2661473f966a63':
Remove gamma correction from color correction shader
Alan Viverette [Wed, 29 Apr 2015 16:38:56 +0000 (16:38 +0000)]
Merge "Remove gamma correction from color correction shader" into mnc-dev
Nick Kralevich [Wed, 29 Apr 2015 05:46:42 +0000 (05:46 +0000)]
am
e9881a39: Parcel.cpp: use calloc instead of malloc
* commit '
e9881a3961888c4264034473021f42f9f0305026':
Parcel.cpp: use calloc instead of malloc
Nick Kralevich [Wed, 29 Apr 2015 04:41:43 +0000 (04:41 +0000)]
am
1c60f889: am
becd89d1: Merge "Parcel.cpp: use calloc instead of malloc"
* commit '
1c60f88902c2c5adbbd7811c0fbd55d3d658cd34':
Parcel.cpp: use calloc instead of malloc
Nick Kralevich [Tue, 28 Apr 2015 23:21:30 +0000 (16:21 -0700)]
Parcel.cpp: use calloc instead of malloc
(cherrypicked from commit
6329f0199ed04030e6c2bd7aecd036387b732c71)
Bug:
20669363
Change-Id: Ia4c8d8ca9d8b4b87954d7267e8b1c94cf4e570e1
Nick Kralevich [Wed, 29 Apr 2015 04:24:47 +0000 (04:24 +0000)]
am
becd89d1: Merge "Parcel.cpp: use calloc instead of malloc"
* commit '
becd89d185e53eb9ba3ddc24342e0f229dde6175':
Parcel.cpp: use calloc instead of malloc
Nick Kralevich [Wed, 29 Apr 2015 04:16:23 +0000 (04:16 +0000)]
Merge "Parcel.cpp: use calloc instead of malloc"
Ashish Sharma [Wed, 29 Apr 2015 03:54:25 +0000 (03:54 +0000)]
am
c31b850e: Merge "Inclide checkin format of dumpsys package in bugreport." into mnc-dev
* commit '
c31b850ee6994394fea1448f244db867817465ed':
Inclide checkin format of dumpsys package in bugreport.
Ashish Sharma [Wed, 29 Apr 2015 02:37:06 +0000 (02:37 +0000)]
Merge "Inclide checkin format of dumpsys package in bugreport." into mnc-dev
Dan Stoza [Wed, 29 Apr 2015 02:12:02 +0000 (02:12 +0000)]
am
800b41ab: libgui: Fix buffer age on 64-bit targets
* commit '
800b41ab8486b9d885124071659c774f6c1856e2':
libgui: Fix buffer age on 64-bit targets
Dan Stoza [Wed, 29 Apr 2015 02:11:59 +0000 (02:11 +0000)]
am
4afd8b67: BufferQueue: Add NATIVE_WINDOW_BUFFER_AGE query
* commit '
4afd8b67f9be307e6c6ed89deab2e85516bb3a0e':
BufferQueue: Add NATIVE_WINDOW_BUFFER_AGE query
Dan Stoza [Wed, 29 Apr 2015 02:11:58 +0000 (02:11 +0000)]
am
80640fca: libgui: Implement onTransact for sideband streams
* commit '
80640fca047bb5f4e792cd87138e24586a3a37c4':
libgui: Implement onTransact for sideband streams
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
Svet Ganov [Tue, 28 Apr 2015 19:09:01 +0000 (12:09 -0700)]
Respect the record audio app op - frameworks native
Change-Id: Id747767377953fd644a538aad3f603d6c50875a2
Nick Kralevich [Tue, 28 Apr 2015 23:21:30 +0000 (16:21 -0700)]
Parcel.cpp: use calloc instead of malloc
Bug:
20669363
Change-Id: Ia4c8d8ca9d8b4b87954d7267e8b1c94cf4e570e1
Dan Stoza [Thu, 26 Feb 2015 00:49:08 +0000 (16:49 -0800)]
BufferQueue: Add NATIVE_WINDOW_BUFFER_AGE query
Adds a NATIVE_WINDOW_BUFFER_AGE query, which returns the age of the
contents of the most recently dequeued buffer as the number of frames
that have elapsed since it was last queued.
Change-Id: Ib6fd62945cb62d1e60133a65beee510363218a23