OSDN Git Service

android-x86/frameworks-native.git
8 years agoMerge "SurfaceFlinger: Add mode to apply position with resize." into nyc-dev
Robert Carr [Tue, 7 Jun 2016 20:47:02 +0000 (20:47 +0000)]
Merge "SurfaceFlinger: Add mode to apply position with resize." into nyc-dev
am: c3da482bb8

* commit 'c3da482bb8081ee2c19b5965585267b8e21cfc7e':
  SurfaceFlinger: Add mode to apply position with resize.

Change-Id: Icedb7a6e37da9338b1194edaa32a67257640969f

8 years agoMerge "SurfaceFlinger: Add mode to apply position with resize." into nyc-dev
TreeHugger Robot [Tue, 7 Jun 2016 20:42:03 +0000 (20:42 +0000)]
Merge "SurfaceFlinger: Add mode to apply position with resize." into nyc-dev

8 years agoMerge "Fix Parcelable::readParcelableVector<T>" into nyc-dev
Janis Danisevskis [Tue, 7 Jun 2016 19:28:25 +0000 (19:28 +0000)]
Merge "Fix Parcelable::readParcelableVector<T>" into nyc-dev
am: 0950fb3d20

* commit '0950fb3d20d100f62961db1cc3eff51b51f9ca6b':
  Fix Parcelable::readParcelableVector<T>

Change-Id: I892d88cfe9fe2df69bf390ce0618c03980b52753

8 years agoMerge "Fix Parcelable::readParcelableVector<T>" into nyc-dev
Janis Danisevskis [Tue, 7 Jun 2016 19:23:45 +0000 (19:23 +0000)]
Merge "Fix Parcelable::readParcelableVector<T>" into nyc-dev

8 years agoSurfaceFlinger: Add mode to apply position with resize.
Robert Carr [Sun, 15 May 2016 18:27:47 +0000 (11:27 -0700)]
SurfaceFlinger: Add mode to apply position with resize.

For some cases, like scaled windows with shadows,
we need to be able to apply the position concurrent with
window resize. This is because the scaling of the shadows causes
the top left coordinate of the non shadow surface content
to change before and after the resize.

Bug: 28899837
Change-Id: I522eacfbbcd79707dc1e5ab71901a263b3004ba9

8 years agoMerge "Enable profman pretty printing" into nyc-dev
David Sehr [Mon, 6 Jun 2016 20:21:16 +0000 (20:21 +0000)]
Merge "Enable profman pretty printing" into nyc-dev
am: 572e23d761

* commit '572e23d7614485a06102b00667d003b21b874bf9':
  Enable profman pretty printing

Change-Id: Ib2e450b89b2805de265c44b670ab414af1b8e6ac

8 years agoMerge "Enable profman pretty printing" into nyc-dev
David Sehr [Mon, 6 Jun 2016 20:16:10 +0000 (20:16 +0000)]
Merge "Enable profman pretty printing" into nyc-dev

8 years agoMerge "SF: Also edit currentState in doTransaction" into nyc-dev
Pablo Ceballos [Mon, 6 Jun 2016 19:37:38 +0000 (19:37 +0000)]
Merge "SF: Also edit currentState in doTransaction" into nyc-dev
am: d224e6111b

* commit 'd224e6111bf4532fb1c1fc021c20285b38bc80ec':
  SF: Also edit currentState in doTransaction

Change-Id: I6bcd675d033cc1ef46d3498174b2bc52a0072f99

8 years agoMerge "SF: Also edit currentState in doTransaction" into nyc-dev
Pablo Ceballos [Mon, 6 Jun 2016 19:32:15 +0000 (19:32 +0000)]
Merge "SF: Also edit currentState in doTransaction" into nyc-dev

8 years agoEnable profman pretty printing
David Sehr [Thu, 2 Jun 2016 17:42:12 +0000 (10:42 -0700)]
Enable profman pretty printing

Bug: 28748264
Change-Id: Ia625a7976d9b95ec3b7e1d03af39af9f39015f3b

8 years agoMerge "libgui: Check result in hook_dequeueBuffer_DEPRECATED" into nyc-dev
Mike Stroyan [Mon, 6 Jun 2016 16:32:32 +0000 (16:32 +0000)]
Merge "libgui: Check result in hook_dequeueBuffer_DEPRECATED" into nyc-dev
am: 09e5f59bc9

* commit '09e5f59bc9a371c7b83153bb51543ec759684227':
  libgui: Check result in hook_dequeueBuffer_DEPRECATED

Change-Id: If91c49dfef52a64c3721da737658cf4645c13fc1

8 years agoMerge "Allow setting alpha to 0 when creating native client buffers." into nyc-dev
Craig Donner [Mon, 6 Jun 2016 16:30:11 +0000 (16:30 +0000)]
Merge "Allow setting alpha to 0 when creating native client buffers." into nyc-dev
am: 02afa28ccd

* commit '02afa28ccdb2cd82a51f938777944c2c8cf857ce':
  Allow setting alpha to 0 when creating native client buffers.

Change-Id: I811af889ed50ebd0b6dd0a676f106a2b78589f26

8 years agoMerge "libgui: Check result in hook_dequeueBuffer_DEPRECATED" into nyc-dev
Mike Stroyan [Mon, 6 Jun 2016 16:29:41 +0000 (16:29 +0000)]
Merge "libgui: Check result in hook_dequeueBuffer_DEPRECATED" into nyc-dev

8 years agoMerge "Allow setting alpha to 0 when creating native client buffers." into nyc-dev
Craig Donner [Mon, 6 Jun 2016 16:18:23 +0000 (16:18 +0000)]
Merge "Allow setting alpha to 0 when creating native client buffers." into nyc-dev

8 years agolibgui: Check result in hook_dequeueBuffer_DEPRECATED
Mike Stroyan [Fri, 3 Jun 2016 18:43:26 +0000 (12:43 -0600)]
libgui: Check result in hook_dequeueBuffer_DEPRECATED

Surface::hook_dequeueBuffer_DEPRECATED calls c->dequeueBuffer without
checking the returned result value.  It should check for failing
result and return on error without using the values that
c->dequeueBuffer did not set.

Bug: 28692406
Change-Id: I10f9a23ad1052c5149040124366e0eb91b616267

8 years agolibvulkan: reduce log level for swapchain usage errors
Jesse Hall [Sat, 4 Jun 2016 02:51:22 +0000 (02:51 +0000)]
libvulkan: reduce log level for swapchain usage errors
am: 42a9eecb23

* commit '42a9eecb23c0b72bbee1eb2ef6b0d6586159d1c3':
  libvulkan: reduce log level for swapchain usage errors

Change-Id: I8b053f14678f9e03497ac2b621e117df581d9779

8 years agoSF: Also edit currentState in doTransaction
Pablo Ceballos [Fri, 3 Jun 2016 00:46:05 +0000 (17:46 -0700)]
SF: Also edit currentState in doTransaction

Bug 28899837

Change-Id: I46c8301549c627c5d1c7efa661055aba787a33d6

8 years agoAllow setting alpha to 0 when creating native client buffers.
Craig Donner [Sat, 4 Jun 2016 00:54:25 +0000 (17:54 -0700)]
Allow setting alpha to 0 when creating native client buffers.

Note that RGBA sizes are checked later in the function anyway, so there was no
reason to disallow 0, but it did preclude setting alpha to 0 for 565 buffers.

Fixes: 29126799

Change-Id: Iba11649976221ab385227fc022ae74b14c342203

8 years agoFix Parcelable::readParcelableVector<T>
Janis Danisevskis [Fri, 20 May 2016 17:10:04 +0000 (18:10 +0100)]
Fix Parcelable::readParcelableVector<T>

