Commit Graph

9581 Commits

Author SHA1 Message Date
Jorim Jaggi
7a5addd2b7 Apply surface parameters in sync with RenderThread
Otherwise it could lead to parameters applied in the wrong frame,
leading to jank.

Test: Open notification
Bug: 78611607
Change-Id: Ia7900e753b29187a7a7b81f393666687e8b8e04b
2018-05-15 17:31:33 -07:00
Dan Willemsen
f97d380ca7 Merge "Convert to Soong" am: acbd94d76f am: b1005a8a2a
am: d00c851e55

Change-Id: I889b5d31535d927b3aa9cf5ad6af955ca0678356
2018-05-15 15:52:51 -07:00
Dan Willemsen
d00c851e55 Merge "Convert to Soong" am: acbd94d76f
am: b1005a8a2a

Change-Id: If5cb26e0669f79240d8fee1d40aaa2162d8e611f
2018-05-15 15:06:19 -07:00
Dan Willemsen
4888b1f6f0 Convert to Soong
See build/soong/README.md for more information.

Test: m libframeworks_coretests_jni
Test: m FrameworkCoreTests_install
Test: m libshim_jni
Test: m CtsShimPrivUpgrade
Test: m libfilterfw
Test: m PMTest_Java_dual
Test: m libdefcontainer_jni
Test: m libperftestscore_jni
Test: m libpmtest32 libpmtest64
Test: m libprintspooler_jni
Test: m libsmartcamera_jni
Test: m idmap
Test: m libdrmframework_jni
Test: m libdvr_loader com.google.vr.platform com.google.vr.platform.xml
Test: m libfilterpack_imageproc libfilterpack_base
Test: m libwebviewchromium_loader
Test: m shared_mem_test
Test: m test-touchlag
Change-Id: I868561dd237fa28647896d59049ab9260373ada1
2018-05-14 16:47:02 -07:00
TreeHugger Robot
b2a6ad373b Merge "IWYU for SkUnPreMultiply" 2018-05-11 19:56:27 +00:00
Leon Scroggins III
4f354e9388 IWYU for SkUnPreMultiply
Test: build

The Skia to Android master roll is due to not being able to find
SkUnPreMultiply. It must have been included transitively previously.
Include it directly to ensure it's defined.

Change-Id: I9eedce274f5329641a7ebcd65979f10861f17cb0
2018-05-11 13:19:37 -04:00
John Reck
f6f77c5674 Merge "A better HW Bitmap uploader" 2018-05-11 16:32:59 +00:00
Mike Reed
437d4132b4 remove unused RenderBuffer
Test: make

Change-Id: Ibfa3a37e02d6f08d67578053ba9bb5f0a015d60b
2018-05-09 15:04:05 -04:00
John Reck
e170fb6686 A better HW Bitmap uploader
Move all HW bitmap upload operations off of RenderThread.
Ensure EGL context outlives all upload requests

Bug: 79250950
Test: builds, boots, systrace is good, CTS bitmap tests pass

Change-Id: I5ace6c516d33b1afdf1a407cd8b183f6b60c22c1
2018-05-09 11:39:37 -07:00
android-build-team Robot
33f4f1cb16 Merge "remove unneeded RecordedOps" 2018-05-09 18:31:31 +00:00
Mike Reed
faaf6872b1 remove unneeded RecordedOps
Test: make

Change-Id: Ifcb0df64ad649623ae875462f55d9009a4e1ac03
2018-05-09 13:18:35 -04:00
Leon Scroggins
59964809da Merge "Use filtering when drawing nine-patches" into pi-dev am: b638985cc1
am: 3ea0aae1d1

Change-Id: I5de04c539ee6da012989129f3407eab633b0767a
2018-05-09 10:05:05 -07:00
Leon Scroggins
3ea0aae1d1 Merge "Use filtering when drawing nine-patches" into pi-dev
am: b638985cc1

Change-Id: Id7dfab69b931a96d802c0ab43a06fc74267aff5c
2018-05-09 09:54:47 -07:00
Leon Scroggins
b638985cc1 Merge "Use filtering when drawing nine-patches" into pi-dev 2018-05-09 16:38:41 +00:00
android-build-team Robot
3eca420584 Merge "remove obsolete Glop, Tessellators, Programs, and SkiaShader" 2018-05-08 21:50:53 +00:00
Mike Reed
932caf0668 remove obsolete Glop, Tessellators, Programs, and SkiaShader
Test: make

