OSDN Git Service

android-x86/frameworks-native.git
7 years agoEGL: Expose latch, last composite, and dequeue ready.
Brian Anderson [Fri, 2 Sep 2016 17:10:04 +0000 (10:10 -0700)]
EGL: Expose latch, last composite, and dequeue ready.

Also fix discontinuous reserved token values.

Test: adb shell /data/nativetest/libgui_test/libgui_test
--gtest_filter=*GetFrameTimestamps*

Change-Id: I9d513b8784a7205dfe534c1c74b56c18cd49e74a

7 years agoAdd a DequeueReady FrameEvent
Brian Anderson [Mon, 31 Oct 2016 23:34:13 +0000 (16:34 -0700)]
Add a DequeueReady FrameEvent

Test: adb shell /data/nativetest/libgui_test/libgui_test
--gtest_filter=*GetFrameTimestamps*

Change-Id: I98ffd4123fc50b5f560e432f4078408c913c8edf

7 years agoClean up Fence a little.
Brian Anderson [Mon, 10 Oct 2016 23:52:56 +0000 (16:52 -0700)]
Clean up Fence a little.

Test: Cleanup patch only. Fences still work.

Change-Id: I65e5cdf5e3c067bc475c085ab6d3577d9753231c

7 years agoSurface unit tests for getFrameTimestamps.
Brian Anderson [Thu, 28 Jul 2016 23:20:47 +0000 (16:20 -0700)]
Surface unit tests for getFrameTimestamps.

Verifies the following:

1) The timestamps and fences aren't transferred if the
   feature isn't explicitly enabled.
2) Attempts to get the timestamps will fail if not enabled.
3) Timestamps are transferred if enabled.
4) The support for Present/Retire timestamps are properly
   queried from the ISurfaceComposer.
5) Timestamps correspond to the correct frame.
6) The consumer doesn't send the acquire fence back to the
   producer and a sync call isn't made to try and get it
   from the producer.
7) A sync call isn't made when no timestamps are requested.
8) If the consumer sent the producer fences, the consumer
   can get the timestamps without a sync call.
9) If there was no GL composite performed, a sync call
   isn't made to get a non-existant fence/time.
10) When asking for the retire or release time of the most
   recent frame, a sync call isn't made.
11) Requests for unsupported timestamps return an error and
   do not result in a sync call.

Test: Test: adb shell /data/nativetest/libgui_test/libgui_test
--gtest_filter=*GetFrameTimestamps*

Change-Id: I6f728af0d4a0f431c9e47131da64584a589559e7

7 years agoAvoid sync calls for unsupported/non-existant times
Brian Anderson [Fri, 30 Sep 2016 21:01:24 +0000 (14:01 -0700)]
Avoid sync calls for unsupported/non-existant times

* Make sure not to do sync calls for present or retire
  if they aren't supported.

* Don't do sync calls for retire or release if they
  can not possibly exist.

Test: adb shell /data/nativetest/libgui_test/libgui_test
--gtest_filter=*GetFrameTimestamps*

Change-Id: I580409f01cbf07e9a6e00fbb05d914654f12a4a2

7 years agoAdded -t option to dumpstate. am: cd4d6631fa
Felipe Leme [Wed, 11 Jan 2017 23:18:39 +0000 (23:18 +0000)]
Added -t option to dumpstate. am: cd4d6631fa
am: de3d159226  -s ours

Change-Id: I895071533d2e365de7770d42ceca2ebf5942c292

7 years agoAdded -t option to dumpstate.
Felipe Leme [Wed, 11 Jan 2017 23:09:18 +0000 (23:09 +0000)]
Added -t option to dumpstate.
am: cd4d6631fa

Change-Id: Ib29893ecf7400bd4890dda09164d525e904aa219

7 years agoMerge "Added option to take a 'bugreporttelephony'."
TreeHugger Robot [Wed, 11 Jan 2017 20:45:37 +0000 (20:45 +0000)]
Merge "Added option to take a 'bugreporttelephony'."

7 years agoMerge "Added test cases to dumpsys." am: 5cfc1c0546 am: 74ee4a06a3 am: 70a7c38431
Felipe Leme [Wed, 11 Jan 2017 19:14:53 +0000 (19:14 +0000)]
Merge "Added test cases to dumpsys." am: 5cfc1c0546 am: 74ee4a06a3 am: 70a7c38431
am: f7fdd52792

Change-Id: If2e3b35f9b30b560a96eab8cc4ac3403cbbf0825

7 years agoMerge "Added test cases to dumpsys." am: 5cfc1c0546 am: 74ee4a06a3
Felipe Leme [Wed, 11 Jan 2017 19:09:52 +0000 (19:09 +0000)]
Merge "Added test cases to dumpsys." am: 5cfc1c0546 am: 74ee4a06a3
am: 70a7c38431