Parcelable::readParcelableVector<T> was apparently never
used. It now is and needed some adjustments to actually
work.

Bug: 22914603
Change-Id: I58ead3b3956299d549cff245588f56f3220563d3

8 years agolibvulkan: reduce log level for swapchain usage errors
Jesse Hall [Fri, 3 Jun 2016 19:39:49 +0000 (12:39 -0700)]
libvulkan: reduce log level for swapchain usage errors

Bug: 26927424
Change-Id: Id9346356436663db83a2d6fa8fefc4ea24d7854b

8 years agoMerge "Otapreopt: Fix after shared-library work" into nyc-mr1-dev
Andreas Gampe [Fri, 3 Jun 2016 15:29:20 +0000 (15:29 +0000)]
Merge "Otapreopt: Fix after shared-library work" into nyc-mr1-dev

8 years agoOtapreopt: Fix after shared-library work
Andreas Gampe [Fri, 3 Jun 2016 00:56:45 +0000 (17:56 -0700)]
Otapreopt: Fix after shared-library work

Commit b63d91fd2737680351876406277b6c759f4db33c broke the installd
to otapreopt connection. Fix this. Also refactor a bit to make an
inadvertant break harder.

Bug: 25612095
Change-Id: I8e7b944ecbd5457e4ac4d6ffffdb0468618cf65f

8 years agoMerge "libvulkan: Slightly better handling of swapchain re-creation" into nyc-dev
Jesse Hall [Fri, 3 Jun 2016 00:12:50 +0000 (00:12 +0000)]
Merge "libvulkan: Slightly better handling of swapchain re-creation" into nyc-dev
am: b2dcc3a122

* commit 'b2dcc3a1220ea5ef6acb5a63659da3c34b1a295a':
  libvulkan: Slightly better handling of swapchain re-creation

Change-Id: I0f66b9e5521388eaf95ce29f5c1f44817780a7b9

8 years agoMerge "libvulkan: Slightly better handling of swapchain re-creation" into nyc-dev
Jesse Hall [Thu, 2 Jun 2016 23:57:02 +0000 (23:57 +0000)]
Merge "libvulkan: Slightly better handling of swapchain re-creation" into nyc-dev

8 years agoMerge "vulkan: remove EnumerateDeviceLayerProperties internally" into nyc-dev
Chia-I Wu [Thu, 2 Jun 2016 22:49:38 +0000 (22:49 +0000)]
Merge "vulkan: remove EnumerateDeviceLayerProperties internally" into nyc-dev
am: 691fcb9603

* commit '691fcb96033db2f09030e8c71e86dad7e2fbfd43':
  vulkan: remove EnumerateDeviceLayerProperties internally

Change-Id: I4678a10c62147c7c69bf0f0e81e6e447ed819b2c

8 years agoMerge "vulkan: remove EnumerateDeviceLayerProperties internally" into nyc-dev
Chia-I Wu [Thu, 2 Jun 2016 22:36:26 +0000 (22:36 +0000)]
Merge "vulkan: remove EnumerateDeviceLayerProperties internally" into nyc-dev

8 years agoMerge "Camera: Add media/camera NDK documents" into nyc-dev
Yin-Chia Yeh [Thu, 2 Jun 2016 18:17:37 +0000 (18:17 +0000)]
Merge "Camera: Add media/camera NDK documents" into nyc-dev
am: 470241b168

* commit '470241b168a9db7514bc0df775109db591836d4b':
  Camera: Add media/camera NDK documents

Change-Id: Ib66856fba84301834a81f0c361f5244bd152eeb3

8 years agoMerge "Camera: Add media/camera NDK documents" into nyc-dev
Yin-Chia Yeh [Thu, 2 Jun 2016 18:12:21 +0000 (18:12 +0000)]
Merge "Camera: Add media/camera NDK documents" into nyc-dev