Change-Id: I92f36335830dfc37be72468546637d9986f0baf1
2018-05-08 20:47:45 +00:00
Ryan Mitchell
96930e4faa Merge "AAPT: Fixed split resource dumping" into pi-dev am: fb07d82086
am: d94160943d

Change-Id: Idfef5422bbe3a3e46ceb1951e6393d2c80852930
2018-05-08 11:01:37 -07:00
Ryan Mitchell
d94160943d Merge "AAPT: Fixed split resource dumping" into pi-dev
am: fb07d82086

Change-Id: I66dedae28679c07e0bfa76cfafba97d563356fcb
2018-05-08 10:28:36 -07:00
Leon Scroggins III
5a663768c4 Use filtering when drawing nine-patches
Bug: 77917978
Test: Look at toggles; CtsUiRenderingTestCases

Prior to this change, the toggles look pixelated due to using a
"nearest" filter instead of a "bilerp".

This matches the behavior of the hwui renderer.

Depends on changes in Skia (Ib7d0abdd51981bddf36ec5c3fd84bb651f405f0f)
to respect the filter quality when drawing to a GPU canvas and to
remove the resulting "bleeding" effect from drawImageLattice.

Change-Id: I59d81a17f351e18574539479a38a580a02e1619b
2018-05-08 17:23:11 +00:00
Ryan Mitchell
fb07d82086 Merge "AAPT: Fixed split resource dumping" into pi-dev 2018-05-08 17:17:17 +00:00
android-build-team Robot
ccb89f9263 Merge "Adding batterystats history to proto dump." into pi-dev
am: 291b944d89

Change-Id: Ie1766ac31bc048eeba13d540c446372ef56c2da6
2018-05-08 08:11:22 -07:00
android-build-team Robot
291b944d89 Merge "Adding batterystats history to proto dump." into pi-dev 2018-05-08 14:58:09 +00:00
android-build-team Robot
596b65217e Merge "Adding batterystats history to proto dump." 2018-05-08 02:38:23 +00:00
Kweku Adams
3d16091dd2 Adding batterystats history to proto dump.
It will only print out a dump for userdebug or eng builds.

This is the same change as the pi-dev one (http://ag/3909863), but due
to changes in master, that change has a merge conflict, so I have to
create a separate CL for master.

Bug: 77727638
Test: it builds
Change-Id: Ib74d4c664f23a61e6fc33f700ba6a3c6fad32c74
2018-05-07 17:57:42 -07:00
Kweku Adams
71a9531806 Adding batterystats history to proto dump.
It will only print out a dump for userdebug or eng builds.

Bug: 77727638
Test: flash device and check output of incident proto and
'dumpsys batterystats -c --history'

Merged-In: Ib74d4c664f23a61e6fc33f700ba6a3c6fad32c74
Change-Id: Ia0c993d1281cc350d93f9c13f5540b349a4bfb84
2018-05-07 17:53:57 -07:00
Ryan Mitchell
30487e0a79 AAPT: Fixed split resource dumping
AAPT would not print resource values for splits passed in with the -I
flag. This fix prints out each split separately with the correct type
specs and values.

Bug: 79195967
Test: aapt dump --values -I base-hdpi.apk resources base-master.apk
Change-Id: I223186136e98180fec4a3d96f92f53407db59e2d
2018-05-07 15:36:44 -07:00
John Reck
d41c17308b Merge "Ensure GL & Gralloc both support FP16 before using it" into pi-dev
am: bf39913bbc

Change-Id: Ic3a72f4684966e04b64101b2798c4ec3c0549549
2018-05-07 13:34:52 -07:00
John Reck
bf39913bbc Merge "Ensure GL & Gralloc both support FP16 before using it" into pi-dev 2018-05-07 20:26:02 +00:00
John Reck
b29c772429 Ensure GL & Gralloc both support FP16 before using it
Change-Id: I3bda750b6011d9a69969fc938a230c2445ee8dae
Merged-In: Id8a53885178d698c7b2fd6fc5ea8d4e36ce2ef15
Fixes: 77973662
Test: builds & CTS passes
2018-05-07 16:49:45 +00:00
John Reck
437f6fb15c Verify gralloc supports fp16
Bug: 77973662
Test: builds
Change-Id: Id8a53885178d698c7b2fd6fc5ea8d4e36ce2ef15
2018-05-07 08:14:43 -07:00
android-build-team Robot
9e29859d2e Merge "remove BakedOps and much of renderstate" 2018-05-04 20:34:32 +00:00
android-build-team Robot
404632bcf2 Merge "Pass full context to Minikin" 2018-05-04 19:34:57 +00:00
Mike Reed
e7f688bd01 remove BakedOps and much of renderstate
Test: make

Change-Id: If070b7436b848c6840abfac5f051b0f5b6cb17ce
2018-05-04 15:21:49 -04:00
Derek Sollenberger
ecbb314486 Support readback of TextureView into 565 and extended sRGB. am: 2324991a77
am: 1babd54e4c

Change-Id: Idad79c50a32cdb4c65042da13d08eb68a27fcd6c
2018-05-04 12:05:59 -07:00
Derek Sollenberger
1babd54e4c Support readback of TextureView into 565 and extended sRGB.
am: 2324991a77

Change-Id: If80572b06965089415c32b6ded8b6b1b5fda19b5
2018-05-04 12:00:32 -07:00
Derek Sollenberger
2324991a77 Support readback of TextureView into 565 and extended sRGB.
Bug: 78906699
Test: CtsViewTestCases
Change-Id: I89e8544a883dcb3eb222c164ab57d20e55a073c3
2018-05-04 18:46:52 +00:00
android-build-team Robot
2214272f1c Merge "remove shadow related references" 2018-05-04 18:04:24 +00:00
Mike Reed
4ad8f5329f remove shadow related references
Test: make

Change-Id: I1fc387ee442ca9120ff4f80248cc2395e93128f6
2018-05-04 13:12:16 -04:00
John Reck
d9d7f127b5 Delete a bunch of code
This removes the duality of DisplayList, removing a small amount of
overhead

Test: buids & hwuiunit passes

Change-Id: I8bb3a20e9ead1caec4b4a8a3e9f2c08f717a7096
2018-05-03 15:25:19 -07:00
Mike Reed
ef20ece6c7 Merge "remove (dead) caches from hwui" 2018-05-03 21:33:05 +00:00
Mike Reed
8cafcc628f remove (dead) caches from hwui
Test: make

Change-Id: I18bfe51896672272ce7d471eaead69b651399368
2018-05-03 13:23:40 -04:00
Mike Reed
2b0863a22c Merge "remove unused layout method in TestUtils" 2018-05-03 16:30:43 +00:00
android-build-team Robot
3fdd62c52f Merge "Invoke create_recording_canvas correctly in macro bench tests" into pi-dev am: f28901f6c5
am: 72b1215615

Change-Id: Ic704d134a33bb9cfbda2ae88fce3571bda5176fa
2018-05-02 17:26:55 -07:00
Seigo Nonaka
3a4217fb74 Pass full context to Minikin
Bug: 72461923
Test: atest CtsWidgetTestCases:EditTextTest
    CtsWidgetTestCases:TextViewFadingEdgeTest
    FrameworksCoreTests:TextViewFallbackLineSpacingTest
    FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest
    CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest
    CtsTextTestCases FrameworksCoreTests:android.text
    CtsWidgetTestCases:TextViewPrecomputedTextTest
Test: minikin_tests
Test: hwui_unit_tests

Change-Id: Ic0827a85dbf1ab2b38d44514e400f524686748d2
2018-05-02 16:43:58 -07:00
Yi Jin
68a16c4277 Merge "Add a section flag to bypass failure if a specific path can't be found." into pi-dev
am: e09cde0cd9

Change-Id: I01c5a7a2c1ead02f5af0514cf9bf9b83f1682316
2018-05-02 15:10:58 -07:00
Yi Jin
e09cde0cd9 Merge "Add a section flag to bypass failure if a specific path can't be found." into pi-dev 2018-05-02 21:36:23 +00:00
Anton Hansson
b365836d8e Merge "frameworks/base: Update a few more references to android.jar." am: 85e68063a9 am: 52e98e1b7a
am: 0f185f8b19

Change-Id: I84aebb1697c0217ea9063a2c6b71e8d4a3c6b1a7
2018-05-02 14:17:26 -07:00
Mike Reed
3ad4f8aef5 remove unused layout method in TestUtils
Test: make

Change-Id: I30f4406750d7dfc8fb0f6a8aa07229a7478219e2
2018-05-02 16:43:55 -04:00
android-build-team Robot
72b1215615 Merge "Invoke create_recording_canvas correctly in macro bench tests" into pi-dev
am: f28901f6c5

Change-Id: I855fec4f3cf126485999a008cec9648967cbf21f
2018-05-02 12:52:01 -07:00
android-build-team Robot
f28901f6c5 Merge "Invoke create_recording_canvas correctly in macro bench tests" into pi-dev 2018-05-02 19:38:43 +00:00