Change-Id: I45a9525b275bb0b327fce9982901b8e3304e2783

7 years agoMerge "Added test cases to dumpsys." am: 5cfc1c0546
Felipe Leme [Wed, 11 Jan 2017 19:04:25 +0000 (19:04 +0000)]
Merge "Added test cases to dumpsys." am: 5cfc1c0546
am: 74ee4a06a3

Change-Id: I5e536d12eef0ff8d41030f037f309f67c880b2a7

7 years agoMerge "Added test cases to dumpsys."
Felipe Leme [Wed, 11 Jan 2017 18:59:22 +0000 (18:59 +0000)]
Merge "Added test cases to dumpsys."
am: 5cfc1c0546

Change-Id: I87917d89160271a635ac1a42728fb643e1df99ae

7 years agoMerge "Added test cases to dumpsys."
Treehugger Robot [Wed, 11 Jan 2017 18:51:14 +0000 (18:51 +0000)]
Merge "Added test cases to dumpsys."

7 years agoAdded option to take a 'bugreporttelephony'.
Felipe Leme [Tue, 10 Jan 2017 23:29:53 +0000 (15:29 -0800)]
Added option to take a 'bugreporttelephony'.

This option takes a lightweight version of bugreport that only includes a few,
urgent sections used to report telephony bugs.

BUG: 32589463
BUG: 26849505

Test: dumpstate_test passes
Test: manual verification
Change-Id: I9b7369323a62e30e5d740eeb22db0045262387ba

7 years agoMerge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed." am: 6c207a7d96...
Richard Uhler [Wed, 11 Jan 2017 15:42:02 +0000 (15:42 +0000)]
Merge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed." am: 6c207a7d96 am: 83c87d4985 am: 3977570f9f
am: 94b74589f8

Change-Id: Icc93e0e83e6608f1ce064d40df8bd863f9cde0a6

7 years agoFix _treble build targets breakage.
Martijn Coenen [Wed, 11 Jan 2017 13:57:42 +0000 (14:57 +0100)]
Fix _treble build targets breakage.

Test: ENABLE_TREBLE=true builds again.
Change-Id: I4ec504e392cf99b9b3345d90a974bd9147fd2037

7 years agoMerge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed." am: 6c207a7d96...
Richard Uhler [Wed, 11 Jan 2017 10:58:41 +0000 (10:58 +0000)]
Merge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed." am: 6c207a7d96 am: 83c87d4985
am: 3977570f9f

Change-Id: Ib75da8118af0cef7bd06a9a88478529b64cd328d

7 years agoMerge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed." am: 6c207a7d96
Richard Uhler [Wed, 11 Jan 2017 10:48:12 +0000 (10:48 +0000)]
Merge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed." am: 6c207a7d96
am: 83c87d4985

Change-Id: I72c03782c82ff40cef7c520adc6d694b52289951

7 years agoMerge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed."
Richard Uhler [Wed, 11 Jan 2017 10:37:44 +0000 (10:37 +0000)]
Merge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed."
am: 6c207a7d96

Change-Id: I82f59649db71b255abdbafae8190f40974534f83

7 years agoMerge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed."
Treehugger Robot [Wed, 11 Jan 2017 10:28:16 +0000 (10:28 +0000)]
Merge "Cleanup code given PATCHOAT_FOR_RELOCATION has been removed."

7 years agoMerge "Fix unitialized value in gralloc1"
TreeHugger Robot [Wed, 11 Jan 2017 03:23:22 +0000 (03:23 +0000)]
Merge "Fix unitialized value in gralloc1"

7 years agoAdded -t option to dumpstate.
Felipe Leme [Thu, 5 Jan 2017 23:05:46 +0000 (15:05 -0800)]
Added -t option to dumpstate.

This option takes a lightweight version of bugreport that only includes a few,
urgent sections used to report telephony bugs.

BUG: 32589463
BUG: 26849505
Test: manual
Merged-In: I9b7369323a62e30e5d740eeb22db0045262387ba
Change-Id: I9b7369323a62e30e5d740eeb22db0045262387ba

7 years agoAdded test cases to dumpsys.
Felipe Leme [Wed, 3 Aug 2016 01:57:37 +0000 (18:57 -0700)]
Added test cases to dumpsys.

BUG: 28980245
BUG: 33382892

Test: dumpsys_test passes

Change-Id: Ief6c21022abc74022256431351fd6eef789faf39
(cherry picked from commit b6e244914deaffcdeea02deebf7c0da2643f601c)