8 years agolibvulkan: Slightly better handling of swapchain re-creation
Jesse Hall [Tue, 31 May 2016 05:40:14 +0000 (22:40 -0700)]
libvulkan: Slightly better handling of swapchain re-creation

Previously we would fail vkCreateSwapchainKHR if
VkSwapchainCreateInfo::oldSwapchain was used, because we were unable
to dequeue all buffers for the new swapchain from an already-used
native window.

Now we disconnect and re-connect to the native window in order to
fully reset state, and allow us to dequeue all buffers. Additionally,
we tag the old swapchain as out-of-date, so future image acquires and
presents will fail with VK_ERROR_OUT_OF_DATE_KHR on that swapchain.
This is less than ideal, but better than what we had, and the best we
have time to do for N.

Bug: 26927424
Change-Id: Ifaa5048376f72a63ecb1dca3d1ff85dbee2c24d0

8 years agoMerge "SF: Re-enable fence tracker by default" into nyc-mr1-dev
Pablo Ceballos [Thu, 2 Jun 2016 17:21:42 +0000 (17:21 +0000)]
Merge "SF: Re-enable fence tracker by default" into nyc-mr1-dev

8 years agoMerge "BQ: Don\'t return fences from dequeue in shared buffer mode" into nyc-dev
Pablo Ceballos [Thu, 2 Jun 2016 17:20:04 +0000 (17:20 +0000)]
Merge "BQ: Don\'t return fences from dequeue in shared buffer mode" into nyc-dev
am: eb6377eb13

* commit 'eb6377eb133f902e737fab370df7679430a1d8d1':
  BQ: Don't return fences from dequeue in shared buffer mode

Change-Id: Ieb075d9598edcaec542ee06663aa292111968474

8 years agoMerge "Push empty sync transaction before taking screenshot in tests" into nyc-dev
Pablo Ceballos [Thu, 2 Jun 2016 17:20:04 +0000 (17:20 +0000)]
Merge "Push empty sync transaction before taking screenshot in tests" into nyc-dev
am: 08588dd760

* commit '08588dd76073a8635aa4175d5b98fc5db86afec4':
  Push empty sync transaction before taking screenshot in tests

Change-Id: Id7648a55288f3f8962e6e314584c9690c3f27854

8 years agoMerge "BQ: Don't return fences from dequeue in shared buffer mode" into nyc-dev
Pablo Ceballos [Thu, 2 Jun 2016 17:14:00 +0000 (17:14 +0000)]
Merge "BQ: Don't return fences from dequeue in shared buffer mode" into nyc-dev

8 years agoMerge "Push empty sync transaction before taking screenshot in tests" into nyc-dev
Pablo Ceballos [Thu, 2 Jun 2016 17:10:06 +0000 (17:10 +0000)]
Merge "Push empty sync transaction before taking screenshot in tests" into nyc-dev

8 years agoMerge "Create primary profile file together with app data folders" into nyc-dev
Calin Juravle [Thu, 2 Jun 2016 10:21:26 +0000 (10:21 +0000)]
Merge "Create primary profile file together with app data folders" into nyc-dev
am: d25aab3ce8

* commit 'd25aab3ce8aab1b95ac60922981c87c6963a0a6b':
  Create primary profile file together with app data folders

Change-Id: Id186b701d0cc755be0093c704ccd2aa8e0899611

8 years agoMerge "Create primary profile file together with app data folders" into nyc-dev
Calin Juravle [Thu, 2 Jun 2016 10:10:35 +0000 (10:10 +0000)]
Merge "Create primary profile file together with app data folders" into nyc-dev

8 years agovulkan: remove EnumerateDeviceLayerProperties internally
Chia-I Wu [Thu, 2 Jun 2016 03:25:47 +0000 (11:25 +0800)]
vulkan: remove EnumerateDeviceLayerProperties internally

We never use it.  Since it is also deprecated, we will never need it.

Bug: 27910383
Change-Id: If4e556bb69890153be2987b165482e43ab06a890

