OSDN Git Service
Ian Elliott [Mon, 13 Feb 2017 23:27:02 +0000 (16:27 -0700)]
Temporarily disable enumeration of VK_KHR_incremental_present
Test: Ran the instrumented cube demo, which showed the extension not
enumerated.
Since the extension is not yet ratified, we can't enable it in the
upcoming DP1 release.
Change-Id: I8234c2d9510a0d31c309fb2c25fe6126fb021a59
Chia-I Wu [Fri, 10 Feb 2017 22:53:12 +0000 (14:53 -0800)]
libui: add notes to registerBuffer(buffer_handle_t)
The method is semi-broken on gralloc0 devices. It calls down to
Gralloc1On0Adapter::managementHook, which will return
GRALLOC1_ERROR_BAD_HANDLE when the handle is received from a remote
process.
Test: make
Change-Id: Ia0ca2b51e38e8afe66a917ca7fe2282db3968f53
TreeHugger Robot [Sat, 11 Feb 2017 03:04:01 +0000 (03:04 +0000)]
Merge "Introduce an API to verify trusted caller apps by UID."
Leandro Gracia Gil [Sat, 28 Jan 2017 02:14:42 +0000 (18:14 -0800)]
Introduce an API to verify trusted caller apps by UID.
This CL introduces a new function to make sure only trusted packages
like VrCore can make use of APIs that are not intended for app use.
As a first example, this CL introduces a caller check for taking screenshots,
although any sensitive APIs should implement similar checks.
Package trust is defined by having the RESTRICTED_VR_ACCESS permission.
Bug:
34474022
Change-Id: Ib5a242d1a4e17f59b178fb1465064043613ac369
Mathias Agopian [Sat, 11 Feb 2017 00:15:34 +0000 (16:15 -0800)]
clean-ups, remove warnings, fix includes.
Test: built and run
Bug: none
Change-Id: I505df89e2263952d90fae432c5eaa7d00056c6f0
Jesse Hall [Fri, 10 Feb 2017 22:22:09 +0000 (22:22 +0000)]
Merge changes I5a8bb16f,I4555ba9d,Id1e3dd5e
* changes:
vulkan: Temporarily hack around loader/driver mismatch
vulkan: Add gralloc1 usage to VK_ANDROID_native_buffer
vulkan: Tolerate missing GetSwapchainGrallocUsageANDROID function
TreeHugger Robot [Fri, 10 Feb 2017 20:35:57 +0000 (20:35 +0000)]
Merge "Fix small child layer transparent region error"
Mathias Agopian [Fri, 10 Feb 2017 20:04:58 +0000 (20:04 +0000)]
Merge "Split view::Surface out of Surface.cpp"
Jesse Hall [Fri, 10 Feb 2017 06:13:02 +0000 (22:13 -0800)]
vulkan: Temporarily hack around loader/driver mismatch
A driver was built with an older declaration of
vkGetSwapchainGrallocUsage2KHR, and doesn't match what libvulkan
expects. This is a temporary workaround until the driver can be
rebuilt against the current header. When a new driver is available,
this change should be reverted.
Test: vulkanGears on affected device
Change-Id: I5a8bb16f0f9563e32314cff2a2a7a45760cfc356
Jesse Hall [Fri, 10 Feb 2017 05:45:51 +0000 (21:45 -0800)]
vulkan: Add gralloc1 usage to VK_ANDROID_native_buffer
Replaces the gralloc0-style 'int' usage in
vkGetSwapchainGrallocUsage2ANDROID and VkNativeBufferANDROID with a
gralloc1-style pair of uint64_t usages. A later change will plumb this
to and from ANativeWindow; for now we just collapse and expand from
32-bit usage.
Test: vulkanGears
Change-Id: I4555ba9d6ca1d15ed0791dc0bda01a1443890d02
Daniel Nicoara [Fri, 10 Feb 2017 15:44:08 +0000 (10:44 -0500)]
VR: Build VR Window Manager only on platforms supported by libgvr
Bug: None
Test: Verified build succeeds on aosp_mips-eng
lunch aosp_mips-eng
cd frameworks/native/services/vr/vr_window_manager
mma
Change-Id: Idf8c4cb842f5fd30f047e70fb1374bca6247eef9
TreeHugger Robot [Fri, 10 Feb 2017 04:24:58 +0000 (04:24 +0000)]
Merge "Fix boolean logic in SurfaceFlinger property read"
Chris Forbes [Fri, 10 Feb 2017 01:59:59 +0000 (14:59 +1300)]
vulkan: Tolerate missing GetSwapchainGrallocUsageANDROID function
Some drivers implementing ANDROID_native_buffer V6 have /removed/ the
old function. We shouldn't really mind if they do that -- we're never
going to call it anyway if they do expose the new
GetSwapchainGrallocUsage2ANDROID function.
V2: Fail at CreateDevice-time if neither function is exposed.
Change-Id: Id1e3dd5e2e71a9291dd610e908f9906acaaf0ad0
Related bugs: b/
34177594
Test: build
TreeHugger Robot [Fri, 10 Feb 2017 02:40:36 +0000 (02:40 +0000)]
Merge "Disable Virtual Display by default in SF"
TreeHugger Robot [Fri, 10 Feb 2017 01:05:34 +0000 (01:05 +0000)]
Merge "Allow surfaceflinger to run vrflinger"
Mathias Agopian [Thu, 9 Feb 2017 01:04:18 +0000 (17:04 -0800)]
Split view::Surface out of Surface.cpp
it’s moved into a new view/Surface.cpp, header in
gui/view/Surface.h
their entanglement also meant that code that needs
only view::Surface ended up with all of Surface
dependencies.
Test: built and booted device
Bug: treble
Change-Id: I1a350d258f124fbe0a7bc5a2ca165311dcb0d8e3
Mathias Agopian [Thu, 9 Feb 2017 23:01:35 +0000 (23:01 +0000)]
Merge "Break dependency of libui on libbinder"
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()"
Hendrik Wagenaar [Wed, 1 Feb 2017 20:10:46 +0000 (12:10 -0800)]
Allow surfaceflinger to run vrflinger
* Allows surface flinger to switch in and out of vr mode
Bug: None
Test: Manually ran various vr test programs.
Change-Id: I15fbba0eb67cbcffeef41be31429550448a1db9c
Fabien Sanglard [Thu, 9 Feb 2017 20:29:39 +0000 (12:29 -0800)]
Disable Virtual Display by default in SF
These should be enabled by default once b/
30022738 is resolved.
Change-Id: I70a48a0bcf98ca984a28aa130170270d16e708bf
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."
Robert Carr [Thu, 9 Feb 2017 01:43:36 +0000 (17:43 -0800)]
Fix small child layer transparent region error
Just turned transparent region back on in my SurfaceView port
and saw things were pretty broken.
Test: Manual
Change-Id: I3ab5520ecd226c86ef903767f6a562af7d7eb16d
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
Mathias Agopian [Tue, 7 Feb 2017 00:34:41 +0000 (16:34 -0800)]
Break dependency of libui on libbinder
the dependency existed only because of
HdrCapabilities, which inherited from
Parcelable, instead of LightFlatenable<>.
An added benefit is that HdrCapabilities isn’t
virtual anymore.
Also, since the dtor is not trivial, move it to
the cpp, to avoid inlining.
Fix-up includes.
Test: built and booted device
Change-Id: Iaf9c4ef9dcc5cb28b29f79d9f7d8f21800223eb8
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:06:39 +0000 (14:06 -0800)]
Fix boolean logic in SurfaceFlinger property read
Test: AUPT
Change-Id: Ib1db9198f470d62db1efa77193bf9e5f47b8a4b8
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