7 years agoReverted wake_lock code.
Felipe Leme [Tue, 10 Jan 2017 22:13:22 +0000 (14:13 -0800)]
Reverted wake_lock code.

If dumpstate dies, there is no guarantee the wake_lock will be released...

Fixes: 34193090
Bug: 33327009

Test: dumpstate_test passes
Test: manual verification
Change-Id: I4662722b1f82f3e140e174e506864a452c002fc8

7 years agoFix unitialized value in gralloc1
Fabien Sanglard [Tue, 10 Jan 2017 21:45:45 +0000 (13:45 -0800)]
Fix unitialized value in gralloc1

ReleaseFenceFD should never be initialized to 0 (stdout), it should
be initialized to -1 which is a special value meaning NO_FENCE.

Change-Id: Ie2e062ca838bbc01c2afd7e0f76f09c726ba05fe

7 years agoMerge "Fix InputReader_test"
TreeHugger Robot [Tue, 10 Jan 2017 18:33:42 +0000 (18:33 +0000)]
Merge "Fix InputReader_test"

7 years agoMerge "Start enumerating support for VK_KHR_incremental_present."
Ian Elliott [Tue, 10 Jan 2017 15:07:20 +0000 (15:07 +0000)]
Merge "Start enumerating support for VK_KHR_incremental_present."

7 years agoMerge "Methods to calculate user and external disk usage." am: 4d9746d7a3 am: 15e80e0...
Jeff Sharkey [Tue, 10 Jan 2017 04:53:00 +0000 (04:53 +0000)]
Merge "Methods to calculate user and external disk usage." am: 4d9746d7a3 am: 15e80e0436 am: e5281b7f9b
am: 4e4e8ab3a4

Change-Id: I954e87563f1a8222be418221657e730ffda51814

7 years agoMerge "Methods to calculate user and external disk usage." am: 4d9746d7a3 am: 15e80e0436
Jeff Sharkey [Tue, 10 Jan 2017 04:47:56 +0000 (04:47 +0000)]
Merge "Methods to calculate user and external disk usage." am: 4d9746d7a3 am: 15e80e0436
am: e5281b7f9b

Change-Id: Ie7f29f8b10dc1e9158c7574e9836e27e3fda62eb

7 years agoMerge "Methods to calculate user and external disk usage." am: 4d9746d7a3
Jeff Sharkey [Tue, 10 Jan 2017 04:43:03 +0000 (04:43 +0000)]
Merge "Methods to calculate user and external disk usage." am: 4d9746d7a3
am: 15e80e0436

Change-Id: I63799087ee8b62b68da1f39ee2495b54481bd866

7 years agoMerge "Methods to calculate user and external disk usage."
Jeff Sharkey [Tue, 10 Jan 2017 04:38:23 +0000 (04:38 +0000)]
Merge "Methods to calculate user and external disk usage."
am: 4d9746d7a3

Change-Id: I7229c883efc6078b4fe3aa8231912eda1073ae48

7 years agoMerge "Methods to calculate user and external disk usage."
Jeff Sharkey [Tue, 10 Jan 2017 04:30:46 +0000 (04:30 +0000)]
Merge "Methods to calculate user and external disk usage."

7 years agoMethods to calculate user and external disk usage.
Jeff Sharkey [Sat, 7 Jan 2017 16:19:35 +0000 (09:19 -0700)]
Methods to calculate user and external disk usage.

Add method to calculate user disk usage, which will be faster than
making a Binder call for every single appId under a user.  Add method
to calculate external disk usage, which uses file extensions to track
usage with "audio", "video", and "images" categories.

Add script to generate optimized file extension matcher logic.

Start measuring internal and external storage space separately; new
GIDs are coming in a future CL.  Pass down all package names, inodes,
and code paths, since shared UIDs host more than one.

Test: builds, boots, stats are consistent
Bug: 2794881732206268
Change-Id: Icb9843ac5159e0e5f1503d9b64e0bcae407e1a5d

7 years agoStart enumerating support for VK_KHR_incremental_present.
Ian Elliott [Mon, 9 Jan 2017 23:21:36 +0000 (16:21 -0700)]
Start enumerating support for VK_KHR_incremental_present.

Test: Manually tested with a modified cube demo, that now reports the extension
present.

Change-Id: I828abd4351b8106708c7b5e83988347764fd0fa9

7 years agoMerge "Dump task I/O information from storaged."
TreeHugger Robot [Mon, 9 Jan 2017 21:55:49 +0000 (21:55 +0000)]
Merge "Dump task I/O information from storaged."

7 years agoMerge "vulkan: Update implementor's guide for V6 of ANDROID_native_buffer spec"
Chris Forbes [Mon, 9 Jan 2017 21:31:18 +0000 (21:31 +0000)]
Merge "vulkan: Update implementor's guide for V6 of ANDROID_native_buffer spec"