8 years agoPush empty sync transaction before taking screenshot in tests
Pablo Ceballos [Thu, 2 Jun 2016 01:53:40 +0000 (18:53 -0700)]
Push empty sync transaction before taking screenshot in tests

Because of ag/1043009 it's now necessary to push an empty sync
transaction before taking a screenshot to ensure that all transactions
have been applied.

Bug 29074285

Change-Id: I9f1b4a5b6b1f39e1ff26d536817aef6f40865177

8 years agoSF: Re-enable fence tracker by default
Pablo Ceballos [Wed, 18 May 2016 00:52:08 +0000 (17:52 -0700)]
SF: Re-enable fence tracker by default

- Don't check whether the fences have completed or not unless the data
  has been requested.

Bug 22431447

Change-Id: Id4cb8bfba38547884849ef23c9b6f42f0d4d0750

8 years agoinstalld support for profman --dump-info-for
David Sehr [Wed, 1 Jun 2016 23:09:19 +0000 (23:09 +0000)]
installd support for profman --dump-info-for
am: 6727c2d0bf

* commit '6727c2d0bfc876c62d6ee60d8a05d26bef1d56ef':
  installd support for profman --dump-info-for

Change-Id: I3df4eee3cb34f6c163e73351180b227b8d6864e8

8 years agoBQ: Don't return fences from dequeue in shared buffer mode
Pablo Ceballos [Wed, 1 Jun 2016 22:03:21 +0000 (15:03 -0700)]
BQ: Don't return fences from dequeue in shared buffer mode

Bug 29007505

Change-Id: I112ae6bd64ddc9a923ad9080e85a71adb96146af

8 years agoinstalld support for profman --dump-info-for
David Sehr [Tue, 17 May 2016 23:06:22 +0000 (16:06 -0700)]
installd support for profman --dump-info-for

Bug: 28748264
Change-Id: Idcd3ed86294c1d0c75c26ca938b88744a25e387a

8 years agoMerge "svcmgr: don\'t send reply to one-way txn (part deux)" into nyc-dev
Mark Salyzyn [Tue, 31 May 2016 19:59:24 +0000 (19:59 +0000)]
Merge "svcmgr: don\'t send reply to one-way txn (part deux)" into nyc-dev
am: e4ecdb66d5

* commit 'e4ecdb66d5c2eed64cbd5b267e0621cab7b8a63b':
  svcmgr: don't send reply to one-way txn (part deux)

Change-Id: Id062b1b3998ab018654bc7830f275d1ac6d64f6d

8 years agoMerge "svcmgr: don't send reply to one-way txn (part deux)" into nyc-dev
Mark Salyzyn [Tue, 31 May 2016 19:44:18 +0000 (19:44 +0000)]
Merge "svcmgr: don't send reply to one-way txn (part deux)" into nyc-dev

8 years agoUse explicit path for /vendor/xbin/wlutil
Erik Kline [Tue, 31 May 2016 03:38:26 +0000 (03:38 +0000)]
Use explicit path for /vendor/xbin/wlutil
am: 0816520c5c

* commit '0816520c5cd60519d8e221ed92497aa5464e3039':
  Use explicit path for /vendor/xbin/wlutil

Change-Id: I1fd9593c8d9c0b0e3dd87c9a70b6b2e81c9b100a

8 years agoUse explicit path for /vendor/xbin/wlutil
Erik Kline [Mon, 30 May 2016 02:55:44 +0000 (11:55 +0900)]
Use explicit path for /vendor/xbin/wlutil

At this time /vendor/xbin is not in root's path.

Bug: 28850734
Change-Id: Ib6c2b6f8b0285854670c843dcc437cfcc84484a8

8 years agoMerge "vulkan: fix crash when only non-global layers are enabled" into nyc-dev
Chia-I Wu [Fri, 27 May 2016 08:28:58 +0000 (08:28 +0000)]
Merge "vulkan: fix crash when only non-global layers are enabled" into nyc-dev
am: a101f6a446

