OSDN Git Service
TreeHugger Robot [Thu, 9 Feb 2017 22:43:30 +0000 (22:43 +0000)]
Merge "VR: Update VR HWC and VR WM to use GrallocMapper"
Ashutosh Joshi [Thu, 9 Feb 2017 22:28:17 +0000 (22:28 +0000)]
Merge "Revert "sensorservice: Remove ENABLE_TREBLE flag.""
TreeHugger Robot [Thu, 9 Feb 2017 22:27:23 +0000 (22:27 +0000)]
Merge "Fix bug in isEquivalent()"
Ashutosh Joshi [Thu, 9 Feb 2017 21:44:04 +0000 (21:44 +0000)]
Revert "sensorservice: Remove ENABLE_TREBLE flag."
This reverts commit
d333511e94afbcc6462dd9c81405f4a3e30ecac9.
Change-Id: I6812643a7d0265f3a64a03a35e4d5a2359ba87cf
quddusc [Thu, 9 Feb 2017 21:41:59 +0000 (21:41 +0000)]
Merge "NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations. Test: Verified changes with romainguy@. Related bugs: b/
26922523" am:
270fff6a7c am:
f9c7e2a002 am:
3d2dbf4d2f
am:
cc070b4ddd
Change-Id: Ia8e0c98670407a8218d1fe6522a46a5d51843a49
quddusc [Thu, 9 Feb 2017 21:38:47 +0000 (21:38 +0000)]
Merge "NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations. Test: Verified changes with romainguy@. Related bugs: b/
26922523" am:
270fff6a7c am:
f9c7e2a002
am:
3d2dbf4d2f
Change-Id: Ice33e4e60d90f303652d2a993e90e3c58f3e261f
quddusc [Thu, 9 Feb 2017 21:35:09 +0000 (21:35 +0000)]
Merge "NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations. Test: Verified changes with romainguy@. Related bugs: b/
26922523" am:
270fff6a7c
am:
f9c7e2a002
Change-Id: I228a0f7ed82d88e64ddade491f5aece700c9d9dd
quddusc [Thu, 9 Feb 2017 21:32:41 +0000 (21:32 +0000)]
Merge "NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations. Test: Verified changes with romainguy@. Related bugs: b/
26922523"
am:
270fff6a7c
Change-Id: Ibfc593ff8a9d913e083b8fda4341ca5110ba87a1
quddusc [Thu, 9 Feb 2017 21:26:19 +0000 (21:26 +0000)]
Merge "NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations. Test: Verified changes with romainguy@. Related bugs: b/
26922523"
Peng Xu [Thu, 9 Feb 2017 20:24:25 +0000 (12:24 -0800)]
Fix bug in isEquivalent()
Fix a bug in SensorService::SensorDirectConnection::isEquivalent()
that causes the check to unfairly judge two shared memory buffers.
Test: compiles
Change-Id: I8274b01f331dc958c8b0183aab32119f21a8c4ff
Quddus Chong [Wed, 8 Feb 2017 18:38:21 +0000 (10:38 -0800)]
NDK docs: Fixed in-line comments for A8 and ARGB444 bitmap configurations.
Test: Verified changes with romainguy@.
Related bugs: b/
26922523
Change-Id: Id51445b09896407e808b519f3ee2f4be90f5b7eb
Daniel Nicoara [Tue, 7 Feb 2017 22:27:25 +0000 (17:27 -0500)]
VR: Update VR HWC and VR WM to use GrallocMapper
Removes the gralloc hacks to access buffer internals and re-enables
building of VR Window Manager.
Bug: b/
34878847
Test: Compiled
Change-Id: I06aa5ec0428b2f282a36ee89dbc4da9838c25782
Hendrik Wagenaar [Wed, 8 Feb 2017 22:36:20 +0000 (14:36 -0800)]
Move pdx system/ paths to system/vr/
If PDX is used for non-vr stuff in the future, it will be clear
that system/vr/display is for vr and not general display
Test: compile and make sure the vr systems still work
Change-Id: I7f4331b51011574598ea3636f675be68d1ff49a0
Chia-I Wu [Wed, 4 Jan 2017 06:58:51 +0000 (14:58 +0800)]
surfaceflinger: cache HWC client targets and buffers
Remember HWC client targets and buffers, and make sure we send each
unique slot/handle pair only once. This allows the composer to
clone/register/retain each buffer only once.
Test: builds and boots
Change-Id: Ib485189043a9c132031e82d4d7380ace3bf9453d
Ashutosh Joshi [Thu, 9 Feb 2017 04:31:38 +0000 (04:31 +0000)]
Merge "sensorservice: Remove ENABLE_TREBLE flag."
TreeHugger Robot [Thu, 9 Feb 2017 02:04:50 +0000 (02:04 +0000)]
Merge "Explicitly sets Shell component on broadcast."
Felipe Leme [Wed, 8 Feb 2017 17:46:08 +0000 (09:46 -0800)]
Explicitly sets Shell component on broadcast.
Change-Id: I11299885c300709d4b6c5a8b4d21bc31d96e2a62
Fixes:
34833915
Test: manual verification
Test: dumpstate_test passes
TreeHugger Robot [Wed, 8 Feb 2017 23:05:19 +0000 (23:05 +0000)]
Merge "vulkan: Disable shared present modes for now"
TreeHugger Robot [Wed, 8 Feb 2017 22:07:54 +0000 (22:07 +0000)]
Merge "Fix vr flinger deadlock and race condition"
Chris Forbes [Tue, 7 Feb 2017 20:59:36 +0000 (09:59 +1300)]
vulkan: Disable shared present modes for now
This extension is not yet ratified, and we shouldn't really be
unconditionally exposing the new present modes anyway.
Test: build
Change-Id: I0a9631a5079648c0d8981f07a9f704b7f8758ce3
Mathias Agopian [Wed, 8 Feb 2017 21:28:15 +0000 (21:28 +0000)]
Merge "Remove BoardConfig variables - BOARD_EGL_CFG"
Mathias Agopian [Wed, 8 Feb 2017 21:27:17 +0000 (21:27 +0000)]
Merge "move GraphicEnv from libgui to libui"
Mathias Agopian [Wed, 8 Feb 2017 21:26:40 +0000 (21:26 +0000)]
Merge "Fix include dependencies"
Steven Thomas [Wed, 8 Feb 2017 02:07:01 +0000 (18:07 -0800)]
Fix vr flinger deadlock and race condition
While investigating hangs when transitioning from 2d --> vr and back I
found a deadlock and race condition in the vr flinger pause/resume
handling. This CL should fix both issues.
Unfortunately there's still another deadlock related to multiple threads
trying to suspend/resume vr flinger, but considering how vr flinger is
currently used by surface flinger we shouldn't ever hit that scenario in
practice.
Bug: None
Test: I was able to reliably get a hang when starting/stopping vr
launcher a few times, but with this CL applied and another CL to remove
calls to SetPowerMode() applied (that CL will be submitted separately),
I no longer see any hangs.
Change-Id: Ie842bf9fb00e4e2937769ed7e1e2ec9cc47861f7
(cherry picked from commit
cf921a3919d68d8c8d1b8be39e03a372f6346f57)
Jiwen 'Steve' Cai [Wed, 8 Feb 2017 00:39:38 +0000 (16:39 -0800)]
Stop calling setPowerMode in VrFlinger
Seems that SetPowerMode from VrFlinger is causing the HIDL HWC service
(android.hardware.graphics.composer@2.1-service) to hang.
Bug: None
Test: Start particles, stop particles, start CubeSea; stop CubeSea
Change-Id: I074568fa0b04041d94dd76768ff27d467e699682
(cherry picked from commit
7fba71a24630bdf757bd4e8a28193a3995c133aa)
TreeHugger Robot [Wed, 8 Feb 2017 19:12:27 +0000 (19:12 +0000)]
Merge "Integrate binder service to vr window manager for controller input."
TreeHugger Robot [Wed, 8 Feb 2017 19:07:06 +0000 (19:07 +0000)]
Merge "Discard invisible surfaces"
TreeHugger Robot [Wed, 8 Feb 2017 18:13:53 +0000 (18:13 +0000)]
Merge "fix warning: dereference of a null pointer"
Leandro Gracia Gil [Tue, 7 Feb 2017 00:04:21 +0000 (16:04 -0800)]
Update the GVR platform library.
This CL renames the target for the GVR platform library and introduces
a new method in it to determine if this is an all-in-one device or a
Daydream-ready smartphone.
Bug:
34713987
Change-Id: I38067cb02fd805f3fbe1925250bddebfe82cce55
(cherry picked from commit
904762bdddd2ea5d386b1cf5fb7a35899fbc7a1e)
TreeHugger Robot [Wed, 8 Feb 2017 09:11:10 +0000 (09:11 +0000)]
Merge "batteryservice: expose battery status"
TreeHugger Robot [Wed, 8 Feb 2017 09:08:02 +0000 (09:08 +0000)]
Merge "Use 'cmd activity' instead 'am' to send a broadcast."
Craig Donner [Wed, 8 Feb 2017 01:47:01 +0000 (01:47 +0000)]
Merge "Adds support for more gralloc1 functions to GrallocMapper."
Craig Donner [Wed, 8 Feb 2017 01:42:31 +0000 (01:42 +0000)]
Merge "Add methods for allocating and locking GraphicBuffers via gralloc1 flags"
Mathias Agopian [Wed, 8 Feb 2017 01:36:19 +0000 (17:36 -0800)]
Fix include dependencies
Some headers included other headers they didn’t
need. This is trying to reduce the dependencies
of Surface.h / Surface.cpp on the rest of the
world.
Test: compiled
Bug: not applicable
Change-Id: Ibb5de1308a387394a1367638c3b7f26b5549ce6a
Hendrik Wagenaar [Tue, 7 Feb 2017 22:27:28 +0000 (14:27 -0800)]
Discard invisible surfaces
* Jiwen found that we would try to post invisible layers, and this
would cause a hang.
* Check to see if the surface is invisible, and if so, discard it
Test: Manually tested with particles
Change-Id: Id4a0813cb30bd48c3cfa4d13dcee59fcb5f58a8d
Alex Sakhartchouk [Sun, 29 Jan 2017 22:04:17 +0000 (17:04 -0500)]
Integrate binder service to vr window manager for controller input.
Bug:
34806399
Test: None
Change-Id: I4fadd3522082f27b053038fe65b61b1126a5a5f2
(cherry picked from commit
3bbfb1b46661439e618c13d9e0dac583edeb16fc)
Fabien Sanglard [Tue, 7 Feb 2017 22:03:15 +0000 (22:03 +0000)]
Merge "Revert "Enable TripleBuffering on SF by default""
Fabien Sanglard [Tue, 7 Feb 2017 22:02:22 +0000 (22:02 +0000)]
Revert "Enable TripleBuffering on SF by default"
This reverts commit
f222b2e6f4a3c26d6d2d9e3dd9056e5c95d7bc9c.
Change-Id: I300e46c9e93840fde85471eed4e5f7d10dde9b43
Jin Qian [Fri, 3 Feb 2017 01:33:36 +0000 (17:33 -0800)]
batteryservice: expose battery status
Bug:
34198239
Change-Id: Iccd2d88efe4cfbfeb753dee866ded099cf445548
Mathias Agopian [Tue, 7 Feb 2017 21:04:44 +0000 (13:04 -0800)]
Remove BoardConfig variables - BOARD_EGL_CFG
Bug:
34693617
Test: compiled and booted a device
Change-Id: I9fcd5e4aa5e68dff2065bd7bffa1950b403a9185
Felipe Leme [Tue, 7 Feb 2017 17:19:01 +0000 (09:19 -0800)]
Use 'cmd activity' instead 'am' to send a broadcast.
'am' is a deprecated binary that calls the ActivityManager shell
command behind the scenes, so calling 'cmd activity' directly
eliminates a process fork.
Bug:
34833915
Test: manual verification
Change-Id: Ia156897d784aa1d64f60317f92828987d64936e3
TreeHugger Robot [Tue, 7 Feb 2017 15:16:35 +0000 (15:16 +0000)]
Merge "VR: Fail presentation without layers"
TreeHugger Robot [Tue, 7 Feb 2017 10:13:06 +0000 (10:13 +0000)]
Merge "ProcessInfoService: Add support for oom score query"
wyau [Tue, 7 Feb 2017 06:16:38 +0000 (06:16 +0000)]
Merge "SurfaceFlinger supports ClearClientTarget for Sideband" am:
6560727f37 am:
adde06b9e8 am:
1f94c41f83
am:
d7a4a56b37
Change-Id: I6be4ced0d5779f319976f8f24fc446c3473d0428
wyau [Tue, 7 Feb 2017 04:34:25 +0000 (04:34 +0000)]
Merge "SurfaceFlinger supports ClearClientTarget for Sideband" am:
6560727f37 am:
adde06b9e8
am:
1f94c41f83
Change-Id: I4a1819a3aa9f4c5aa7233225bdae29435272cade
wyau [Tue, 7 Feb 2017 04:16:12 +0000 (04:16 +0000)]
Merge "SurfaceFlinger supports ClearClientTarget for Sideband" am:
6560727f37
am:
adde06b9e8
Change-Id: I68e33ab1173bbae30e8d22ae86397ec081051f7f
wyau [Tue, 7 Feb 2017 04:13:40 +0000 (04:13 +0000)]
Merge "SurfaceFlinger supports ClearClientTarget for Sideband"
am:
6560727f37
Change-Id: Idfeaf9f6e29eda948b44a1110ae18a5099a0977e
wyau [Tue, 7 Feb 2017 04:07:15 +0000 (04:07 +0000)]
Merge "SurfaceFlinger supports ClearClientTarget for Sideband"
Mathias Agopian [Mon, 6 Feb 2017 21:51:32 +0000 (13:51 -0800)]
move GraphicEnv from libgui to libui
This breaks a circular dependency between libEGL
and libgui.
Test: compiled and booted a device
Change-Id: I78932bba07fb9ef310d8e1622bd3a47f57e89c45
Daniel Nicoara [Mon, 6 Feb 2017 18:21:15 +0000 (13:21 -0500)]
VR: Fail presentation without layers
Without any layers or a valid client target there is nothing to present.
Bug: None
Test: Compiled
Change-Id: Ib8b4b7ced628a38c69be726bf1c04dde2882c614
(cherry picked from commit
12da96889be17f1964681210d0f780fd70fefc33)
TreeHugger Robot [Mon, 6 Feb 2017 22:39:39 +0000 (22:39 +0000)]
Merge "Enable TripleBuffering on SF by default"
Gray Huang [Wed, 11 Jan 2017 05:41:09 +0000 (13:41 +0800)]
SurfaceFlinger supports ClearClientTarget for Sideband
When clearing the layer's intersection with the dirty region,
HWC2::Composition::Sideband layer needs to be cleared as well.
Bug:
33443134
Test: manual - enter PIP mode with Live Channel
Change-Id: I4fecc7b5db8a2bf220b681bd087264290d1a2443
TreeHugger Robot [Mon, 6 Feb 2017 21:13:30 +0000 (21:13 +0000)]
Merge "Report binder versions on failure"
Fabien Sanglard [Mon, 6 Feb 2017 20:21:21 +0000 (12:21 -0800)]
Enable TripleBuffering on SF by default
Change-Id: I5958534133799419fa77c00536c68cacd1ccb6a9
TreeHugger Robot [Mon, 6 Feb 2017 19:52:13 +0000 (19:52 +0000)]
Merge "Nullptr check for VSyncClient::Wait"
Greg Hartman [Wed, 4 Jan 2017 00:54:59 +0000 (16:54 -0800)]
Report binder versions on failure
BUG:
34053032
Test: foo
Change-Id: Ida43d037cc6cf70cd5f0e9f678db70d624c99285
TreeHugger Robot [Mon, 6 Feb 2017 18:56:37 +0000 (18:56 +0000)]
Merge "Add param null-check + error return"
Steven Moreland [Tue, 20 Dec 2016 19:14:50 +0000 (11:14 -0800)]
sensorservice: Remove ENABLE_TREBLE flag.
Only hidl hals should be built/referenced by the framework,
and ENABLE_TREBLE will be deprecated soon.
Bug:
32978887
Test: compiles/wip
Change-Id: Ibb32129e1f30ae5baa15e116d3b13cc72bf27395
Jesse Hall [Mon, 6 Feb 2017 18:40:59 +0000 (18:40 +0000)]
Merge "Add android.hardware.vulkan.compute=0 feature file"
Okan Arikan [Fri, 3 Feb 2017 23:06:35 +0000 (15:06 -0800)]
Nullptr check for VSyncClient::Wait
as the documentation in the header implies
Bug:
34609900
Test: pass nullptr to Wait and observe your code not crashing
Change-Id: Ia3ead8cf3369bddedfca4606d0fa261fd57c281f
(cherry picked from commit
a919630f3c7cd3c2ee90ef39cbf8147681dd9be8)
Emilian Peev [Thu, 2 Feb 2017 09:57:18 +0000 (09:57 +0000)]
ProcessInfoService: Add support for oom score query
An additional query for the process oom score also
needs to be supported.
BUG:
34701266
Test: Manual testing + run cts -m Camera --abi armeabi-v7a --disable-reboot
Change-Id: I3e7de82c4d14d4b3b7faa86f4c7208deb376b6c4
Hendrik Wagenaar [Mon, 6 Feb 2017 16:48:24 +0000 (08:48 -0800)]
Add param null-check + error return
* Fail gracefully when no hidl is passed
Test: Manually ran with nullptr
Change-Id: I2726c5ad512c7115f4c6e99d1e41e0fe267e6ff2
Jesse Hall [Mon, 6 Feb 2017 08:09:59 +0000 (00:09 -0800)]
Add android.hardware.vulkan.compute=0 feature file
Bug:
34745152
Test: android.graphics.cts.VulkanFeaturesTest
Change-Id: Ic16e745e255b5b1b58c80586c5becf7bc358a46d
Jean-Michel Trivi [Sat, 4 Feb 2017 22:47:49 +0000 (22:47 +0000)]
Merge "IPlayer interface: resync with Java interface definition"
TreeHugger Robot [Sat, 4 Feb 2017 02:38:13 +0000 (02:38 +0000)]
Merge "atrace: Make atrace notify VR services of new trace sessions"
TreeHugger Robot [Sat, 4 Feb 2017 02:08:49 +0000 (02:08 +0000)]
Merge changes I712083df,I800e6050
* changes:
Fixup 2D app patch, forgot to remove unused variable
Call releaseFrame on the IVrComposerView interface
TreeHugger Robot [Sat, 4 Feb 2017 02:06:22 +0000 (02:06 +0000)]
Merge "Scale up the display and rotate by 90 degrees"
TreeHugger Robot [Sat, 4 Feb 2017 02:02:11 +0000 (02:02 +0000)]
Merge changes Iea842087,I4830d121,Ied48f024
* changes:
Allow VRWM to show 2D apps
VR: Do extra validation in VR HWC
Start VR WindowManager in a headless mode.
TreeHugger Robot [Sat, 4 Feb 2017 01:52:03 +0000 (01:52 +0000)]
Merge changes I41ed91a1,Ic6de9a1b
* changes:
Move surface_flinger_view creation into init code.
Remove access to the backlight brightness
TreeHugger Robot [Sat, 4 Feb 2017 01:51:27 +0000 (01:51 +0000)]
Merge changes I23836041,Ic0c9754d,Iae781f49
* changes:
Update GVR prebuilts to CL@
146314416
Add 6dof to the list of supported gvr features
Fix an incorrect LOG_ALWAYS_FATAL_IF introduced in sweep
TreeHugger Robot [Sat, 4 Feb 2017 00:27:36 +0000 (00:27 +0000)]
Merge "Fix protected content playback via HWC2on1Adapter"
Corey Tabaka [Sat, 14 Jan 2017 07:46:55 +0000 (23:46 -0800)]
atrace: Make atrace notify VR services of new trace sessions
Notify VR services based on PDX IPC of system property changes to let
them know a new trace session starts.
Bug: None
Test: Build and flash system; observe that systrace works for PDX services.
Change-Id: I02c6a08dd77760684f84154df4d07a853869481a
Albert Chaulk [Fri, 3 Feb 2017 22:00:39 +0000 (17:00 -0500)]
Fixup 2D app patch, forgot to remove unused variable
Bug: None
Test: permissiongen to check non-2d app uage
Change-Id: I712083dfe417eb5549b78dc7ab1ee37faa042338
Albert Chaulk [Fri, 3 Feb 2017 18:01:59 +0000 (13:01 -0500)]
Scale up the display and rotate by 90 degrees
Test: Launch calculator app
Bug: None
Change-Id: Iac2b6b682a94449ba76e689c11357f2247c8e63a
Albert Chaulk [Fri, 3 Feb 2017 18:43:50 +0000 (13:43 -0500)]
Call releaseFrame on the IVrComposerView interface
Bug: None
Test: None
Change-Id: I800e6050efc4d5aa4fe79fc62464c9f221a5dc18
Albert Chaulk [Fri, 3 Feb 2017 17:05:56 +0000 (12:05 -0500)]
Allow VRWM to show 2D apps
2D apps appear as a single app layer at the front of the stack. We can
distinguish them from VR apps as VR has two layers at the front.
When we detect a 2D app we don't skip the first layers for rendering
Test: launch VR app, launch calculator
Bug: None
Change-Id: Iea8420870852b84ab790b5185ac1a44103c2aae5
Daniel Nicoara [Thu, 2 Feb 2017 16:18:02 +0000 (11:18 -0500)]
VR: Do extra validation in VR HWC
Validate that the client target buffer is valid before using it and
validate that the requested layers have valid buffers associated with
them.
Bug: None
Test: Compiled
Change-Id: I4830d121e8ab519a24f954fe21c35199f1c1d900
Alex Sakhartchouk [Wed, 1 Feb 2017 20:41:45 +0000 (15:41 -0500)]
Start VR WindowManager in a headless mode.
Only allocate resources when we need to show ourselves
and draw something.
Bug: None
Test: None
Change-Id: Ied48f024b145ee6f574484883375b939e7814e53
Alex Sakhartchouk [Thu, 2 Feb 2017 22:27:42 +0000 (17:27 -0500)]
Move surface_flinger_view creation into init code.
We use it to receive buffers and trigger visibility.
Bug: None
Test: triggered permission
Change-Id: I41ed91a16fb6bfb27687476fbe43c17fc05bc870
Hendrik Wagenaar [Thu, 2 Feb 2017 18:00:48 +0000 (10:00 -0800)]
Remove access to the backlight brightness
* We don't need to set the display brightness at the moment, and
access to the brightness fd requires an SELinux policy change
that we'd like to avoid, so ifdef out the code for now.
Bug: None
Test: To be tested along with Nick's SELinux policy cl
Change-Id: Ic6de9a1bd15d0eab2780bda31ec67fab94f8d6da
Jiwen 'Steve' Cai [Thu, 2 Feb 2017 02:00:41 +0000 (18:00 -0800)]
Update GVR prebuilts to CL@
146314416
This removes gvr_experimental_is_feature_supported API in shared library
prebuilts.
Bug:
34742071
Test: Build and ran particles.apk
Change-Id: I23836041993133ae055bd7e90cca99c5d2739ce7
Steven Thomas [Thu, 2 Feb 2017 02:02:10 +0000 (18:02 -0800)]
Add 6dof to the list of supported gvr features
While reimplementing gvr_experimental_is_feature_supported() as
gvr_is_feature_supported() I accidentally removed 6dof from the list of
supported features.
Bug:
34742071
Test: -
Change-Id: Ic0c9754d72a704d6bfd74dd7a14bdf6e89ed4dd4
Hendrik Wagenaar [Fri, 3 Feb 2017 04:26:45 +0000 (20:26 -0800)]
Fix an incorrect LOG_ALWAYS_FATAL_IF introduced in sweep
* flip the condition to get same functionality as before the
sweep
Bug: None
Test: None
Change-Id: Iae781f495f29357431d84e79207849f9c3659d94
Fabien Sanglard [Fri, 3 Feb 2017 00:59:44 +0000 (16:59 -0800)]
Fix protected content playback via HWC2on1Adapter
The adapter marked unsupported dataspace layer with HWC_SKIP_LAYER
which prevented HWC to mark protected content with HWC_OVERLAY.
Test: AUPT
Change-Id: Id8c05c7e575ffcc4160cdd8d23b151c4901b4c5c
Craig Donner [Thu, 2 Feb 2017 20:40:05 +0000 (12:40 -0800)]
Adds support for more gralloc1 functions to GrallocMapper.
Bug:
34939453
Test: added native CTS tests checked with
cts-tradefed run cts-dev -m CtsNativeHardwareTestCases
Change-Id: I2393f6ec6c7eff5d229a5aa61ff2a52a9366fd1e
Craig Donner [Thu, 2 Feb 2017 20:13:34 +0000 (12:13 -0800)]
Add methods for allocating and locking GraphicBuffers via gralloc1 flags
Bug:
34050596
Test: manual
Change-Id: I9515e60fe6b67d2c6f02b1bb78651669430f12ef
Ian Elliott [Fri, 3 Feb 2017 20:41:17 +0000 (20:41 +0000)]
Merge "Hook the VK_KHR_incremental_present extension"
Ian Elliott [Fri, 3 Feb 2017 18:24:07 +0000 (11:24 -0700)]
Hook the VK_KHR_incremental_present extension
Test: Ran the CTS tests
Small oversight when first implemented.
Change-Id: I9d4804aea3c986c49d69bc1f56b81127553f7863
Yunlian Jiang [Fri, 3 Feb 2017 02:53:45 +0000 (02:53 +0000)]
Merge "Fix warning: macro redefined" am:
909ef30a63 am:
f62690cdaf am:
d1f7b9d025
am:
501e019523
Change-Id: I2155e7df5ffd16a967d4465218cf852c9148f884
Yunlian Jiang [Fri, 3 Feb 2017 02:51:14 +0000 (02:51 +0000)]
Merge "Fix warning: macro redefined" am:
909ef30a63 am:
f62690cdaf
am:
d1f7b9d025
Change-Id: Ifa71e97d5ade8685f2f31400afd1727034321b4d
Yunlian Jiang [Fri, 3 Feb 2017 02:48:46 +0000 (02:48 +0000)]
Merge "Fix warning: macro redefined" am:
909ef30a63
am:
f62690cdaf
Change-Id: If7255629f0be37af2c08da90e9010423d73decfc
Yunlian Jiang [Fri, 3 Feb 2017 02:46:15 +0000 (02:46 +0000)]
Merge "Fix warning: macro redefined"
am:
909ef30a63
Change-Id: Ia1b083546fe41a81acf83e0cb0b8921700aa1bfa
Treehugger Robot [Fri, 3 Feb 2017 02:39:19 +0000 (02:39 +0000)]
Merge "Fix warning: macro redefined"
TreeHugger Robot [Fri, 3 Feb 2017 00:49:43 +0000 (00:49 +0000)]
Merge changes I9f2ea67c,I34588df1,I88a56236
* changes:
Use generic libpdx event bits facility in libvrflinger and bufferhubd.
Add libvrflinger for use in SurfaceFlinger
Export surface flinger includes
TreeHugger Robot [Fri, 3 Feb 2017 00:30:10 +0000 (00:30 +0000)]
Merge "Add binder native side code for BatteryPropertiesListener"
TreeHugger Robot [Fri, 3 Feb 2017 00:29:25 +0000 (00:29 +0000)]
Merge "Build shared library for batteryservice"
TreeHugger Robot [Thu, 2 Feb 2017 23:33:58 +0000 (23:33 +0000)]
Merge "SurfaceFlinger: Set property in separate thread in init"
Corey Tabaka [Thu, 19 Jan 2017 23:07:26 +0000 (15:07 -0800)]
Use generic libpdx event bits facility in libvrflinger and bufferhubd.
Use the generic event bits abstraction to support UDS and ServiceFS
backends properly.
Bug:
34466748
Test: start/stop basicvr repeatedly; observe stable bufferhub counts.
Change-Id: I9f2ea67c25860ad7fb931938991a29a37f3391fc
Alex Vakulenko [Fri, 27 Jan 2017 22:41:57 +0000 (14:41 -0800)]
Add libvrflinger for use in SurfaceFlinger
A separate CL uses this code from SurfaceFlinger.
Bug: None
Test: Manually ran modified SurfaceFlinger
Change-Id: I34588df1365588c0a0265e1e2325e3dd5516206a
Alex Vakulenko [Thu, 2 Feb 2017 06:25:44 +0000 (22:25 -0800)]
Export surface flinger includes
* Before we start using libvrflinger, we need to export the
surface flinger includes.
Bug: None
Test: Compile surfaceflinger and libvrflinger together
Change-Id: I88a56236f297eb58397fcda5ff28bfecbd4e0971