7 years agoDump task I/O information from storaged.
ynwang [Mon, 18 Jul 2016 04:56:00 +0000 (21:56 -0700)]
Dump task I/O information from storaged.

Bug: 30983988
Test: generate bugreport
Change-Id: I8631e08af175f9fd6efd09f8b0106d77554edb60

7 years agoFix syntax error in appendSfConfigString (#endif)
Fabien Sanglard [Mon, 9 Jan 2017 20:08:30 +0000 (12:08 -0800)]
Fix syntax error in appendSfConfigString (#endif)

Change-Id: I1ff05e34e4d8d9f73bb5cb090c96011497132947

7 years agovulkan: Update implementor's guide for V6 of ANDROID_native_buffer spec
Chris Forbes [Fri, 6 Jan 2017 02:29:37 +0000 (15:29 +1300)]
vulkan: Update implementor's guide for V6 of ANDROID_native_buffer spec

Infrastructure for frontbuffer rendering.

V2: rebase
V3: List changes in more detail in history

Change-Id: Ic8f9c762ff3398b854249d6c9728aa81c1512fb7
Test: docs change only

7 years agoMerge "Move TARGET_DISABLE_TRIPLE_BUFFERING to property"
Fabien Sanglard [Mon, 9 Jan 2017 19:43:16 +0000 (19:43 +0000)]
Merge "Move TARGET_DISABLE_TRIPLE_BUFFERING to property"

7 years agoMerge "Document crop and finalCrop"
Fabien Sanglard [Mon, 9 Jan 2017 19:43:03 +0000 (19:43 +0000)]
Merge "Document crop and finalCrop"

7 years agoMerge "HWC2: Initialize retire fence to -1"
TreeHugger Robot [Mon, 9 Jan 2017 18:56:17 +0000 (18:56 +0000)]
Merge "HWC2: Initialize retire fence to -1"

7 years agoMerge "Stubbed implementation of VK_GOOGLE_display_timing extension."
TreeHugger Robot [Mon, 9 Jan 2017 18:05:47 +0000 (18:05 +0000)]
Merge "Stubbed implementation of VK_GOOGLE_display_timing extension."

7 years agoStubbed implementation of VK_GOOGLE_display_timing extension.
Ian Elliott [Thu, 29 Dec 2016 18:07:26 +0000 (11:07 -0700)]
Stubbed implementation of VK_GOOGLE_display_timing extension.

This provides the header changes and most of the "boilerplate" changes to add
the VK_GOOGLE_display_timing extension to Vulkan.  Future changes will modify
and integrate with the Surface, FrameEvents, and SurfaceFlinger code.

Test: Manually tested that existing apps won't tickle the new-extension paths.

Change-Id: Iec46b1cab4b2561702ebac9a4ae7587584793192

7 years agoMerge "Surface: Use async lock/unlock in copyBlt" am: b73de86f13 am: e29dda829d am...
Jesse Hall [Mon, 9 Jan 2017 05:29:35 +0000 (05:29 +0000)]
Merge "Surface: Use async lock/unlock in copyBlt" am: b73de86f13 am: e29dda829d am: 55f599a079
am: 0bd15c1613

Change-Id: Ib1d9c139c68cfdc7b3854b94b825db5d980bc1ef

7 years agoMerge "Surface: Use async lock/unlock in copyBlt" am: b73de86f13 am: e29dda829d
Jesse Hall [Mon, 9 Jan 2017 05:24:33 +0000 (05:24 +0000)]
Merge "Surface: Use async lock/unlock in copyBlt" am: b73de86f13 am: e29dda829d
am: 55f599a079

Change-Id: I1f7603e0808a3794d708e788818d83814c10dcb3

7 years agoMerge "Surface: Use async lock/unlock in copyBlt" am: b73de86f13
Jesse Hall [Mon, 9 Jan 2017 05:20:03 +0000 (05:20 +0000)]
Merge "Surface: Use async lock/unlock in copyBlt" am: b73de86f13
am: e29dda829d

Change-Id: I753acee7ab8f0c0ca62a5606ae1b5c44e2314fd3

7 years agoMerge "Surface: Use async lock/unlock in copyBlt"
Jesse Hall [Mon, 9 Jan 2017 05:15:04 +0000 (05:15 +0000)]
Merge "Surface: Use async lock/unlock in copyBlt"
am: b73de86f13

Change-Id: I5312414d1e66cc0dbd3b346f14c14eb1ff90e6da

7 years agoMerge "Surface: Use async lock/unlock in copyBlt"
Jesse Hall [Mon, 9 Jan 2017 05:07:29 +0000 (05:07 +0000)]
Merge "Surface: Use async lock/unlock in copyBlt"

7 years agoMerge "egl: Add NULL check for num_config parameter" am: 64990fc0b9 am: ccaf6bf34a...
Jesse Hall [Sun, 8 Jan 2017 00:02:51 +0000 (00:02 +0000)]
Merge "egl: Add NULL check for num_config parameter" am: 64990fc0b9 am: ccaf6bf34a am: 68d96292a6
am: 84067b39f9

Change-Id: Ia3563162314c646a6e17731effe36bb31ce706dd

7 years agoMerge "egl: Add NULL check for num_config parameter" am: 64990fc0b9 am: ccaf6bf34a
Jesse Hall [Sat, 7 Jan 2017 23:58:21 +0000 (23:58 +0000)]
Merge "egl: Add NULL check for num_config parameter" am: 64990fc0b9 am: ccaf6bf34a
am: 68d96292a6

Change-Id: Icde1d5dc8ca191b752097e85cfb7e94857bcb27b

7 years agoMerge "egl: Add NULL check for num_config parameter" am: 64990fc0b9
Jesse Hall [Sat, 7 Jan 2017 23:53:50 +0000 (23:53 +0000)]
Merge "egl: Add NULL check for num_config parameter" am: 64990fc0b9
am: ccaf6bf34a

Change-Id: Ifada0489e548bbbfa7378b408a1268b7a7b4da03

7 years agoMerge "egl: Add NULL check for num_config parameter"
Jesse Hall [Sat, 7 Jan 2017 23:49:20 +0000 (23:49 +0000)]
Merge "egl: Add NULL check for num_config parameter"
am: 64990fc0b9

Change-Id: I1000300a6ca1a5ee9013f68aacd8541cdfac48b1

7 years agoMerge "egl: Add NULL check for num_config parameter"
Jesse Hall [Sat, 7 Jan 2017 23:44:22 +0000 (23:44 +0000)]
Merge "egl: Add NULL check for num_config parameter"

7 years agoMerge "Add chargeFull properties to be parceled"
Adam Lesinski [Sat, 7 Jan 2017 01:51:03 +0000 (01:51 +0000)]
Merge "Add chargeFull properties to be parceled"

7 years agoHWC2: Initialize retire fence to -1
Naseer Ahmed [Fri, 17 Jun 2016 15:14:25 +0000 (11:14 -0400)]
HWC2: Initialize retire fence to -1

Initializing to zero will cause us to inadvertently  close fd 0.
While fd 0 (stdout) isn't used in the surfaceflinger process,
if we close it, the fd becomes available for other usages, such
as fences and ion buffers. Using it becomes problematic for some
drivers which may treat it as an invalid value.

Bug: 28640429
Test: Fixes GPU driver seeing fd of 0 and erroring
Change-Id: Ifa06472d24476edb27a4306d946eb616a15aee7a

7 years agoMerge "Add API defintions for VK_KHR_incremental_present."
TreeHugger Robot [Fri, 6 Jan 2017 22:17:56 +0000 (22:17 +0000)]
Merge "Add API defintions for VK_KHR_incremental_present."

7 years agoMerge "Unversion NDK stub libraries." am: 3944ec426b am: ce80f3f4b0 am: e6545f3cf3
Dan Albert [Fri, 6 Jan 2017 21:25:27 +0000 (21:25 +0000)]
Merge "Unversion NDK stub libraries." am: 3944ec426b am: ce80f3f4b0 am: e6545f3cf3
am: d956830ca9

Change-Id: Iacf84cc03329107602643009d143c2211b97398d

7 years agoMerge "Unversion NDK stub libraries." am: 3944ec426b am: ce80f3f4b0
Dan Albert [Fri, 6 Jan 2017 21:14:14 +0000 (21:14 +0000)]
Merge "Unversion NDK stub libraries." am: 3944ec426b am: ce80f3f4b0
am: e6545f3cf3

Change-Id: Ibbcbd7ae010cf824c7e26aef15af1e788210e2de

7 years agoMerge "Unversion NDK stub libraries." am: 3944ec426b
Dan Albert [Fri, 6 Jan 2017 21:10:49 +0000 (21:10 +0000)]
Merge "Unversion NDK stub libraries." am: 3944ec426b
am: ce80f3f4b0

Change-Id: I3871fc9393cdabe0eebae30f87d2d2555ddf6dfc

7 years agoMerge "Unversion NDK stub libraries."
Dan Albert [Fri, 6 Jan 2017 21:03:17 +0000 (21:03 +0000)]
Merge "Unversion NDK stub libraries."
am: 3944ec426b

Change-Id: I3266580d6f41b32ec8775e0bb73c66303ed5fa62

7 years agoMerge "Unversion NDK stub libraries."
Treehugger Robot [Fri, 6 Jan 2017 20:53:07 +0000 (20:53 +0000)]
Merge "Unversion NDK stub libraries."

7 years agoAdd API defintions for VK_KHR_incremental_present.
Ian Elliott [Fri, 6 Jan 2017 19:13:23 +0000 (12:13 -0700)]
Add API defintions for VK_KHR_incremental_present.

The actual functionality for this extension was already implemented, but these
"boilerplate" changes were missed.

Test: Manually tested with the cube demo.

Change-Id: Ica3ee5b7d9255c6067afa0301bc5e2fa14cfc7ae

7 years agoUnversion NDK stub libraries.
Dan Albert [Thu, 5 Jan 2017 23:58:50 +0000 (15:58 -0800)]
Unversion NDK stub libraries.

The system versions of these libraries aren't versioned yet.

Bug: https://github.com/android-ndk/ndk/issues/278
Test: make ndk
Change-Id: I73e4ebcac151c4039df6261aa6674accb0204706

7 years agoMerge "vulkan: Correct access after free issue"
TreeHugger Robot [Fri, 6 Jan 2017 18:38:58 +0000 (18:38 +0000)]
Merge "vulkan: Correct access after free issue"

7 years agoMerge "Add android/log.h to Rect.h" am: a422103c90 am: 20b8c55a5e am: a58d700c85
Steve Paik [Fri, 6 Jan 2017 02:25:59 +0000 (02:25 +0000)]
Merge "Add android/log.h to Rect.h" am: a422103c90 am: 20b8c55a5e am: a58d700c85
am: b6e4061cde

Change-Id: I50160499ab02584343f903372de922abd8793218

7 years agoMerge "Add android/log.h to Rect.h" am: a422103c90 am: 20b8c55a5e
Steve Paik [Fri, 6 Jan 2017 02:21:29 +0000 (02:21 +0000)]
Merge "Add android/log.h to Rect.h" am: a422103c90 am: 20b8c55a5e
am: a58d700c85

Change-Id: Ie53f306995ab6876fa4e599b174d99131aaafe4f

7 years agoMerge "Add android/log.h to Rect.h" am: a422103c90
Steve Paik [Fri, 6 Jan 2017 02:17:58 +0000 (02:17 +0000)]
Merge "Add android/log.h to Rect.h" am: a422103c90
am: 20b8c55a5e

Change-Id: I48190e464c2667edaf8cf71a27581c8bd929c1be

7 years agoMerge "Add android/log.h to Rect.h"
Steve Paik [Fri, 6 Jan 2017 02:14:28 +0000 (02:14 +0000)]
Merge "Add android/log.h to Rect.h"
am: a422103c90

Change-Id: I47eecbef3964168a075554b39135286254854472

7 years agoMerge "Add android/log.h to Rect.h"
Treehugger Robot [Fri, 6 Jan 2017 02:08:15 +0000 (02:08 +0000)]
Merge "Add android/log.h to Rect.h"

7 years agoAdd android/log.h to Rect.h
Steve Paik [Thu, 5 Jan 2017 17:09:56 +0000 (09:09 -0800)]
Add android/log.h to Rect.h

Rect.h uses definitions from log.h.

Test:  Build succeeds when C file doesn't include log.h.
Change-Id: Ia85372ca61edafadea92165121dc6fbd1546674b

7 years agoMove TARGET_DISABLE_TRIPLE_BUFFERING to property
Fabien Sanglard [Thu, 29 Dec 2016 23:13:07 +0000 (15:13 -0800)]
Move TARGET_DISABLE_TRIPLE_BUFFERING to property

As part of the migration to Soong, Android.mk environment variables
must be moved to property which are checked at runtime.

Tests: Angler and Sailfish
Change-Id: I7c620656c6778b36fea78c3087fbd5d33cea96f8

7 years agoMerge "Create libgfx, starting with FloatRect"
TreeHugger Robot [Thu, 5 Jan 2017 21:37:19 +0000 (21:37 +0000)]
Merge "Create libgfx, starting with FloatRect"

7 years agoCleanup code given PATCHOAT_FOR_RELOCATION has been removed.
Richard Uhler [Thu, 8 Dec 2016 10:46:35 +0000 (10:46 +0000)]
Cleanup code given PATCHOAT_FOR_RELOCATION has been removed.

Test: make, device boots.
Bug: 33192586
Change-Id: Ic3937708a7dfcd16f02cf68fc20674ec457d60b7

7 years agoMerge "Pass the same fd when compiling due to boot image update." am: 4f8c1fd2ea...
Nicolas Geoffray [Thu, 5 Jan 2017 15:10:36 +0000 (15:10 +0000)]
Merge "Pass the same fd when compiling due to boot image update." am: 4f8c1fd2ea am: dd4268dc5e am: 5e28b3ea17
am: 3e9c24f0ac

Change-Id: I5a9f561273f339b1e4243585d2cf3eecf47cad9e

7 years agoMerge "Pass the same fd when compiling due to boot image update." am: 4f8c1fd2ea...
Nicolas Geoffray [Thu, 5 Jan 2017 15:07:34 +0000 (15:07 +0000)]
Merge "Pass the same fd when compiling due to boot image update." am: 4f8c1fd2ea am: dd4268dc5e
am: 5e28b3ea17

Change-Id: Ie888266def019012e15436db981f5cba87757dce

7 years agoMerge "Pass the same fd when compiling due to boot image update." am: 4f8c1fd2ea
Nicolas Geoffray [Thu, 5 Jan 2017 15:04:05 +0000 (15:04 +0000)]
Merge "Pass the same fd when compiling due to boot image update." am: 4f8c1fd2ea
am: dd4268dc5e

Change-Id: I996ab33bafcba4480a99d81496864d5157bda316

7 years agoMerge "Pass the same fd when compiling due to boot image update."
Nicolas Geoffray [Thu, 5 Jan 2017 15:01:32 +0000 (15:01 +0000)]
Merge "Pass the same fd when compiling due to boot image update."
am: 4f8c1fd2ea

Change-Id: Ifbc81ad7ffebdcb2eb40e279c558899ec1dce505

7 years agoMerge "Pass the same fd when compiling due to boot image update."
Treehugger Robot [Thu, 5 Jan 2017 14:56:01 +0000 (14:56 +0000)]
Merge "Pass the same fd when compiling due to boot image update."

7 years agoPass the same fd when compiling due to boot image update.
Nicolas Geoffray [Tue, 20 Dec 2016 15:03:56 +0000 (15:03 +0000)]
Pass the same fd when compiling due to boot image update.

Test: device boots, apps get installed, OTA uses same vdex.
Change-Id: I913062630640f31a18d23b2f62afd74986322e6a

7 years agoSurface: Use async lock/unlock in copyBlt
Francis Hart [Fri, 9 Jan 2015 09:10:54 +0000 (11:10 +0200)]
Surface: Use async lock/unlock in copyBlt

The Surface::lock() function now uses the asynchronous versions of
gralloc lock/unlock when copying the previously drawn content to the
backbuffer. This allows for optimisations in the gralloc module
implementation and so can improve performance and avoid CPU waits.

Change-Id: I57193f327db2ff0422e1b58b3484f613201d994c

7 years agoMerge "Callback elision for HIDL interfaces." am: b7ee96a666 am: d390a8291a am: 8824b...
Martijn Coenen [Thu, 5 Jan 2017 10:04:20 +0000 (10:04 +0000)]
Merge "Callback elision for HIDL interfaces." am: b7ee96a666 am: d390a8291a am: 8824b5252e
am: 26ad6b0d06

Change-Id: I4134bec0f49f4fe5fdc4d0ea06198567d7d76355

7 years agoMerge "Callback elision for HIDL interfaces." am: b7ee96a666 am: d390a8291a
Martijn Coenen [Thu, 5 Jan 2017 09:58:44 +0000 (09:58 +0000)]
Merge "Callback elision for HIDL interfaces." am: b7ee96a666 am: d390a8291a
am: 8824b5252e

Change-Id: I6902f398a0b80b6c077b60cc71bec63b900d7493

7 years agoMerge "Callback elision for HIDL interfaces." am: b7ee96a666
Martijn Coenen [Thu, 5 Jan 2017 09:52:45 +0000 (09:52 +0000)]
Merge "Callback elision for HIDL interfaces." am: b7ee96a666
am: d390a8291a

Change-Id: I6977094aa5a97d82b51c18f605e258046c488c7e

7 years agoMerge "Callback elision for HIDL interfaces."
Martijn Coenen [Thu, 5 Jan 2017 09:46:55 +0000 (09:46 +0000)]
Merge "Callback elision for HIDL interfaces."
am: b7ee96a666

Change-Id: I2d71b02f11d16c95830adbca36f77345ba58cafa

7 years agoMerge "Callback elision for HIDL interfaces."
Martijn Coenen [Thu, 5 Jan 2017 09:40:55 +0000 (09:40 +0000)]
Merge "Callback elision for HIDL interfaces."

7 years agoCallback elision for HIDL interfaces.
Martijn Coenen [Mon, 2 Jan 2017 14:17:11 +0000 (15:17 +0100)]
Callback elision for HIDL interfaces.

Test: mma
Bug: 31380743
Change-Id: I33080b61d6233b63106b2602a628bfcdaa878a90

7 years agoMerge "Return<*> getStatus().isOk() -> isOk()"
Steven Moreland [Wed, 4 Jan 2017 23:46:51 +0000 (23:46 +0000)]
Merge "Return<*> getStatus().isOk() -> isOk()"

7 years agoMerge "Surface: Ensure synchronisation of copyBlt" am: 88f77814a1 am: 5a2dcde971...
Francis Hart [Wed, 4 Jan 2017 20:48:53 +0000 (20:48 +0000)]
Merge "Surface: Ensure synchronisation of copyBlt" am: 88f77814a1 am: 5a2dcde971 am: 11d80ae93e
am: 3c3aba0214

Change-Id: Id93abe6750314f6fcdc7cfa044ca2e38b294d0d5

7 years agoMerge "Surface: Ensure synchronisation of copyBlt" am: 88f77814a1 am: 5a2dcde971
Francis Hart [Wed, 4 Jan 2017 20:43:23 +0000 (20:43 +0000)]
Merge "Surface: Ensure synchronisation of copyBlt" am: 88f77814a1 am: 5a2dcde971
am: 11d80ae93e

Change-Id: I955ce5a325d6dd2fbc42eaeb59c37a07aa1c9a6b

7 years agoMerge "Surface: Ensure synchronisation of copyBlt" am: 88f77814a1
Francis Hart [Wed, 4 Jan 2017 20:41:52 +0000 (20:41 +0000)]
Merge "Surface: Ensure synchronisation of copyBlt" am: 88f77814a1
am: 5a2dcde971

Change-Id: Ifb17a3d79f367bf22e01746209453f8b36bb35b5

7 years agoMerge "Surface: Ensure synchronisation of copyBlt"
Francis Hart [Wed, 4 Jan 2017 20:38:52 +0000 (20:38 +0000)]
Merge "Surface: Ensure synchronisation of copyBlt"
am: 88f77814a1

Change-Id: If8fe2dde08a1a850029e1d9ca6a7ae965f2aa8ab

7 years agoMerge "Surface: Ensure synchronisation of copyBlt"
Treehugger Robot [Wed, 4 Jan 2017 20:33:09 +0000 (20:33 +0000)]
Merge "Surface: Ensure synchronisation of copyBlt"

7 years agoMerge "Mark libGLESv3 as unversioned until android-24." am: a09d0363fd am: 3ee6686fdd...
Dan Albert [Wed, 4 Jan 2017 19:13:27 +0000 (19:13 +0000)]
Merge "Mark libGLESv3 as unversioned until android-24." am: a09d0363fd am: 3ee6686fdd am: 16c25d8168
am: f791fe7a0f

Change-Id: I2175da1ac7f75989be77a3d0cdd731c6ec129315

7 years agoMerge "Mark libGLESv3 as unversioned until android-24." am: a09d0363fd am: 3ee6686fdd
Dan Albert [Wed, 4 Jan 2017 19:11:27 +0000 (19:11 +0000)]
Merge "Mark libGLESv3 as unversioned until android-24." am: a09d0363fd am: 3ee6686fdd
am: 16c25d8168

Change-Id: I45214880c98d4b46c50ba0c3179097e48b0f37b3

7 years agoMerge "Mark libGLESv3 as unversioned until android-24." am: a09d0363fd
Dan Albert [Wed, 4 Jan 2017 19:08:56 +0000 (19:08 +0000)]
Merge "Mark libGLESv3 as unversioned until android-24." am: a09d0363fd
am: 3ee6686fdd

Change-Id: I6ed0b6e51ddb3cd8c20e4a3d771ddff946c0b6ff

7 years agoMerge "Mark libGLESv3 as unversioned until android-24."
Dan Albert [Wed, 4 Jan 2017 19:06:28 +0000 (19:06 +0000)]
Merge "Mark libGLESv3 as unversioned until android-24."
am: a09d0363fd

Change-Id: Ic902107fc0f9f78fa9ab124c99cbb5f976ebbe61

7 years agoMerge "Mark libGLESv3 as unversioned until android-24."
Treehugger Robot [Wed, 4 Jan 2017 19:00:36 +0000 (19:00 +0000)]
Merge "Mark libGLESv3 as unversioned until android-24."

7 years agoMerge "Native interface to AudioService"
TreeHugger Robot [Wed, 4 Jan 2017 18:37:40 +0000 (18:37 +0000)]
Merge "Native interface to AudioService"

7 years agoMerge "Add libsync to dependencies of libgui"
TreeHugger Robot [Wed, 4 Jan 2017 17:23:42 +0000 (17:23 +0000)]
Merge "Add libsync to dependencies of libgui"