* commit 'a101f6a446722697e0ed6afb128829937b90d60a':
  vulkan: fix crash when only non-global layers are enabled

Change-Id: I65baa95e0b00f3fbc136d435c4481256a7e551bd

8 years agoMerge "vulkan: fix crash when only non-global layers are enabled" into nyc-dev
Chia-I Wu [Fri, 27 May 2016 08:22:49 +0000 (08:22 +0000)]
Merge "vulkan: fix crash when only non-global layers are enabled" into nyc-dev

8 years agoCamera: Add media/camera NDK documents
Yin-Chia Yeh [Fri, 27 May 2016 06:07:15 +0000 (23:07 -0700)]
Camera: Add media/camera NDK documents

Include media/camera ndk headers to codegen source.
Add docs/images directory for image links in generated documents.

Bug: 27102995
Change-Id: I9c75e2ceba3458c9962c26cf786e1402fd963696

8 years agoAdd "ip maddr" to dumpstate output for debugging.
Erik Kline [Fri, 27 May 2016 04:14:38 +0000 (04:14 +0000)]
Add "ip maddr" to dumpstate output for debugging.
am: f7f2b0fd05

* commit 'f7f2b0fd059bc26e27c022f3fb446fc74eab6c88':
  Add "ip maddr" to dumpstate output for debugging.

Change-Id: Ic3898db87bc7b726079d922ff24eaa1f8201f288

8 years agovulkan: fix crash when only non-global layers are enabled
Chia-I Wu [Fri, 27 May 2016 02:18:25 +0000 (10:18 +0800)]
vulkan: fix crash when only non-global layers are enabled

We fail to set up get_instance_proc_addr_ and get_device_proc_addr_ when
there are layers but only non-global ones.

Bug: 28990561
Change-Id: I82704f946deb5a76640f9dfb792e6fd118c78aa7

8 years agoAdd "ip maddr" to dumpstate output for debugging.
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

8 years agoMerge "Check the existence of raft dir." into nyc-mr1-dev
Wei Liu [Thu, 26 May 2016 20:40:35 +0000 (20:40 +0000)]
Merge "Check the existence of raft dir." into nyc-mr1-dev

8 years agosvcmgr: don't send reply to one-way txn (part deux)
Mark Salyzyn [Wed, 25 May 2016 20:14:10 +0000 (13:14 -0700)]
svcmgr: don't send reply to one-way txn (part deux)

Do not split transaction into two when sending synchronous responses.

Partially revert changes associated with binder_send_reply from
previous incantations in commit 51f592c7bad13d3d8e8f7cfec25edfef42901802
that resulted in a performance regression.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 27111612
Bug: 28696050
Bug: 28946245
Change-Id: I12edc10a2d1408a71507a7983afa7f17b5a6a81b

