OSDN Git Service
Chia-I Wu [Tue, 26 Apr 2016 23:46:55 +0000 (23:46 +0000)]
Merge changes I97efd6c9,I6460f8f0,Ic67e4290,I16214514,Ieaa4e463, ... into nyc-dev
am:
6cfb89c
* commit '
6cfb89c0bfe11c2ee513fe4df339ad753d4ad4ff':
vulkan: remove g_device_layers
vulkan: ignore device-only layers
vulkan: ignore layer libraries without instance layers
vulkan: add FindLayer helper
vulkan: constify LayerRef members
vulkan: make g_library_mutex per-LayerLibrary
vulkan: make LayerLibrary a class
vulkan: refactor GetLayerGetProcAddr
vulkan: refactor AddLayerLibrary
vulkan: refactor LayerRef::~LayerRef
vulkan: refactor GetLayerRef
vulkan: add a constructor for LayerLibrary
Change-Id: I1fe46cd50dbb8a62cf5202133b6a76f107b935fc
TreeHugger Robot [Tue, 26 Apr 2016 23:42:26 +0000 (23:42 +0000)]
Merge changes I97efd6c9,I6460f8f0,Ic67e4290,I16214514,Ieaa4e463, ... into nyc-dev
* changes:
vulkan: remove g_device_layers
vulkan: ignore device-only layers
vulkan: ignore layer libraries without instance layers
vulkan: add FindLayer helper
vulkan: constify LayerRef members
vulkan: make g_library_mutex per-LayerLibrary
vulkan: make LayerLibrary a class
vulkan: refactor GetLayerGetProcAddr
vulkan: refactor AddLayerLibrary
vulkan: refactor LayerRef::~LayerRef
vulkan: refactor GetLayerRef
vulkan: add a constructor for LayerLibrary
Pablo Ceballos [Tue, 26 Apr 2016 14:01:39 +0000 (14:01 +0000)]
Merge "Revert "EGL: Ensure surfaces are disconnected when destroyed"" into nyc-dev
am:
5882a26
* commit '
5882a267d0bee5e9505fe4e714f50378f5ef70d0':
Revert "EGL: Ensure surfaces are disconnected when destroyed"
Change-Id: I1e97aacf8290d38fddd9bd7bebffdc0ed8a7d2ef
Pablo Ceballos [Tue, 26 Apr 2016 13:50:41 +0000 (13:50 +0000)]
Merge "Revert "EGL: Ensure surfaces are disconnected when destroyed"" into nyc-dev
Pablo Ceballos [Mon, 25 Apr 2016 20:40:08 +0000 (20:40 +0000)]
Revert "EGL: Ensure surfaces are disconnected when destroyed"
This reverts commit
541de498ec7356c5e4af92500cf2fb8fc707fd50.
Bug
28295465
Change-Id: If81ed4a5a73a9612579b58291c37c7830ea1f7db
Chia-I Wu [Fri, 22 Apr 2016 01:42:41 +0000 (09:42 +0800)]
vulkan: remove g_device_layers
All device layers are now instance layers. We do not need to maintain two
vectors.
Change-Id: I97efd6c92395f00ac41aae6862e5607dfa678156
Chia-I Wu [Mon, 18 Apr 2016 08:45:15 +0000 (16:45 +0800)]
vulkan: ignore device-only layers
Ignore device layers that have no matching instance layers.
Change-Id: I6460f8f0c3c1288c23843e0875fa6a90f7f6cb8d
Chia-I Wu [Tue, 19 Apr 2016 04:22:52 +0000 (12:22 +0800)]
vulkan: ignore layer libraries without instance layers
Make vkEnumerateInstanceLayerProperties and
vkEnumerateInstanceExtensionProperties mandatory for layer libraries. If
vkEnumerateInstanceLayerProperties enumerates no instance layer, ignore
the layer library.
Change-Id: Ic67e4290f0cd5f9098bd02d9d01cc0194398424a
Chia-I Wu [Fri, 22 Apr 2016 02:10:04 +0000 (10:10 +0800)]
vulkan: add FindLayer helper
It finds a Layer using the layer name.
Change-Id: I16214514fcdef09f9016dc2c71fcd5c1f3d0fa6b
Chia-I Wu [Tue, 19 Apr 2016 03:45:57 +0000 (11:45 +0800)]
vulkan: constify LayerRef members
Consitfy GetSpecVersion and layer_.
Change-Id: Ieaa4e463ca4666fc9f81b9904fe0783c55e98d03
Chia-I Wu [Mon, 25 Apr 2016 23:37:44 +0000 (07:37 +0800)]
vulkan: make g_library_mutex per-LayerLibrary
All that need to be protected are LayerLibrary::Open and
LayerLibrary::Close.
Change-Id: I81b2e7cc36d8c260ddcba69074c71a5244f5b443
Srinath Sridharan [Mon, 25 Apr 2016 19:02:52 +0000 (12:02 -0700)]
marlin/eas: Fixing foreground/schedtune.boost path
BUG:
28378389
Change-Id: Iea0bdf33de2ae2b9abc37460a9100d5044699c7d
Martijn Coenen [Mon, 25 Apr 2016 17:52:23 +0000 (17:52 +0000)]
Merge "Move servicemanager into system-background cpuset." into nyc-dev
am:
62b6bc7
* commit '
62b6bc7c8c5e5016f575955dab147f70f8b8cc0a':
Move servicemanager into system-background cpuset.
Change-Id: I34e86702dfe9474198dad382779d07f079ebdbdf
Martijn Coenen [Mon, 25 Apr 2016 17:46:01 +0000 (17:46 +0000)]
Merge "Move servicemanager into system-background cpuset." into nyc-dev
Jesse Hall [Sat, 23 Apr 2016 00:20:29 +0000 (00:20 +0000)]
libvulkan: Reset window before creating swapchain
am:
3d1c82a
* commit '
3d1c82a750046f055951242bf27909ad7d9cdf52':
libvulkan: Reset window before creating swapchain
Change-Id: I2e47f48172f05ec0c7c4cb1bf28cb9520acae2bc
Jesse Hall [Fri, 22 Apr 2016 22:28:29 +0000 (15:28 -0700)]
libvulkan: Reset window before creating swapchain
When using one window for two consecutive swapchains, some of the
settings from the first swapchain were affecting how many buffers we
thought we needed for the second, eventually leading us to attempt to
dequeue more buffers than we actually could.
Bug:
28075694
Change-Id: I7d2cabc2365986dfcfe8a03d16bb71ca1616f144
Chia-I Wu [Fri, 22 Apr 2016 03:44:46 +0000 (03:44 +0000)]
Merge changes Ifeba21da,Ie7982790,I02bb34b7 into nyc-dev
am:
2ee735c97c
* commit '
2ee735c97c760cec76c1385f1896b822ff45cba5':
vulkan: silence a warning when layers are enabled
vulkan: fix "vkinfo -validate"
vulkan: fix vkinfo with layer extensions
Change-Id: Ic77864485608dd907cbea0871b714dab4c4e44c9
Chia-I Wu [Fri, 22 Apr 2016 03:41:45 +0000 (03:41 +0000)]
Merge changes Ifeba21da,Ie7982790,I02bb34b7 into nyc-dev
* changes:
vulkan: silence a warning when layers are enabled
vulkan: fix "vkinfo -validate"
vulkan: fix vkinfo with layer extensions
Chia-I Wu [Mon, 18 Apr 2016 04:20:02 +0000 (12:20 +0800)]
vulkan: make LayerLibrary a class
Make all data members private and suffix them with an underscore.
Constify path_ while at it. There is no functional change.
Change-Id: I98db9bfb1cfa9a15a501a5d3c6037fe08cff5717
Chia-I Wu [Mon, 18 Apr 2016 08:38:39 +0000 (16:38 +0800)]
vulkan: refactor GetLayerGetProcAddr
Add and call LayerLibrary::GetGPA from GetLayerGetProcAddr. There is no
functional change.
Change-Id: Ie0ec8c16633239bd8d8e634fac7525401d73343a
Chia-I Wu [Mon, 18 Apr 2016 08:33:20 +0000 (16:33 +0800)]
vulkan: refactor AddLayerLibrary
Add and call LayerLibrary::EnumerateLayers from AddLayerLibrary. There is
no functional change.
Change-Id: I6bb2a6fd6f78299c179c0c7af7c60b388e109734
Chia-I Wu [Mon, 18 Apr 2016 04:12:36 +0000 (12:12 +0800)]
vulkan: refactor LayerRef::~LayerRef
Add and call LayerLibrary::Close from LayerRef::~LayerRef. There is no
functional change.
Change-Id: I514a1631204f104293a2b75f0a6d34d8625e68b1
Chia-I Wu [Mon, 18 Apr 2016 04:11:00 +0000 (12:11 +0800)]
vulkan: refactor GetLayerRef
Add and call LayerLibrary::Open from GetLayerRef. There is no functional
change.
Change-Id: I00cff2bbc7984bb3d861eb88aea423c36b0d806f
Chia-I Wu [Mon, 18 Apr 2016 04:08:39 +0000 (12:08 +0800)]
vulkan: add a constructor for LayerLibrary
There is no functional change.
Change-Id: I77b6c7c6a697cb25cee42cda3b5683885186545a
Chia-I Wu [Thu, 21 Apr 2016 22:40:40 +0000 (06:40 +0800)]
vulkan: silence a warning when layers are enabled
Layers always do
vkGetInstanceProcAddr(VK_NULL_HANDLE, "vkCreateDevice")
and we should not log an error.
Change-Id: Ifeba21da73d982775edc4e6a91ce0f0f5eab191d
Chia-I Wu [Thu, 21 Apr 2016 22:26:37 +0000 (06:26 +0800)]
vulkan: fix "vkinfo -validate"
Some layers were renamed/merged.
Bug:
28317797
Change-Id: Ie7982790502ad1bed3234b26129cff9e06667365
Chia-I Wu [Thu, 21 Apr 2016 22:06:04 +0000 (06:06 +0800)]
vulkan: fix vkinfo with layer extensions
vkinfo enable layers only when options.validate is true. We should use
layer extensions, such as VK_EXT_debug_report, only when layers are
enabled.
Bug:
28317797
Change-Id: I02bb34b728f3f3072111444194ee97065e38e401
Pablo Ceballos [Thu, 21 Apr 2016 16:00:23 +0000 (16:00 +0000)]
Merge "BQ: Replace items from back of queue" into nyc-dev
am:
9461b93f7e
* commit '
9461b93f7e46e71dd43b021084012ec337a5cee3':
BQ: Replace items from back of queue
Change-Id: I26d1020b3335e1662801a69e9626a36a24044d76
Pablo Ceballos [Thu, 21 Apr 2016 15:52:02 +0000 (15:52 +0000)]
Merge "BQ: Replace items from back of queue" into nyc-dev
Jesse Hall [Thu, 21 Apr 2016 01:43:38 +0000 (01:43 +0000)]
vknulldrv: Use a default allocator when none provided
am:
d3b1450e66
* commit '
d3b1450e6606cacff0d2c6e0ff6e45f1420ad5ee':
vknulldrv: Use a default allocator when none provided
Change-Id: Ia6284f0d68114dc8f3e6ec5257ba4de05d0b71d6
Pablo Ceballos [Wed, 20 Apr 2016 03:11:56 +0000 (20:11 -0700)]
BQ: Replace items from back of queue
It's possible to have one or more non-droppable items in the queue
ahead of a droppable item. In that case we want to replace the
droppable one at the end of the queue. By changing the policy to
always replace the last item in the queue (if it's droppable) we
ensure that there will never be more than one droppable item in the
queue and that it will always be the last one.
Bug
27129258
Change-Id: I9a6234fe12a0095ccb93ceb9cdb74616944900b0
Jesse Hall [Wed, 20 Apr 2016 23:58:11 +0000 (16:58 -0700)]
vknulldrv: Use a default allocator when none provided
The loader used to always provide an allocator, even if the app
didn't. It no longer does that, so the null driver must be prepared to
provide its own default allocator.
Fixes bug
28303142
Change-Id: I6ab946913dc4edaf2a0b07ab9ae8c43be69b3ed6
Andriy Naborskyy [Wed, 20 Apr 2016 20:56:19 +0000 (20:56 +0000)]
Merge "remove compass from default wearable_core_hardware.xml" into cw-e-dev am:
86d5272 am:
8cae361
am:
151cc4a
* commit '
151cc4a91a92447a78a964bf1164b50ac8921f65':
remove compass from default wearable_core_hardware.xml
Change-Id: I8bccf9e0315cef64470949645f8e1f327ca2bfef
Andriy Naborskyy [Wed, 20 Apr 2016 20:52:56 +0000 (20:52 +0000)]
Merge "remove compass from default wearable_core_hardware.xml" into cw-e-dev am:
86d5272
am:
8cae361
* commit '
8cae361cd12eba8e79938598d5e76820fc3a8a09':
remove compass from default wearable_core_hardware.xml
Change-Id: Ia9c99fa7c739abf7963258d39710645629e0502e
Andriy Naborskyy [Wed, 20 Apr 2016 20:48:40 +0000 (20:48 +0000)]
Merge "remove compass from default wearable_core_hardware.xml" into cw-e-dev
am:
86d5272
* commit '
86d5272389ec8077765684f2b89e99c623833850':
remove compass from default wearable_core_hardware.xml
Change-Id: Idc888dee9bbf8521285a131577952bd4d48dc9c7
Andriy Naborskyy [Wed, 20 Apr 2016 20:39:44 +0000 (20:39 +0000)]
Merge "remove compass from default wearable_core_hardware.xml" into cw-e-dev
Pablo Ceballos [Wed, 20 Apr 2016 20:35:08 +0000 (20:35 +0000)]
Merge "BQ: Avoid unnecessary calls to consumer listener" into nyc-dev
am:
72b5975
* commit '
72b59753f90df64b3dd86fa6a166b24c8b64b985':
BQ: Avoid unnecessary calls to consumer listener
Change-Id: Ia255fad9ae1d3f68488891b92731a46efdc0baab
Pablo Ceballos [Wed, 20 Apr 2016 20:28:07 +0000 (20:28 +0000)]
Merge "BQ: Avoid unnecessary calls to consumer listener" into nyc-dev
Dan Stoza [Wed, 20 Apr 2016 17:40:59 +0000 (17:40 +0000)]
Merge "libgui: Add getLastQueuedBuffer to BufferQueue" into nyc-dev
am:
4908a01
* commit '
4908a010f63c7d0a6d9a1f4b67c3453a116d1556':
libgui: Add getLastQueuedBuffer to BufferQueue
Change-Id: I0ec082bd8d8413043dd0f4b6a9ec2c84581a585b
Jesse Hall [Wed, 20 Apr 2016 17:30:39 +0000 (17:30 +0000)]
Merge "libgui: Add getLastQueuedBuffer to BufferQueue" into nyc-dev
Dan Stoza [Tue, 19 Apr 2016 22:51:07 +0000 (22:51 +0000)]
Merge "DispSync: Actually wait forever" into nyc-dev
am:
8a56bb7
* commit '
8a56bb70c736245e875635d3093d70a51394dea5':
DispSync: Actually wait forever
Change-Id: I9e0a1c2420b6d8924f148d2acac92cffe7f5acec
Dan Stoza [Tue, 19 Apr 2016 22:41:58 +0000 (22:41 +0000)]
Merge "DispSync: Actually wait forever" into nyc-dev
Chia-I Wu [Tue, 19 Apr 2016 22:34:47 +0000 (22:34 +0000)]
Merge "vulkan: replace std::shared_ptr by android::sp" into nyc-dev
am:
ef6f4f0
* commit '
ef6f4f0b3beb7979628851217222faf3ef35a6c2':
vulkan: replace std::shared_ptr by android::sp
Change-Id: I4f2c9cf212fc90d6086bce07af6b75a9d98494e1
Dan Stoza [Thu, 7 Apr 2016 23:53:23 +0000 (16:53 -0700)]
libgui: Add getLastQueuedBuffer to BufferQueue
Adds the ability to get the last buffer queued to a BufferQueue plus
its acquire fence.
Bug:
27708453
Change-Id: Iee39475740b40c854a5f46178b2934fd930e61b8
Chia-I Wu [Tue, 19 Apr 2016 22:13:17 +0000 (22:13 +0000)]
Merge "vulkan: replace std::shared_ptr by android::sp" into nyc-dev
Dan Stoza [Tue, 19 Apr 2016 20:45:55 +0000 (20:45 +0000)]
Merge "DispSync: Don\'t resync if HW vsync is unavailable" into nyc-dev
am:
15732be
* commit '
15732be8aaa961a8eeb50a2cd3db76981ff2e83f':
DispSync: Don't resync if HW vsync is unavailable
Change-Id: Ifc1ece90ebafe3d984e089b6aeffa9fd03c3fcef
Dan Stoza [Tue, 19 Apr 2016 20:30:22 +0000 (20:30 +0000)]
Merge "DispSync: Don't resync if HW vsync is unavailable" into nyc-dev
Pablo Ceballos [Tue, 19 Apr 2016 18:33:00 +0000 (11:33 -0700)]
BQ: Avoid unnecessary calls to consumer listener
Try to avoid unnecessary calls to the consumer listener's
onBuffersReleased() since they can potentially deadlock.
Bug
28254168
Change-Id: Ib064e5ebe1403a1028589342b3c33e6f40bb54a9
Dan Stoza [Tue, 19 Apr 2016 18:56:20 +0000 (11:56 -0700)]
DispSync: Don't resync if HW vsync is unavailable
Don't attempt to resync to hardware vsync if it's not available (if
the display is blanked), which should prevent unusual sequences of
commands (enable vsync, then unblank) to hardware composer.
Bug:
28177844
Change-Id: I9d6046fb0a346830e98829fd250642f0809d7e31
Pablo Ceballos [Tue, 19 Apr 2016 17:21:46 +0000 (17:21 +0000)]
Merge "SF: Fix camera orientation on virtual displays" into nyc-dev
am:
55b29f2
* commit '
55b29f2ec5d62a13eb374501ebc4691eadd3997a':
SF: Fix camera orientation on virtual displays
Change-Id: Id2a9b2b48d11de2097ee29a000338e94f9d663d0
Pablo Ceballos [Tue, 19 Apr 2016 17:11:02 +0000 (17:11 +0000)]
Merge "SF: Fix camera orientation on virtual displays" into nyc-dev
Dan Stoza [Tue, 19 Apr 2016 17:03:46 +0000 (10:03 -0700)]
DispSync: Actually wait forever
When computeNextEventTimeLocked returns INT64_MAX (because there are
currently no listeners), wait until the condition variable is
signaled instead of waiting for a long timeout. Since the condition
variable timeout is specified using CLOCK_REALTIME behind the scenes,
we can receive false wakeups in the presence of large system clock
changes.
Bug:
28152577
Change-Id: I88dbab5d5d0776cb25dea76a4574db055b308fd1
Tim Murray [Tue, 19 Apr 2016 16:56:21 +0000 (16:56 +0000)]
Merge "Revert "Revert "DispSync: Always resync after inactivity""" into nyc-dev
am:
6328134
* commit '
6328134d8f3969e5cf345bec84b2c6455afc6a34':
Revert "Revert "DispSync: Always resync after inactivity""
Change-Id: Ibfeff32f7d151606e0380354c1c498124b87acda
Tim Murray [Tue, 19 Apr 2016 16:50:03 +0000 (16:50 +0000)]
Merge "Revert "Revert "DispSync: Always resync after inactivity""" into nyc-dev
Tim Murray [Tue, 19 Apr 2016 16:29:23 +0000 (16:29 +0000)]
Revert "Revert "DispSync: Always resync after inactivity""
This reverts commit
67264e930992e43ef3351b04692d4ca59cbb01ad.
We've fixed the kernel issues this exposed.
bug
28198793
Change-Id: Ie895cc0a815094cce4bee3b2bf45800ee1e2fdc3
Chia-I Wu [Mon, 18 Apr 2016 00:21:31 +0000 (08:21 +0800)]
vulkan: replace std::shared_ptr by android::sp
With the change, we do not handle exceptions anymore. Remove
-fexceptions.
Bug:
26732452
Change-Id: I2782f9b522cb25f158515fcf90312013e672225b
Kalle Raita [Tue, 19 Apr 2016 03:19:52 +0000 (03:19 +0000)]
Look EGL extension matches beyond partial match
am:
7804aa2
* commit '
7804aa25c1288002269d4bd29f535cad8b55f365':
Look EGL extension matches beyond partial match
Change-Id: Ib1e00ebc4e5548d35b5fd6cb9a7f496046288550
Pablo Ceballos [Sat, 16 Apr 2016 00:31:51 +0000 (17:31 -0700)]
SF: Fix camera orientation on virtual displays
Camera uses NATIVE_WINDOW_TRANSFORM_INVERSE_DISPLAY to make the camera
preview always look upright on the device display. This commit changes
the behavior of this flag slightly. Instead of applying the inverse
transform of the current display when compositing, apply the inverse
transform of the primary display to all displays. This assumes that
the camera orientation is tied to the primary display.
Bug
2628180
Change-Id: I0da22423490a93fe943fd59e6c122aa6aaf30b11
Kalle Raita [Mon, 18 Apr 2016 23:03:37 +0000 (16:03 -0700)]
Look EGL extension matches beyond partial match
Bug:
28198559
Change-Id: I8d483d04e855b62432e1da786629890d09ae9d00
Jeff Sharkey [Mon, 18 Apr 2016 19:45:58 +0000 (19:45 +0000)]
Merge "Consistent creation/destruction of user data." into nyc-dev
am:
82784bb
* commit '
82784bbeb8668c18f8cdbafaac3faab5d296e9ac':
Consistent creation/destruction of user data.
Change-Id: Idb0b24fe8d908717b7d06715680609bf63da4bd5
Jeff Sharkey [Mon, 18 Apr 2016 19:43:16 +0000 (19:43 +0000)]
Merge "Consistent creation/destruction of user data." into nyc-dev
Michael Wright [Mon, 18 Apr 2016 19:12:15 +0000 (19:12 +0000)]
Merge "Add new MotionEvent flag for partially obscured windows." into mnc-dev am:
58dc18a am:
ab4b3c3 am:
2352674 am:
c846278
am:
455f288
* commit '
455f288a7db0e94be6a5c5277c8f09eb1b1ffd13':
Add new MotionEvent flag for partially obscured windows.
Change-Id: I13aeb4c3673b534e33dd6eb7d37f1a1520b0a301
Michael Wright [Mon, 18 Apr 2016 19:05:04 +0000 (19:05 +0000)]
Merge "Add new MotionEvent flag for partially obscured windows." into mnc-dev am:
58dc18a am:
ab4b3c3 am:
2352674
am:
c846278
* commit '
c846278141c94385a2c931a1df80ed3ffcc8e7c2':
Add new MotionEvent flag for partially obscured windows.
Change-Id: Ia0940c0440b94922fde7a93ef5d95df59aed3c3e
Michael Wright [Mon, 18 Apr 2016 18:59:32 +0000 (18:59 +0000)]
Merge "Add new MotionEvent flag for partially obscured windows." into mnc-dev am:
58dc18a am:
ab4b3c3
am:
2352674
* commit '
23526744e686a97487ac17bf344cf6932532c9d2':
Add new MotionEvent flag for partially obscured windows.
Change-Id: I383a125570663a744d8091860612f948cbf180fd
Michael Wright [Mon, 18 Apr 2016 18:53:53 +0000 (18:53 +0000)]
Merge "Add new MotionEvent flag for partially obscured windows." into mnc-dev am:
58dc18a
am:
ab4b3c3
* commit '
ab4b3c3b01da510227c7724ea2b68a6ce0bffc80':
Add new MotionEvent flag for partially obscured windows.
Change-Id: I68bf7f1d8130dc222a672e8c994afeb5b5d39a90
Michael Wright [Mon, 18 Apr 2016 18:48:20 +0000 (18:48 +0000)]
Merge "Add new MotionEvent flag for partially obscured windows." into mnc-dev
am:
58dc18a
* commit '
58dc18a43d0a832c3d684bbc27f8d4a3341c1582':
Add new MotionEvent flag for partially obscured windows.
Change-Id: I7d75c5a4c41e9b56cceac91ae731a85a3186b8f7
Felipe Leme [Mon, 18 Apr 2016 18:46:27 +0000 (18:46 +0000)]
Merge "Added -v option to bugreportz." into nyc-dev
am:
b2ec4ab
* commit '
b2ec4ab3ab3fdcfa0c0725599287b714ced54bd2':
Added -v option to bugreportz.
Change-Id: I57fcb2887c0c4618cffeecc96bae83263a1d3bd4
TreeHugger Robot [Mon, 18 Apr 2016 18:40:32 +0000 (18:40 +0000)]
Merge "Added -v option to bugreportz." into nyc-dev
Michael Wright [Mon, 18 Apr 2016 18:40:17 +0000 (18:40 +0000)]
Merge "Add new MotionEvent flag for partially obscured windows." into mnc-dev
Robert Carr [Mon, 18 Apr 2016 18:24:14 +0000 (18:24 +0000)]
Add setOverrideScalingMode to SurfaceControl
am:
c3574f7
* commit '
c3574f7b0141c69fdca25ccafb80ff334462f9a3':
Add setOverrideScalingMode to SurfaceControl
Change-Id: Ida74d56db3e9628f286d20954b35ee4ea68192e1
Robert Carr [Thu, 24 Mar 2016 19:19:32 +0000 (12:19 -0700)]
Add setOverrideScalingMode to SurfaceControl
Provide an interface for the window manager to override
the client specified scaling mode. This makes it possible
for the window manager to force windows to be scaleable
for animations, etc, even when a resize is pending.
Bug:
27891386
Change-Id: Ic4aae9917bd6869ee0dbb425979b4e21c68342a3
TreeHugger Robot [Sat, 16 Apr 2016 04:43:37 +0000 (04:43 +0000)]
Merge "sensorservice: switch to use sp<> in sensor list" into nyc-dev
Colin Cross [Fri, 15 Apr 2016 23:46:06 +0000 (23:46 +0000)]
Merge "Log when binder thread pool is starved" into nyc-dev
Colin Cross [Fri, 15 Apr 2016 21:29:55 +0000 (14:29 -0700)]
Log when binder thread pool is starved
Log when the number of threads executing binder commands is equal to the
maximium size of the thread pool for >100ms.
Bug:
28201939
Change-Id: I892863d8a81c06e362d4ae18ab08485fdec3c0bb
Craig Donner [Fri, 15 Apr 2016 21:29:39 +0000 (21:29 +0000)]
Merge "Adds spec for EGL_ANDROID_create_native_client_buffer." into nyc-dev
Dan Stoza [Fri, 15 Apr 2016 21:22:46 +0000 (21:22 +0000)]
Merge "SF: Fix the delivery of visible and damage rects to HWC" into nyc-dev
Tim Murray [Fri, 15 Apr 2016 20:49:12 +0000 (20:49 +0000)]
Merge "Revert "DispSync: Always resync after inactivity"" into nyc-dev
Mika Isojarvi [Fri, 15 Apr 2016 20:31:33 +0000 (20:31 +0000)]
Merge "White list EGL_EXT_yuv_surface extension" into nyc-dev
Peng Xu [Fri, 8 Apr 2016 06:15:14 +0000 (23:15 -0700)]
sensorservice: switch to use sp<> in sensor list
* Switch to use smart pointer in SensorList to avoid object
life cycle issue.
* Refactor HardwareSensor and various virtual sensor class.
* Change active virtual sensor map into a set of handles.
Change-Id: I674d5eb5c0038179f9ef1b6f0d576b8b605649ec
Felipe Leme [Fri, 15 Apr 2016 16:31:33 +0000 (09:31 -0700)]
Added -v option to bugreportz.
Calling 'bugreportz -v' will print its version, which will make it
easier for 'adb' to support multiple versions in the future (for
example, next version could display the bugreport progress rather than
wait until it is finished).
BUG:
27653204
Change-Id: I1bbb35a66cfc79ca534ae9eb7c2a53540755d653
Jeff Sharkey [Fri, 15 Apr 2016 02:45:06 +0000 (20:45 -0600)]
Consistent creation/destruction of user data.
Preparing and destroying users currently needs to be split across
installd, system_server, and vold, since no single party has all the
required SELinux permissions.
Start passing down flags so we only prepare/destroy storage areas
that have keys currently installed.
Add delete_dir_contents_and_dir() argument to ignore ENOENT, since
all we care about is the directory being gone.
Bug:
27896918
Change-Id: Ia1cccc9b35e6ff09e3ca50effeab676157b856e8
Mika Isojärvi [Fri, 15 Apr 2016 18:58:56 +0000 (11:58 -0700)]
White list EGL_EXT_yuv_surface extension
Bug:
28210992
Change-Id: If81a503de4cdfeba5a01d4d80d669714a2dfdb6b
TreeHugger Robot [Fri, 15 Apr 2016 18:18:15 +0000 (18:18 +0000)]
Merge "SF: Don't pop pending state into mCurrentState" into nyc-dev
Gary Smith [Fri, 15 Apr 2016 16:22:04 +0000 (17:22 +0100)]
SF: Fix the delivery of visible and damage rects to HWC
The storage space for the visible and damage regions was inside the
HWCLayerVersion1 class, which is temporarily allocated while using
an iterator. As such, the storage has been deleted by the time the
HWC gets a pointer to it sometime later and hence the HWC reads
garbage in all layers.
This commit moves the storage into the DisplayData structure and hence
it persists until the next frame.
Bug
28200888
Change-Id: If7cc8d2de49e3e66e9d17cc45934d8e544576026
Craig Donner [Fri, 15 Apr 2016 16:41:25 +0000 (09:41 -0700)]
Adds spec for EGL_ANDROID_create_native_client_buffer.
Change-Id: I7dacf234a3b5f5f9c50a0b4c0f5b82618f6bd09d
Fixes:
28210230
Martijn Coenen [Fri, 15 Apr 2016 12:29:05 +0000 (14:29 +0200)]
Move servicemanager into system-background cpuset.
Bug:
24949295
Change-Id: I9149c43edf79d9acbc5af4b3dc1eae59c695a86a
Dan Stoza [Thu, 14 Apr 2016 23:42:07 +0000 (23:42 +0000)]
Merge "HWC2: Change version detection scheme" into nyc-dev
Pablo Ceballos [Thu, 14 Apr 2016 22:49:55 +0000 (15:49 -0700)]
SF: Don't pop pending state into mCurrentState
Let mCurrentState always represent the most up to date state, even if
there are transactions we don't want to commit yet. Past snapshots of
the state are kept in mPendingState. In doTransaction(), grab the
correct pending state from mPendingState, but save it to a local copy
that gets committed rather than overriding mCurrentState.
Bug
27205755
Change-Id: Ib0ea809da1954409787c52b8f41d7963a57a6a4c
Chia-I Wu [Thu, 14 Apr 2016 22:37:28 +0000 (22:37 +0000)]
Merge changes I05c45303,I25b71570,I56ebc0ee into nyc-dev
* changes:
vulkan: fix vkGet*ProcAddr for un-enabled extensions
vulkan: do not query non-enabled WSI functions
vulkan: pass hal_extensions to InitDriverTable
Dan Stoza [Thu, 14 Apr 2016 21:44:34 +0000 (21:44 +0000)]
Merge "HWC2: Check SidebandStream capability on load" into nyc-dev
Dan Stoza [Thu, 14 Apr 2016 21:30:41 +0000 (14:30 -0700)]
HWC2: Change version detection scheme
SurfaceFlinger now checks hardware composer module numbers by looking
at device.version, the high byte of which corresponds to the HWC
major version (0x01... for HWC 1.x and 0x02... for HWC 2.0).
Bug:
28161397
Change-Id: I4560bf60c35bdb97629fda1aa1256b03122688ad
Lianchao Song [Thu, 14 Apr 2016 21:09:38 +0000 (21:09 +0000)]
DO NOT MERGE ANYWHERE Sensorservice, fix the over boundary risk am:
d89d29d -s ours
am:
f42496c -s ours
* commit '
f42496c55225aaf2aa28a059bc38aef3badd3705':
DO NOT MERGE ANYWHERE Sensorservice, fix the over boundary risk
Change-Id: I18d5a628fc494995eb29c72af42951fbb81cefad
Lianchao Song [Thu, 14 Apr 2016 21:06:15 +0000 (21:06 +0000)]
DO NOT MERGE ANYWHERE Sensorservice, fix the over boundary risk
am:
d89d29d -s ours
* commit '
d89d29d348855a9348509555a2d6fe87202ca715':
DO NOT MERGE ANYWHERE Sensorservice, fix the over boundary risk
Change-Id: I10bc5f966913b39c81ffffa73739bbe24055a54d
Andy Hung [Thu, 14 Apr 2016 20:47:23 +0000 (20:47 +0000)]
Merge "Unify dumped native stack traces" into nyc-dev
Dan Stoza [Thu, 14 Apr 2016 19:31:01 +0000 (12:31 -0700)]
HWC2: Check SidebandStream capability on load
Checks whether the HWC2 device has the SidebandStream capability
before attempting to load the corresponding function pointer
Bug:
28161394
Change-Id: I6407d61a1b23138781e57213bcb868be46609018
Lianchao Song [Tue, 12 Apr 2016 13:58:32 +0000 (21:58 +0800)]
DO NOT MERGE ANYWHERE Sensorservice, fix the over boundary risk
Add the parameter check during the operation of memcopy/memmove
to avoid the over boundary risk.
If this issue happen, the android system will restart.
Modify the code refer to the review comment
BUG:
28123226
Change-Id: Ib17e94d9b916938756d460bc2c05dd2d60246932
Signed-off-by: Lianchao Song <songlianchao@huawei.com>
Pablo Ceballos [Thu, 14 Apr 2016 17:10:26 +0000 (17:10 +0000)]
Merge "egl: add EGL_KHR_mutable_render_buffer" into nyc-dev
Dan Stoza [Thu, 14 Apr 2016 16:11:48 +0000 (16:11 +0000)]
Revert "DispSync: Always resync after inactivity"
This reverts commit
f34b9be610ce286af224364cb6e69ef6f7697ee9.
Bug:
28160740
Change-Id: I48a5bd66712651b42fdc0aaf1492899d7b032977
Andriy Naborskyy [Thu, 14 Apr 2016 02:54:14 +0000 (19:54 -0700)]
remove compass from default wearable_core_hardware.xml
The compass is not a required Android Wear sensor.
BUG:
22854370
Change-Id: Ibe3cb1a80bab59cee294a34aa3331fb92a5ca0d6
Andy Hung [Thu, 14 Apr 2016 02:35:34 +0000 (19:35 -0700)]
Unify dumped native stack traces
Bug:
28179196
Change-Id: Ie728ceace7aaf38389dd9684342e351feed6e5a7