OSDN Git Service
Erik Kline [Fri, 27 May 2016 04:02:28 +0000 (04:02 +0000)]
Add "ip maddr" to dumpstate output for debugging.
am:
f7f2b0fd05
* commit '
f7f2b0fd059bc26e27c022f3fb446fc74eab6c88':
Add "ip maddr" to dumpstate output for debugging.
Change-Id: I0f0e12abaf640f2d8d8378b526568921e125b188
Erik Kline [Fri, 27 May 2016 02:29:19 +0000 (11:29 +0900)]
Add "ip maddr" to dumpstate output for debugging.
Bug:
28966611
Change-Id: I8fdab94fbd41448e52f2fed406e8f43edf7f18ad
Michael Wright [Thu, 26 May 2016 15:07:29 +0000 (15:07 +0000)]
Mark the multiwindow divider as a trusted overlay.
am:
b9be0cf397
* commit '
b9be0cf397eb6053fb5b472d91cf2d6a22c6693f':
Mark the multiwindow divider as a trusted overlay.
Change-Id: Ice0475f9db54920bbe5bff9bd8a2c56b5a48c43f
Michael Wright [Thu, 26 May 2016 12:49:53 +0000 (13:49 +0100)]
Mark the multiwindow divider as a trusted overlay.
Having it be untrusted breaks the permissions granting dialog in
multiwindow mode.
Bug:
28828041
Change-Id: I9193dbce7315ebaa205673edd4f406d0b72665c8
Robert Carr [Tue, 24 May 2016 23:22:41 +0000 (23:22 +0000)]
Merge "SF: Force empty sync transactions to apply anyway" into nyc-dev
am:
7443c1f253
* commit '
7443c1f253008acd868af1e35449dd5eb3139c8d':
SF: Force empty sync transactions to apply anyway
Change-Id: Ic5b1f24f75027800429641eb3c2879a5742e130d
TreeHugger Robot [Tue, 24 May 2016 23:15:00 +0000 (23:15 +0000)]
Merge "SF: Force empty sync transactions to apply anyway" into nyc-dev
Robert Carr [Tue, 24 May 2016 18:41:28 +0000 (11:41 -0700)]
SF: Force empty sync transactions to apply anyway
Following the change to not flush transactions in the screen shot
path, this enables the use of empty synchronous transactions as a
flush mechanism for previous asynchronous transactions.
Bug:
27098060
Change-Id: I282fdfffb72db148edcbf1ded65b15816fc714a2
Mark Salyzyn [Tue, 24 May 2016 19:38:40 +0000 (12:38 -0700)]
resolve merge conflicts of
1750081 to nyc-dev-plus-aosp
Change-Id: If25f336cfc2fa02cba863987da6f55647636417e
Mark Salyzyn [Tue, 24 May 2016 19:01:48 +0000 (19:01 +0000)]
Merge "dumpstate: sscanf requires an asciiz string"
am:
8b10517602
* commit '
8b105176024f4349755300d5903ed1b074fd4b9a':
dumpstate: sscanf requires an asciiz string
Change-Id: Iad314a7bfcbfd29ca95a0c8a76e52f8b894d04e2
Treehugger Robot [Tue, 24 May 2016 18:54:40 +0000 (18:54 +0000)]
Merge "dumpstate: sscanf requires an asciiz string"
Dan Stoza [Tue, 24 May 2016 18:18:08 +0000 (18:18 +0000)]
Merge "SF: Remove forced transaction on screenshot" into nyc-dev
am:
854071a38f
* commit '
854071a38f250bd0638f1dfdb99b9ccc0010e7d0':
SF: Remove forced transaction on screenshot
Change-Id: I2a321e5ddef0fd8b4dd5b3cb3a1e409c6998cd5e
Dan Stoza [Tue, 24 May 2016 18:01:24 +0000 (18:01 +0000)]
Merge "SF: Remove forced transaction on screenshot" into nyc-dev
Chih-hung Hsieh [Tue, 24 May 2016 17:54:48 +0000 (17:54 +0000)]
Merge "Fix misc-macro-parentheses warnings in libs/binder." am:
44d29d4d07
am:
26c812f077
* commit '
26c812f0774e42d4ab0f90f5448412151bb33367':
Fix misc-macro-parentheses warnings in libs/binder.
Change-Id: I6e9aac1e7373a866b0a5e853d0012a928d9abaa0
Chih-Hung Hsieh [Tue, 24 May 2016 17:48:46 +0000 (17:48 +0000)]
Merge "Fix misc-macro-parentheses warnings in libs/binder."
am:
44d29d4d07
* commit '
44d29d4d07a1262afaf84374ef136e30f24f491d':
Fix misc-macro-parentheses warnings in libs/binder.
Change-Id: I4619aac41c494bd01dd5ffa8279853ecf8719709
Chih-hung Hsieh [Tue, 24 May 2016 17:38:21 +0000 (17:38 +0000)]
Merge "Fix misc-macro-parentheses warnings in libs/binder."
Dan Stoza [Tue, 24 May 2016 17:14:24 +0000 (17:14 +0000)]
Merge "HWC2: Fix breakage from header change" into nyc-dev
am:
80bc52aefa
* commit '
80bc52aefa56e590f05bc30ff0182d860f00b128':
HWC2: Fix breakage from header change
Change-Id: I05e5ac7285d232074ac336611cbc14643aac9f6e
Dan Stoza [Tue, 24 May 2016 16:55:43 +0000 (16:55 +0000)]
Merge "HWC2: Fix breakage from header change" into nyc-dev
Lajos Molnar [Tue, 24 May 2016 14:24:10 +0000 (14:24 +0000)]
stagefright: define mpeg2 HighP level constant
am:
9e332babb9
* commit '
9e332babb92d329c3c9b2e58fef77252cc11e52b':
stagefright: define mpeg2 HighP level constant
Change-Id: I63bd7d0750a47d3664c7718b8f0bf6bcc8933e4a
Lajos Molnar [Tue, 24 May 2016 14:02:01 +0000 (07:02 -0700)]
stagefright: define mpeg2 HighP level constant
Bug:
28671284
Change-Id: Ic97fd9c3cb4ce04f9cfcd18a4daf68db3349694b
Chia-I Wu [Tue, 24 May 2016 01:24:36 +0000 (01:24 +0000)]
vulkan: advertise VK_EXT_debug_report
am:
319382517a
* commit '
319382517afe913285df5bbf76a8a484e6adfbd0':
vulkan: advertise VK_EXT_debug_report
Change-Id: Ia72dd77fe660a34ae7a40d1a9c09c3791c5bc3e0
Chia-I Wu [Tue, 24 May 2016 01:24:35 +0000 (01:24 +0000)]
vulkan: add a wrapper for hwvulkan_device_t
am:
31b2e4f01d
* commit '
31b2e4f01d31aae107340cbc4221b8d49fb42767':
vulkan: add a wrapper for hwvulkan_device_t
Change-Id: I6968ef5d309c7e98dee46b1d8305dad8e0593597
Chia-I Wu [Mon, 23 May 2016 07:31:02 +0000 (15:31 +0800)]
vulkan: advertise VK_EXT_debug_report
We use VK_EXT_debug_report to report most messages and we should always
advertise the extension. This is complicated however because the HAL may
also advertise the extension.
Do the minimal and cache whether the HAL supports VK_EXT_debug_report in
class Hal. More refactorings will be required if we want to be more
flexible.
Bug:
28753291
Change-Id: I0298b2c3024e2ed059411128dbbe264c0b289a4b
Chia-I Wu [Mon, 23 May 2016 02:47:57 +0000 (10:47 +0800)]
vulkan: add a wrapper for hwvulkan_device_t
Add class Hal as a wrapper for hwvulkan_device_t.
Bug:
28753291
Change-Id: I9612ee5515c7f2266cfc1ef0c8583fa98c82dd86
Chia-I Wu [Mon, 23 May 2016 23:49:46 +0000 (23:49 +0000)]
Merge "vulkan: do not use exported functions internally" into nyc-dev
am:
e6759c3d88
* commit '
e6759c3d886491f01dd2295f71d22609b3b9b259':
vulkan: do not use exported functions internally
Change-Id: I69b3e94ae15ddce28a9e864893ea16caa5b886c5
Chia-I Wu [Mon, 23 May 2016 23:36:52 +0000 (23:36 +0000)]
Merge "vulkan: do not use exported functions internally" into nyc-dev
Felipe Leme [Mon, 23 May 2016 20:12:48 +0000 (20:12 +0000)]
Merge "Expose functions used to add entries to the zip file." into nyc-dev
am:
6108f5d400
* commit '
6108f5d4004d2a3397c22d22025b8e0eb79b8467':
Expose functions used to add entries to the zip file.
Change-Id: I6c1ce87ce8eb9edf32df7c3f0e1926acd1bc0e00
TreeHugger Robot [Mon, 23 May 2016 20:01:25 +0000 (20:01 +0000)]
Merge "Expose functions used to add entries to the zip file." into nyc-dev
Felipe Leme [Thu, 19 May 2016 23:18:17 +0000 (16:18 -0700)]
Expose functions used to add entries to the zip file.
Currently only dumpstate.cpp is using the new functions and variables
used to add an entry to the zip file so they're defined locally, but
they should be exposed through the .h so they can be used by the
device-specific dumpstate_board() implementations.
This CL moves the following definitions to the .h:
- bugreport_dir
- ZIP_ROOT_DIR
- add_zip_entry()
- add_zip_entry_from_fd()
It also refactored functions that were taking a specific file location
to use bugreport_dir instead, to avoid pollution on main().
BUG:
28867848
Change-Id: Ic5faa203b0863bc950d640f22fb91977e52b6bfc
Lajos Molnar [Mon, 23 May 2016 16:27:12 +0000 (16:27 +0000)]
omx: add asString for new enumerations and fix some issues
am:
1b9c8069f4
* commit '
1b9c8069f423f25c4dc166618d9fbe8d94d7f7c0':
omx: add asString for new enumerations and fix some issues
Change-Id: I26e6e98d64843f15cb551011b502da0b0559c30a
Lajos Molnar [Sat, 21 May 2016 02:38:40 +0000 (19:38 -0700)]
omx: add asString for new enumerations and fix some issues
Bug:
28671284
Change-Id: I54e98d727f974544d51b2a14b565ad24912ab242
Lajos Molnar [Mon, 23 May 2016 13:21:51 +0000 (13:21 +0000)]
Merge "omx: add missing MPEG4 levels" into nyc-dev
am:
6472c8c660
* commit '
6472c8c660232300a0d2bf8721ec028a2db229a9':
omx: add missing MPEG4 levels
Change-Id: Ia51fbea677782007099d0984e23ced3ed8844cf2
Lajos Molnar [Mon, 23 May 2016 13:17:25 +0000 (13:17 +0000)]
Merge "omx: add missing MPEG4 levels" into nyc-dev
Chia-I Wu [Fri, 20 May 2016 08:15:06 +0000 (16:15 +0800)]
vulkan: do not use exported functions internally
Our vkGet*ProcAddr uses the exported functions. They will break when any
of the exported functions are overridden (e.g., through LD_PRELOAD).
Unexport and move all exported functions to vulkan::api namespace.
Re-export them by having vkFoo as a wrapper to vulkan::api::Foo.
Another option is to re-export vulkan::api::Foo by having vkFoo as an
alias using __attribute__((alias)). That results in smaller binaries.
But we will not be able to catch mismatches between vulkan.h and
vulkan.api.
To avoid future breakage, define VK_NO_PROTOTYPES for all files except
api_gen.cpp.
Bug:
28886971
Change-Id: I08fde7ebb247f8c7e040ccf812b40b02094d3c7f
Jesse Hall [Sat, 21 May 2016 21:27:47 +0000 (21:27 +0000)]
Merge "Ensure memory ordering around libagl and EGL refcount operations" into nyc-dev
am:
bac438bbb6
* commit '
bac438bbb682b09b618f47f2e36628a464afc8ea':
Ensure memory ordering around libagl and EGL refcount operations
Change-Id: Ia12a377e298f015d5c2dfe71fb5cf1e88933f17c
Jesse Hall [Sat, 21 May 2016 21:21:42 +0000 (21:21 +0000)]
Merge "Ensure memory ordering around libagl and EGL refcount operations" into nyc-dev
Jesse Hall [Fri, 20 May 2016 17:47:07 +0000 (10:47 -0700)]
Ensure memory ordering around libagl and EGL refcount operations
The android_atomic_inc/android_atomic_dec functions don't impose
sufficient memory ordering. Using them for object refcounting could
allow an object to be destroyed prior to writes by a different thread
being visible.
Bug:
28820690
Change-Id: Ie018091035174255a22ebc52852528cdaec2d648
Jesse Hall [Fri, 20 May 2016 21:56:59 +0000 (21:56 +0000)]
vulkan: Update vulkan.h to 1.0.13
am:
2676338dd6
* commit '
2676338dd692b7d1e1c276d82e6b0492db53ab2e':
vulkan: Update vulkan.h to 1.0.13
Change-Id: I25fd0770f0ff6d45851ea924bf86adbd0d1ecb50
Chih-Hung Hsieh [Fri, 20 May 2016 21:44:05 +0000 (21:44 +0000)]
Merge "Fix misc-macro-parentheses warnings in libs/gui." am:
3f5fc8aa6a
am:
5abf78e6b8
* commit '
5abf78e6b849595b2e937563a5570375b2287bd8':
Fix misc-macro-parentheses warnings in libs/gui.
Change-Id: Ica1eb1e2fcd63b70e470d3d5527c9789a11fbcbe
Chih-hung Hsieh [Fri, 20 May 2016 21:44:05 +0000 (21:44 +0000)]
Merge "Fix misc-macro-parentheses warnings in sensorservice and CHECK_INTERFACE." am:
bb261bf41a
am:
dea1b6820d
* commit '
dea1b6820d0370914061ee6d147c2fab0c1bfd6c':
Fix misc-macro-parentheses warnings in sensorservice and CHECK_INTERFACE.
Change-Id: Icf533c544905be12e7a28fce4523f32a0b3bedb0
Chih-hung Hsieh [Fri, 20 May 2016 21:44:04 +0000 (21:44 +0000)]
Merge "Fix misc-macro-parentheses warnings in test macros." am:
23d433c576
am:
eb209a41f1
* commit '
eb209a41f14a30ceccbd52ee254181e36a8a318a':
Fix misc-macro-parentheses warnings in test macros.
Change-Id: Ia7f58971d3c828fa0bed800585cec3ca446ca655
Chih-Hung Hsieh [Fri, 20 May 2016 21:41:50 +0000 (14:41 -0700)]
resolve merge conflicts of
e375c68 to nyc-dev-plus-aosp
Change-Id: Ic6b535f7b078b674603c2df6d4ff66b29ff54c26
Dan Stoza [Fri, 20 May 2016 21:02:39 +0000 (14:02 -0700)]
HWC2: Fix breakage from header change
Updates the shim and adapter to handle the header changes introduced
by "HWC2: Add format to VD create, surface damage" in libhardware.
Bug:
22767098
Change-Id: I8142301c121d9b5602a4455f3fbadefefd685cf0
Chih-Hung Hsieh [Fri, 20 May 2016 20:47:28 +0000 (20:47 +0000)]
Merge "Fix misc-macro-parentheses warnings in libs/gui."
am:
3f5fc8aa6a
* commit '
3f5fc8aa6a09f09378a4ab98d2c505830a34b8a1':
Fix misc-macro-parentheses warnings in libs/gui.
Change-Id: Ia0305eda4d192465ac3993a85dc12cc4749f57a8
Chih-Hung Hsieh [Fri, 20 May 2016 20:47:26 +0000 (20:47 +0000)]
Merge "Fix misc-macro-parentheses warnings in sensorservice and CHECK_INTERFACE."
am:
bb261bf41a
* commit '
bb261bf41ae6dedfea53c896170af72dc5b7f84a':
Fix misc-macro-parentheses warnings in sensorservice and CHECK_INTERFACE.
Change-Id: I41a08c5bccc187f766ac896f11e788219440f2d7
Chih-Hung Hsieh [Fri, 20 May 2016 20:47:25 +0000 (20:47 +0000)]
Merge "Fix misc-macro-parentheses warnings in test macros."
am:
23d433c576
* commit '
23d433c5769553ba4becdf093ba9fd5d1d8640ea':
Fix misc-macro-parentheses warnings in test macros.
Change-Id: I4bd7da1675d19a08d83a553e9f980aa34c8577ac
Chih-Hung Hsieh [Fri, 20 May 2016 20:47:23 +0000 (20:47 +0000)]
Merge "Fix misc-macro-parentheses warnings in opengl."
am:
b09e70ce56
* commit '
b09e70ce56f13c319a2936d47207e0322935059f':
Fix misc-macro-parentheses warnings in opengl.
Change-Id: I6778f23285bfa0115e0222f03b52ef4f871cc2f7
Treehugger Robot [Fri, 20 May 2016 20:43:38 +0000 (20:43 +0000)]
Merge "Fix misc-macro-parentheses warnings in libs/gui."
Chih-hung Hsieh [Fri, 20 May 2016 20:40:52 +0000 (20:40 +0000)]
Merge "Fix misc-macro-parentheses warnings in sensorservice and CHECK_INTERFACE."
Chih-hung Hsieh [Fri, 20 May 2016 20:40:27 +0000 (20:40 +0000)]
Merge "Fix misc-macro-parentheses warnings in test macros."
Chih-hung Hsieh [Fri, 20 May 2016 20:40:09 +0000 (20:40 +0000)]
Merge "Fix misc-macro-parentheses warnings in opengl."
Chih-Hung Hsieh [Fri, 20 May 2016 18:46:52 +0000 (11:46 -0700)]
Fix misc-macro-parentheses warnings in libs/gui.
Bug:
28705665
Change-Id: I9fcebd23e0bcf89c41cb3cbc31cae00c8e623dbd
Chih-Hung Hsieh [Fri, 20 May 2016 18:40:04 +0000 (11:40 -0700)]
Fix misc-macro-parentheses warnings in sensorservice and CHECK_INTERFACE.
Bug:
28705665
Change-Id: I53ed01b67054327ad55a7e83143cc82283573fe1
Chih-Hung Hsieh [Fri, 20 May 2016 18:33:26 +0000 (11:33 -0700)]
Fix misc-macro-parentheses warnings in test macros.
Bug:
28705665
Change-Id: I6e64ccdae5869b66a3caa09d8f32b2fcc9c1b2b9
Chih-Hung Hsieh [Fri, 20 May 2016 18:30:10 +0000 (11:30 -0700)]
Fix misc-macro-parentheses warnings in libs/binder.
Bug:
28705665
Change-Id: I98a1dc5cc93e31609d3feedb6dd6a33685be69a6
Chih-Hung Hsieh [Fri, 20 May 2016 18:27:11 +0000 (11:27 -0700)]
Fix misc-macro-parentheses warnings in opengl.
Bug:
28705665
Change-Id: I761d310f0dff182c288cdbb5371272f4833aa282
Jesse Hall [Fri, 20 May 2016 14:13:52 +0000 (07:13 -0700)]
vulkan: Update vulkan.h to 1.0.13
vulkan.h and vk_platform.h imported from
github.com:KhronosGroup/Vulkan-Docs @
2656f459333b3a1dc63619a9ebd83490eea22e93
Updated vulkan.api to reflect the changes in vulkan.h. There were no
changes to any of the code we generate. I didn't update the
vulkan_h.tmpl, since we're not currently using it and it was already
out of date.
Bug:
28878216
Change-Id: I71676683148fae7ad8799bd39386a931319aa395
Jesse Hall [Fri, 20 May 2016 14:06:32 +0000 (14:06 +0000)]
Merge "libvulkan: Don\'t try to load compressed/unaligned libraries from APK" into nyc-dev
am:
b59de7fa32
* commit '
b59de7fa32b0bcaf52d00290d075d8e9c8f2dd2b':
libvulkan: Don't try to load compressed/unaligned libraries from APK
Change-Id: Iac2f75ce638a8bb14ffe258d6e5e8e18e0701a46
Jesse Hall [Fri, 20 May 2016 13:58:01 +0000 (13:58 +0000)]
Merge "libvulkan: Don't try to load compressed/unaligned libraries from APK" into nyc-dev
Wei Liu [Fri, 20 May 2016 05:42:01 +0000 (05:42 +0000)]
Fix the DUMPSYS skip.
am:
34222565fc
* commit '
34222565fc9cf167d8ebe6068a9695f4b0b0f1b0':
Fix the DUMPSYS skip.
Change-Id: Iaf70874e0a63a40b68b121ef75698e5225fd8b3c
Wei Liu [Thu, 19 May 2016 20:59:01 +0000 (13:59 -0700)]
Fix the DUMPSYS skip.
b/
28869921
Change-Id: Idc108b2d3cfd237f459467a3c399a0ba5e248d24
Jesse Hall [Thu, 19 May 2016 17:58:35 +0000 (10:58 -0700)]
libvulkan: Don't try to load compressed/unaligned libraries from APK
Bug:
28825642
Change-Id: I46ea3a54010cccf9e23696a4aff52a42a31d92b1
Lajos Molnar [Thu, 19 May 2016 22:27:31 +0000 (15:27 -0700)]
omx: add missing MPEG4 levels
Bug:
28671284
Change-Id: I96b50580cc29c11732fd2b496ba6d832b7067256
Chia-I Wu [Wed, 18 May 2016 23:04:58 +0000 (23:04 +0000)]
Merge "vulkan: fix double dlopen for layer libraries" into nyc-dev
am:
79994146e1
* commit '
79994146e18fefe37550111c5703c6a6859644d6':
vulkan: fix double dlopen for layer libraries
Change-Id: If944e79c9babd2a2e63b65f0f39f6c771deb6ceb
Chia-I Wu [Wed, 18 May 2016 22:47:45 +0000 (22:47 +0000)]
Merge "vulkan: fix double dlopen for layer libraries" into nyc-dev
Mark Salyzyn [Mon, 16 May 2016 15:33:59 +0000 (08:33 -0700)]
dumpstate: sscanf requires an asciiz string
Bug:
28770668
Change-Id: Ice56b129a243296b2691d55e8f8c35b478b1f481
Mike Stroyan [Wed, 18 May 2016 18:18:29 +0000 (18:18 +0000)]
Merge "Preserve parameters to getProcAddress functions" into nyc-dev
am:
accafc69f5
* commit '
accafc69f50aeeb57615e14ff0b787ea322a0627':
Preserve parameters to getProcAddress functions
Change-Id: I7a7cbf4bcdef8d11cac0269600ff1e59076b26fe
Pablo Ceballos [Wed, 18 May 2016 18:09:33 +0000 (18:09 +0000)]
Merge "SF: Fix arbitrary rotation with inverse display transform" into nyc-dev
am:
885ac76b90
* commit '
885ac76b90e2f3e5cfaec7bbc8ff2e1de8d62435':
SF: Fix arbitrary rotation with inverse display transform
Change-Id: I1d67ba1dd7589d35d8a23bda701896b802c38a79
Dan Stoza [Wed, 18 May 2016 18:09:32 +0000 (18:09 +0000)]
HWC2: Set composition type before setting buffer
am:
0f67b3f01f
* commit '
0f67b3f01fc74bbd8cf4be24fce4a1e42f102282':
HWC2: Set composition type before setting buffer
Change-Id: Id90777e83c0455cd95c28acb94d1ed791222851c
Mike Stroyan [Wed, 18 May 2016 18:07:00 +0000 (18:07 +0000)]
Merge "Preserve parameters to getProcAddress functions" into nyc-dev
Pablo Ceballos [Wed, 18 May 2016 17:59:02 +0000 (17:59 +0000)]
Merge "SF: Fix arbitrary rotation with inverse display transform" into nyc-dev
Chia-I Wu [Wed, 18 May 2016 00:50:15 +0000 (08:50 +0800)]
vulkan: fix double dlopen for layer libraries
Bug:
28826014
Change-Id: I10693426f987e63bb490ac8d1f4445ce2d195d8d
Pablo Ceballos [Tue, 17 May 2016 20:34:45 +0000 (13:34 -0700)]
SF: Fix arbitrary rotation with inverse display transform
Bug
28043535
Change-Id: I8b939e17f91cf7e5b617bbcceb9df4efcc9d0161
Mike Stroyan [Tue, 17 May 2016 20:03:49 +0000 (14:03 -0600)]
Preserve parameters to getProcAddress functions
The contents of register r0 parameter were overwritten after commit
4690754. That used an "r" register to hold larger offsets, but doing
that overwrote r0 before it was passed on to the next call.
Applying the offset as two parts allows the total largest offset of
3588+1020 to be reached without using a register to hold that value.
Use an "addne" instruction to add the _api offset of up to 1020 within
the extensions array.
Use a "ldrne" offset to add the offset to the start of the extensions
array.
Bug:
26541117
Change-Id: Ie19e4aa584c9fa6fdec4de18e858777ac59d8dbd
Dan Stoza [Tue, 17 May 2016 17:48:38 +0000 (10:48 -0700)]
HWC2: Set composition type before setting buffer
SurfaceFlinger was incorrectly setting the buffer handle before
setting the composition type. This led to cases where the layer was
initially marked as Invalid or Client, allowing HWC2 to ignore the
buffer handle, even though the layer was later changed to Device
before presentation.
Bug:
28814745
Change-Id: I41189495dcb254f04e6b2b329c044301c5cff97c
Dan Stoza [Mon, 16 May 2016 20:36:29 +0000 (13:36 -0700)]
SF: Remove forced transaction on screenshot
Removes the forced transaction that screenshots used to perform
before capturing the screen. This was initially added to prevent
screenshot capture from sneaking in between when a transaction is
closed and when it is actually applied (at the next vsync), but in
the presence of deferred transactions today, forcing a transaction
to occur doesn't guarantee that the last transaction that
WindowManager pushed has actually been committed yet, since it may be
waiting for a buffer with which to synchronize.
If WindowManager wants to guarantee some arrangement of windows is
present for a screenshot, it needs to set the synchronous flag to
true when calling closeGlobalTransaction and wait for the call to
return.
Bug:
27098060
Change-Id: Iaa36d76df521076cc8ed16576f651543bae419a8
Nick Kralevich [Mon, 16 May 2016 17:18:19 +0000 (17:18 +0000)]
Merge "dumpstate: convert sprintfs to snprintfs" into nyc-dev
am:
853f8f9c0b
* commit '
853f8f9c0b95120731459c1f7567af69ce457fe0':
dumpstate: convert sprintfs to snprintfs
Change-Id: Ie88fe46faad244e6d080e063a2d7d9a94a71cd45
TreeHugger Robot [Mon, 16 May 2016 17:12:56 +0000 (17:12 +0000)]
Merge "dumpstate: convert sprintfs to snprintfs" into nyc-dev
Nick Kralevich [Sat, 14 May 2016 23:47:44 +0000 (16:47 -0700)]
dumpstate: convert sprintfs to snprintfs
Bug:
28731007
Change-Id: Icfa4d6dfaf69e989ec785146a6bde1afb6a6f345
Chia-I Wu [Sat, 14 May 2016 07:26:03 +0000 (07:26 +0000)]
vulkan: check flags for early debug report callbacks
am:
ede02ac245
* commit '
ede02ac245b5f2aa1139d6cb0e2dc7c0f8f290d2':
vulkan: check flags for early debug report callbacks
Change-Id: I25a465f0ea8000257e06784c30120f89240abef4
Chia-I Wu [Fri, 13 May 2016 02:45:59 +0000 (10:45 +0800)]
vulkan: check flags for early debug report callbacks
We have a different path to invoke early (that is, vkCreateInstance) debug
report callbacks. Check for "flags" in this path as well.
Bug:
28753666
Change-Id: I49b5f2920b38ffdf69036f352166ae3b0aca62c5
Jesse Hall [Thu, 12 May 2016 21:18:47 +0000 (21:18 +0000)]
libvulkan: Load layer libraries into the app namespace
am:
40c07a1d00
* commit '
40c07a1d002561fc8db987ec30d890b041fb6336':
libvulkan: Load layer libraries into the app namespace
Change-Id: Ife6987954b37e7e6c2bf1e245993bb99872547d9
Jesse Hall [Thu, 12 May 2016 21:18:46 +0000 (21:18 +0000)]
libvulkan: Discover layer libraries in entire search path
am:
1a7eb59c2a
* commit '
1a7eb59c2a7907ea4c4925c6d13d66e53fb60339':
libvulkan: Discover layer libraries in entire search path
Change-Id: I82e1c9f06305e22301ffe33ef77da463e9bafc2d
Jesse Hall [Thu, 12 May 2016 05:56:29 +0000 (22:56 -0700)]
libvulkan: Load layer libraries into the app namespace
Bug:
28213888
Change-Id: I79901693c30f0e69730643b424e504a8d3628624
Jesse Hall [Sun, 1 May 2016 19:04:40 +0000 (21:04 +0200)]
libvulkan: Discover layer libraries in entire search path
Previously we only searched the unpacked native library path for layer
libraries. Now we search all directories in the dynamic linker's
search path, including unpacked libraries in the APK itself.
Bug:
28213888
Change-Id: I37772fd90f705592ae1725c7c8603b0174e6b133
Chia-I Wu [Thu, 12 May 2016 04:29:29 +0000 (04:29 +0000)]
Merge changes from topic \'vk-debug-report\' into nyc-dev
am:
12cb94a840
* commit '
12cb94a840f40b35c0dcd8580366a76e768585c5':
vulkan: improve vulkan::driver logcat messages
vulkan: use Logger in vulkan::api
vulkan: use Logger in the generated code
vulkan: add DebugReportLogger
vulkan: make debug report callbacks available in DeviceData
vulkan: avoid duplicated app messages
vulkan: constify DebugReportCallbackList::Message
vulkan: refactor DebugReportCallbackList
Change-Id: I14735c6f51630fb061689544a6900c547f11e752
Chia-I Wu [Thu, 12 May 2016 04:25:21 +0000 (04:25 +0000)]
Merge changes from topic 'vk-debug-report' into nyc-dev
* changes:
vulkan: improve vulkan::driver logcat messages
vulkan: use Logger in vulkan::api
vulkan: use Logger in the generated code
vulkan: add DebugReportLogger
vulkan: make debug report callbacks available in DeviceData
vulkan: avoid duplicated app messages
vulkan: constify DebugReportCallbackList::Message
vulkan: refactor DebugReportCallbackList
Dan Stoza [Wed, 11 May 2016 17:04:55 +0000 (17:04 +0000)]
Merge "SF: Apply translations to transparent region" into nyc-dev
am:
df98fb952f
* commit '
df98fb952f5328c3df3d098df39297c44bdaa022':
SF: Apply translations to transparent region
Change-Id: I819ad0a1728e8bfa1f3d06ecddac3dac8ddbe2b6
Pablo Ceballos [Wed, 11 May 2016 17:04:55 +0000 (17:04 +0000)]
Merge "SF: Set state modified flag when changing sizes" into nyc-dev
am:
0abac03fc9
* commit '
0abac03fc9d415b27e3f93d76859aae5f7c3050f':
SF: Set state modified flag when changing sizes
Change-Id: Ifd3ee6abdc12d141a7de0f2a2f3800017da6a69e
Dan Stoza [Wed, 11 May 2016 17:01:24 +0000 (17:01 +0000)]
Merge "SF: Apply translations to transparent region" into nyc-dev
Pablo Ceballos [Wed, 11 May 2016 17:00:22 +0000 (17:00 +0000)]
Merge "SF: Set state modified flag when changing sizes" into nyc-dev
Jeff Sharkey [Wed, 11 May 2016 03:47:43 +0000 (03:47 +0000)]
Merge "Move both CE/DE storage areas to adopted storage." into nyc-dev
am:
cdea85e9a3
* commit '
cdea85e9a347e9c6d159b191cf1d121ae107f956':
Move both CE/DE storage areas to adopted storage.
Change-Id: Ifcf99c3c60b0ef68e1262afb0a5d0943d039ac67
Jeff Sharkey [Wed, 11 May 2016 03:47:42 +0000 (03:47 +0000)]
Merge "Search both CE/DE storage when clearing caches." into nyc-dev
am:
128074fcb9
* commit '
128074fcb90148b40ed45bba6e650cfc2eb1f1ad':
Search both CE/DE storage when clearing caches.
Change-Id: I3307902105a26d0a3f1b0c4a59a499d0dcac88e3
Jeff Sharkey [Wed, 11 May 2016 03:41:25 +0000 (03:41 +0000)]
Merge "Move both CE/DE storage areas to adopted storage." into nyc-dev
Jeff Sharkey [Wed, 11 May 2016 03:39:58 +0000 (03:39 +0000)]
Merge "Search both CE/DE storage when clearing caches." into nyc-dev
Pablo Ceballos [Wed, 11 May 2016 00:15:24 +0000 (17:15 -0700)]
SF: Set state modified flag when changing sizes
The BufferRejecter updates the Layer state when it gets the first
buffer of the new size after a size change has occurred. When this
happens make sure to set the state modified flag.
Bug
27780983
Change-Id: Id8c628c40164110e75f8defd68ca895d72ed2e83
Jeff Sharkey [Tue, 10 May 2016 23:46:39 +0000 (17:46 -0600)]
Move both CE/DE storage areas to adopted storage.
Public APIs now support separate CE/DE storage areas on all devices,
so they both need to be moved together.
Bug:
25861755
Change-Id: Ibe64a0c9ce0ef286adff2b66bfd432d14f1041d0
Jeff Sharkey [Tue, 10 May 2016 23:21:13 +0000 (17:21 -0600)]
Search both CE/DE storage when clearing caches.
Now that we have two data storage locations, we need to scan them
both when freeing up disk space. Clean up logic to use new
get_known_users() API.
Bug:
26056125
Change-Id: Ic05c0022d6f5eb438967b69402b1900678f3858b
Dan Stoza [Tue, 10 May 2016 23:19:53 +0000 (16:19 -0700)]
SF: Apply translations to transparent region
Correctly applies translation-only transforms to the transparent
region so that it aligns with the layer bounds in screen space.
Bug:
28220791
Change-Id: If9137b873f4b89890127671d8c45745e079f1cbc
Marco Nelissen [Mon, 9 May 2016 21:43:33 +0000 (21:43 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9 am:
853702ce3d am:
775f2e6dbf am:
82afbe2258 am:
c2c470c700 am:
56dea28189 am:
bca20d8376 am:
a8244873a8 am:
93bf31f54d am:
f91c66a9a8
am:
fb6342d2bb
* commit '
fb6342d2bbf0f5e324ea1685a0b3cfc4af648ee7':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: Ib7680b30823e6bf41d7591fdb48c244565f323d0
Marco Nelissen [Mon, 9 May 2016 21:38:19 +0000 (21:38 +0000)]
Correctly handle dup() failure in Parcel::readNativeHandle am:
1de7966c72 am:
275c9f60f9 am:
853702ce3d am:
775f2e6dbf am:
82afbe2258 am:
c2c470c700 am:
56dea28189 am:
bca20d8376 am:
a8244873a8 am:
93bf31f54d
am:
f91c66a9a8
* commit '
f91c66a9a889f0ed851953dd0c1b2ff70e622dda':
Correctly handle dup() failure in Parcel::readNativeHandle
Change-Id: Ib4a4fe7d4ca8291fb82fcbbd91c3a0803a1e1b30