8 years agoMark the multiwindow divider as a trusted overlay.
Michael Wright [Thu, 26 May 2016 15:07:23 +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: I1906ca39ce35a436ba65c3815e0bdda8a3c00e9e

8 years agoMark the multiwindow divider as a trusted overlay.
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

8 years agoCreate primary profile file together with app data folders
Calin Juravle [Tue, 24 May 2016 14:33:12 +0000 (15:33 +0100)]
Create primary profile file together with app data folders

Bug: 28785119
Bug: 28625993
Change-Id: I12c0de85bc3dc35199acf32c10fe69f93e76d7fc

8 years agoCheck the existence of raft dir.
Wei Liu [Wed, 25 May 2016 21:21:02 +0000 (14:21 -0700)]
Check the existence of raft dir.

b/28430346

Change-Id: I6ceb54f60c766d7b73ae93daa81f57b5a229e291

8 years agoMerge "Write compressed and encoded raft logs to stdout if not zip_writer" into nyc...
Wei Liu [Wed, 25 May 2016 20:10:41 +0000 (20:10 +0000)]
Merge "Write compressed and encoded raft logs to stdout if not zip_writer" into nyc-mr1-dev

8 years agoWrite compressed and encoded raft logs to stdout if not zip_writer
Wei Liu [Wed, 25 May 2016 18:28:57 +0000 (11:28 -0700)]
Write compressed and encoded raft logs to stdout if not zip_writer

Change-Id: Ib9948bebf9d5e2ef823e08b48fb67c36e0079a45

8 years agoMerge "BufferQueue/SF: Add OccupancyTracker" into nyc-mr1-dev
Dan Stoza [Wed, 25 May 2016 17:37:59 +0000 (17:37 +0000)]
Merge "BufferQueue/SF: Add OccupancyTracker" into nyc-mr1-dev

8 years agoMerge "SF: Force empty sync transactions to apply anyway" into nyc-dev
Robert Carr [Tue, 24 May 2016 23:23:29 +0000 (23:23 +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: Iaa91350ba6e499d145e7adfcc1874601fff33775

8 years agoMerge "SF: Force empty sync transactions to apply anyway" into nyc-dev
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

8 years agoSF: Force empty sync transactions to apply anyway
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

8 years agoMerge "SF: Remove forced transaction on screenshot" into nyc-dev
Dan Stoza [Tue, 24 May 2016 18:18:16 +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: I79297918957661befdec24345bdfff2720433188

8 years agoMerge "SF: Remove forced transaction on screenshot" into nyc-dev
Dan Stoza [Tue, 24 May 2016 18:01:24 +0000 (18:01 +0000)]
Merge "SF: Remove forced transaction on screenshot" into nyc-dev

8 years agoMerge "HWC2: Fix breakage from header change" into nyc-dev
Dan Stoza [Tue, 24 May 2016 17:22:37 +0000 (17:22 +0000)]
Merge "HWC2: Fix breakage from header change" into nyc-dev
am: 80bc52aefa

* commit '80bc52aefa56e590f05bc30ff0182d860f00b128':
  HWC2: Fix breakage from header change

Change-Id: I02f8b45ded3d00dc2d34689f5b902d77ee74ca1e

8 years agoMerge "HWC2: Fix breakage from header change" into nyc-dev
Dan Stoza [Tue, 24 May 2016 16:55:43 +0000 (16:55 +0000)]
Merge "HWC2: Fix breakage from header change" into nyc-dev

8 years agostagefright: define mpeg2 HighP level constant
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: I4db62224022bccc89ee4fdda2e32813a1f1c074d

8 years agostagefright: define mpeg2 HighP level constant
Lajos Molnar [Tue, 24 May 2016 14:02:01 +0000 (07:02 -0700)]
stagefright: define mpeg2 HighP level constant

Bug: 28671284
Change-Id: Ic97fd9c3cb4ce04f9cfcd18a4daf68db3349694b

8 years agovulkan: advertise VK_EXT_debug_report
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: I904abeac1234e146f73b14a817c42adc9b6bc7bb

8 years agovulkan: add a wrapper for hwvulkan_device_t
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: I4d64d13427218c437babb31d85982c438ed7f2af

8 years agovulkan: advertise VK_EXT_debug_report
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

8 years agovulkan: add a wrapper for hwvulkan_device_t
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

8 years agoMerge "vulkan: do not use exported functions internally" into nyc-dev
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: I138aa42e7098b69d00517d9bac3d811b9b56e8a7

8 years agoMerge "vulkan: do not use exported functions internally" into nyc-dev
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

8 years agoResolve merge conflicts of 6108f5d to nyc-mr1-dev
Felipe Leme [Mon, 23 May 2016 21:07:04 +0000 (14:07 -0700)]
Resolve merge conflicts of 6108f5d to nyc-mr1-dev

BUG: 28867848
Change-Id: I99392f1706af5fb9268ad1b32aa7f4b10e397d84

8 years agoMerge "Expose functions used to add entries to the zip file." into nyc-dev
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

8 years agoExpose functions used to add entries to the zip file.
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

8 years agoomx: add asString for new enumerations and fix some issues
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: I774af98ced6dd8bf7aac8873e3d93655fd5c6f2a

8 years agoomx: add asString for new enumerations and fix some issues
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

8 years agoMerge "omx: add missing MPEG4 levels" into nyc-dev
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: If2a70773c6fcc4975de4a6fbc161e544f5d40715

8 years agoMerge "omx: add missing MPEG4 levels" into nyc-dev
Lajos Molnar [Mon, 23 May 2016 13:17:25 +0000 (13:17 +0000)]
Merge "omx: add missing MPEG4 levels" into nyc-dev

8 years agovulkan: do not use exported functions internally
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

8 years agoMerge "Ensure memory ordering around libagl and EGL refcount operations" into nyc-dev
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: Ie2643fd243a9aa66080457d318a35550c502fd67

8 years agoMerge "Ensure memory ordering around libagl and EGL refcount operations" into nyc-dev
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

8 years agoEnsure memory ordering around libagl and EGL refcount operations
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

8 years agovulkan: Update vulkan.h to 1.0.13
Jesse Hall [Fri, 20 May 2016 21:57:19 +0000 (21:57 +0000)]
vulkan: Update vulkan.h to 1.0.13
am: 2676338dd6

* commit '2676338dd692b7d1e1c276d82e6b0492db53ab2e':
  vulkan: Update vulkan.h to 1.0.13

Change-Id: I7dce6307edb8d04a5706da465b5de8457d7d236a

8 years agoHWC2: Fix breakage from header change
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

8 years agovulkan: Update vulkan.h to 1.0.13
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

8 years agoMerge "libvulkan: Don\'t try to load compressed/unaligned libraries from APK" into...
Jesse Hall [Fri, 20 May 2016 14:06:31 +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: I046e14ca7462635672f12f9388123c2ec6dea826

8 years agoMerge "libvulkan: Don't try to load compressed/unaligned libraries from APK" into...
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

8 years agoFix the DUMPSYS skip.
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: I0ea7926024cec428785687582a81326a750ca669

8 years agoFix the DUMPSYS skip.
Wei Liu [Thu, 19 May 2016 20:59:01 +0000 (13:59 -0700)]
Fix the DUMPSYS skip.

b/28869921

Change-Id: Idc108b2d3cfd237f459467a3c399a0ba5e248d24

8 years agolibvulkan: Don't try to load compressed/unaligned libraries from APK
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

8 years agoomx: add missing MPEG4 levels
Lajos Molnar [Thu, 19 May 2016 22:27:31 +0000 (15:27 -0700)]
omx: add missing MPEG4 levels

Bug: 28671284
Change-Id: I96b50580cc29c11732fd2b496ba6d832b7067256

8 years agoMerge "vulkan: fix double dlopen for layer libraries" into nyc-dev
Chia-I Wu [Wed, 18 May 2016 23:05:22 +0000 (23:05 +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: If4e42ce9d3ead2a746ab54def62ed334e7e57010

8 years agoMerge "vulkan: fix double dlopen for layer libraries" into nyc-dev
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

8 years agoMerge "Make bugreport_dir a common variable." into nyc-mr1-dev
TreeHugger Robot [Wed, 18 May 2016 21:22:26 +0000 (21:22 +0000)]
Merge "Make bugreport_dir a common variable." into nyc-mr1-dev

8 years agoMerge "Preserve parameters to getProcAddress functions" into nyc-dev
Mike Stroyan [Wed, 18 May 2016 18:18:10 +0000 (18:18 +0000)]
Merge "Preserve parameters to getProcAddress functions" into nyc-dev
am: accafc69f5

* commit 'accafc69f50aeeb57615e14ff0b787ea322a0627':
  Preserve parameters to getProcAddress functions

Change-Id: I1610c9053c3c710be0914d74b8a5e22c5218f525