diff options
| author | Derek Sollenberger <djsollen@google.com> | 2021-12-13 21:40:44 +0000 |
|---|---|---|
| committer | Derek Sollenberger <djsollen@google.com> | 2022-01-10 18:00:19 +0000 |
| commit | 2474c831d75f8a05322c22320a4657b970580509 (patch) | |
| tree | c72d7e131a2e9acfb2687df4a95c4309b402f441 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 978ce25bdfe4889060c1904bd0bd56e0a46cb228 (diff) | |
Reland "Enforce that RuntimeShader is only hardware accelerated"
Throw an illegal argument exception any time a Paint with
a RuntimeShader is attempted to be drawn into a software
canvas. Also mark that a Picture that uses a RuntimeShader is
properly marked as requiring hardware acceleration.
These tests check that the use of RuntimeShaders trigger
Bug: 189102731
Bug: 201546136
Test: atest CtsUiRenderingTestCases:RuntimeShaderTests
Test: atest CtsGraphicsTestCases:RippleDrawableTest
Change-Id: I663e2bc06a3b475f0bb256ce6a9c00c6432ffa42
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
