Mike Reed
2dfd55d199
don't toggle between Paint and SkPaint
...
Test: make
Change-Id: Id5864591db0577a24833bbb90036b9554ce130d4
2019-01-08 16:19:22 -05:00
liulvping
eafbb21fed
Merge "fix mmap leak of graphicsstats service" am: 9ebc299b73 am: a2b2a415f0
...
am: be2b5dab88
Change-Id: I0507151e3394d6d599316b8b90e2fd50af20fdbe
2019-01-07 21:49:47 -08:00
liulvping
be2b5dab88
Merge "fix mmap leak of graphicsstats service" am: 9ebc299b73
...
am: a2b2a415f0
Change-Id: I9da0210799cee14bb36afd186d26fbb1718ffc19
2019-01-07 21:36:12 -08:00
Treehugger Robot
9ebc299b73
Merge "fix mmap leak of graphicsstats service"
2019-01-08 05:03:47 +00:00
Chih-hung Hsieh
17cc87e533
Merge "Fix/suppress hwui/tests google-explicit-constructor warnings" am: 6832595911 am: 0e0edd08ac
...
am: c545d54389
Change-Id: I6a074df93a9eb22ec2da81f91826f699989ff988
2019-01-07 17:48:32 -08:00
Chih-hung Hsieh
c545d54389
Merge "Fix/suppress hwui/tests google-explicit-constructor warnings" am: 6832595911
...
am: 0e0edd08ac
Change-Id: I8199a26c717fe80b3a733d796b85f28d3acc25a9
2019-01-07 17:29:54 -08:00
Chih-Hung Hsieh
1c57378eed
Fix/suppress hwui/tests google-explicit-constructor warnings
...
* Add explicit to conversion constructors/operators
Bug: 28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: I59c61af29ab09209c5a4c2bf43b10215bf59756a
2019-01-04 17:42:27 +00:00
Bo Liu
1b0278c19e
Mark GrContext dirty after onContextDestroyed
...
Bug: 120997728
Test: hwui_unit_test passes
Change-Id: I8b60c45ebf7904b7026b480541dac78b70a59e0d
2019-01-04 07:28:55 -08:00
Dimitry Ivanov
d74e2673d0
Merge "hwui: Add libGLESv1_CM to the list of shared_libs"
2019-01-03 19:26:38 +00:00
TreeHugger Robot
8319a7ee7f
Merge "Plumb new functor in native/webview"
2019-01-03 19:15:24 +00:00
Bo Liu
d6668e7c0c
Plumb new functor in native/webview
...
Add plumbing to native/webview for the new functor.
Add a void* data parameter to avoid having to use a thread safe
map for in both the plumbing and in webview.
Test: Compiles and webview runs
Bug: 120997728
Change-Id: I0f9f3acb05688a5afcf95974bc0b3b117f33a8e3
2019-01-03 19:15:18 +00:00
Mike Reed
3905e83b20
All non-blob variants of drawText are deprecated
...
Test: make
Change-Id: Iff8cb6a7e2c4f47dcd56db311bc73e0ab12ac8f3
2019-01-02 16:25:04 +00:00
liulvping
4832438c3a
fix mmap leak of graphicsstats service
...
Test: repeat dumpsys graphicsstats and check process maps
Change-Id: Iae2baa7eb7761aefb867644edfaaf8dbe2132c7b
Signed-off-by: liulvping <liulvping@xiaomi.com >
2019-01-02 10:54:57 +00:00
Mike Reed
4a4b1be866
drawTextRSXform is deprecated
...
Test: make
Change-Id: I9c041497688b2657e153eeda4c895cd810fd7f94
2019-01-01 15:43:13 -05:00
dimitry
61dfd8fa83
hwui: Add libGLESv1_CM to the list of shared_libs
...
hwui tests are using glMapBufferRangeEXT symbol from libGLESv2
which according to the include file is provided by libGLESv1_CM.
Bug: http://b/69603741
Test: make
Change-Id: I946ec66ce08e0296a553f3c67bddefa4b568d0fd
2018-12-28 22:51:17 +01:00
TreeHugger Robot
1048106e8f
Merge "remove overrides of (dead) onDrawTextRSXform"
2018-12-21 19:29:28 +00:00
Chih-hung Hsieh
b708a7953d
Merge "Fix/suppress incident* google-explicit-constructor warnings" am: 6af0e228f3 am: 78085ba0a3
...
am: ee844ad9a2
Change-Id: I53c2fd3886e565d824e2765671fb7965f07bd08d
2018-12-21 09:24:28 -08:00
Chih-hung Hsieh
34ba791b25
Merge "Fix/suppress pipeline google-explicit-constructor warnings" am: 63790135f4 am: 2cd94bae8d
...
am: b6ecc7ca92
Change-Id: If3fedf4175cf7dd992817677a0bd45ad9d5335ea
2018-12-21 09:15:12 -08:00
Chih-hung Hsieh
ee844ad9a2
Merge "Fix/suppress incident* google-explicit-constructor warnings" am: 6af0e228f3
...
am: 78085ba0a3
Change-Id: Ie3676e133e4722762f44245a7a050971fa64105e
2018-12-21 09:10:22 -08:00
Chih-hung Hsieh
b6ecc7ca92
Merge "Fix/suppress pipeline google-explicit-constructor warnings" am: 63790135f4
...
am: 2cd94bae8d
Change-Id: I4163be5e021a4d14ba51985984b924e74ac324c2
2018-12-21 09:04:07 -08:00
Chih-hung Hsieh
6af0e228f3
Merge "Fix/suppress incident* google-explicit-constructor warnings"
2018-12-21 16:30:12 +00:00
Chih-hung Hsieh
63790135f4
Merge "Fix/suppress pipeline google-explicit-constructor warnings"
2018-12-21 16:29:55 +00:00
Mike Reed
3682251dfd
remove overrides of (dead) onDrawTextRSXform
...
Test: make
Change-Id: Id943d36e76a837ec8e86de6f28e999a442cc489b
2018-12-21 09:33:49 -05:00
Chih-Hung Hsieh
a640ed6058
Merge "Fix/suppress renderthread google-explicit-constructor warnings" am: 138aae8eaf am: 2e2028aee4
...
am: 4e628bc772
Change-Id: I543de7a1c0e3429ca11addd60ae8300d8aedda29
2018-12-20 22:20:18 -08:00
Chih-Hung Hsieh
4e628bc772
Merge "Fix/suppress renderthread google-explicit-constructor warnings" am: 138aae8eaf
...
am: 2e2028aee4
Change-Id: I27d1a114816f6ce94751816f7d17720e0a6d8091
2018-12-20 22:09:53 -08:00
Chih-Hung Hsieh
f9336412b3
Fix/suppress pipeline google-explicit-constructor warnings
...
* Add explicit to conversion constructors/operators
Bug: 28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: Iadeb6cf7ba65d646ec131e567b3ef90c3a699885
2018-12-20 15:36:19 -08:00
Chih-Hung Hsieh
d736d4b845
Fix/suppress renderthread google-explicit-constructor warnings
...
* Add explicit to conversion constructors/operators
* Use NOLINT or NOLINTNEXTLINE to suppress warnings on intended converters
Bug: 28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: Ib7d634bf1e0e9a1dda35b0a1d92de4d460193296
2018-12-20 15:10:23 -08:00
Chih-Hung Hsieh
7a88a938d2
Fix/suppress incident* google-explicit-constructor warnings
...
* Add explicit to conversion constructors/operators
* Remove redundant explicit of copy constructors
Bug: 28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: I26a11bb798d25605577269ed340e97afc8566960
2018-12-20 13:45:04 -08:00
Derek Sollenberger
24fc901e5f
Improve performance of unclipped save layers.
...
Instead of allocating a separate renderTarget and switching
between them on each draw the new implementation follows the same
pattern that the old HWUI renderer used. The area of the layer is
now copied to a buffer on the GPU, the area is then cleared, rendered
as normal, and finally the texture is redrawn using dst_over blending.
This results in no render target switches and is considerably faster
on some hardware.
Test: CtsGraphicsTestCases, CtsUiRenderingTestCases
Bug: 119222339
Change-Id: I716aac1fc31e4c7a171373d37dee82034c01cf18
2018-12-20 10:04:46 -05:00
Ryan Mitchell
ed2af4df00
Merge "Add actor and name parsing for overlayable"
2018-12-19 17:31:50 +00:00
Aurimas Liutikas
b39b21b7cd
Merge "Add libandroidfw_tests to device-tests suite"
2018-12-19 17:02:45 +00:00
Dan Shi
8d7267e82a
Add libandroidfw_tests to device-tests suite
...
For it to be included in device-tests.zip to run test in a suite.
Bug: none
Test: none
Change-Id: Ic20bede356f82a80582acb3883ad1ab9e76a6bdc
2018-12-18 16:06:40 -08:00
Derek Sollenberger
e216948d63
Cleanup of Bitmap.h entry points.
...
All Bitmap constructors have been made private and the only way to
create one is through the allocate or createFrom factories.
SkColorSpace is now explicitly passed in to all the factories and is
no longer assumed to be sRGB.
Test: atest CtsGraphicsTestCases
Change-Id: I92c1c5c59df6de7fdd90e9504a2c2717cb854588
2018-12-18 14:20:24 -05:00
John Reck
c0cd1d7f33
Merge "New WebViewFunctor API"
2018-12-18 17:50:37 +00:00
TreeHugger Robot
eb1c1e97ca
Merge "Fix an issue in SurfaceTexture with forgetting the dataspace"
2018-12-18 14:41:42 +00:00
Kamaljeet Maini
6dd7852670
Merge "Revert "Support mouse pointer on external displays (2/3)""
2018-12-18 03:00:17 +00:00
John Reck
3a0041cf1d
Merge "Add missing getter & improve docs"
2018-12-17 23:52:21 +00:00
Stan Iliev
f6a4ee5b01
Fix an issue in SurfaceTexture with forgetting the dataspace
...
Test: Ran CTS and verified dataspace is not set to 0
Bug: 119504473
Change-Id: I6f9920e1979e5435dc95a7c2ab3f02d57dc57c4e
2018-12-17 17:37:38 -05:00
TreeHugger Robot
1e65287c50
Merge "Add TEST_MAPPING for androidfw to add presubmit tests."
2018-12-17 22:35:39 +00:00
Chih-Hung Hsieh
2491af24a8
Merge "Fix performance-for-range-copy warnings" am: bc29242288 am: 7adb73f332
...
am: 2296036a40
Change-Id: Ia99ea6c9633986e68340bc88983d06baa7a1c597
2018-12-17 14:31:14 -08:00
TreeHugger Robot
73d3d815cd
Merge "Read product property to set Vulkan as default render pipeline"
2018-12-17 22:26:25 +00:00
Chih-Hung Hsieh
2296036a40
Merge "Fix performance-for-range-copy warnings" am: bc29242288
...
am: 7adb73f332
Change-Id: I0ab1a28f5490f96bc8b08f073d364a01ff2f20df
2018-12-17 14:17:57 -08:00
Andrii Kulian
d44026fd47
Revert "Support mouse pointer on external displays (2/3)"
...
This reverts commit 84cdf9cc3b .
Reason for revert: b/120864177
Test: Presubmit
Bug: b/120864177
Change-Id: Ia65e704169527b54cf1d1d470445f96a65fa0294
2018-12-17 13:49:37 -08:00
Aurimas Liutikas
6c2a8b480f
Add TEST_MAPPING for androidfw to add presubmit tests.
...
Test: atest --host libandroidfw_tests
Change-Id: Id893e720139791b499f2f38a25a057738a488c2b
2018-12-17 21:05:44 +00:00
Chih-Hung Hsieh
a1b644e88c
Fix performance-for-range-copy warnings
...
Bug: 30413223
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance*
Change-Id: Ie481e88025a7a1f3abde8ff63420d5ccd8577e52
2018-12-17 20:00:55 +00:00
John Reck
470a919135
Add missing getter & improve docs
...
Also fix SkiaDisplayList::getUsedSize()
Bug: 120865963
Test: atest android.uirendering.cts.testclasses.RenderNodeTests
Change-Id: I3cdbd8d330da9a00367199087c9ae1e0a2cacf46
2018-12-17 11:25:34 -08:00
Peiyong Lin
3bff135503
[HWUI] Remove hardcoding around wide color gamut.
...
Previously we hardcode wide color gamut in HWUI as scRGB color space with FP16
pixel format. However, the hardware composer doesn't support this combination.
This patch plumbs wide color gamut composition preference from composer API to
HWUI such that HWUI can now pick the combination of color space and pixel
format for the surface.
BUG: 111436479
Test: Build, flash and boot, verify with a demo app.
Change-Id: I7a8b4d8deca72ef40069dba9d23a3f5e90dbfe5a
2018-12-15 09:35:25 -08:00
TreeHugger Robot
023e91a3e3
Merge "use SkFontMetrics instead of SkPaint::FontMetrics"
2018-12-15 02:44:32 +00:00
Stan Iliev
b8811aa52f
Read product property to set Vulkan as default render pipeline
...
Bug: 119267168
Test: Booted pixel 3 with Vulkan rendering
Change-Id: Ibc4b2e00d791b1fb333c0e0f5db2b5f084808c24
2018-12-14 22:36:40 +00:00
John Reck
283bb46846
New WebViewFunctor API
...
Should function alongside existing functor API.
Bug: 120997728
Test: hwuiunit passes
Change-Id: I8f6143d0be1111431b55016f34de319f6b8c8910
2018-12-14 14:07:18 -08:00