summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorPeiyong Lin <lpy@google.com>2019-03-01 14:36:05 -0800
committerPeiyong Lin <lpy@google.com>2019-03-04 12:30:46 -0800
commitf4f0f6424bb59e57a5c919070be6022dbe13d7ac (patch)
tree898117410c674f2daa2821335e5502ed32b0f3d8 /rs/java/android/renderscript/ProgramStore.java
parent436a76d1fa3b5dccdd708f5a3938c35251551940 (diff)
Add setColorSpaceAgnostic API to SurfaceControl.
Some layers, for example ScreenDecorOverlay*, only carry black, white or gray with some transpanrency, these values are special as they are color space agnostic. We don't need to do color conversion on them, instead we want to intercept the color space before we send to hardware composer for validation. This patch adds an API to allow this to happen, layers that can be considered color space agnostic can call this API. BUG: 126616348 Test: Build, flash and boot. Verify by calling in Letterbox. Change-Id: I2e1384865bbae6c1bca5ab55962af6a4d529d81d
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions