summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPeiyong Lin <lpy@google.com>2019-03-12 09:42:25 -0700
committerPeiyong Lin <lpy@google.com>2019-03-20 10:19:01 -0700
commit42d5d0322af0157bf1b1b9306f1f75309108a002 (patch)
treeafda144157dc47a070765383821772642d99a8da /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9ba5e8e458212f1115df2f7602632549165a00aa (diff)
Allow screenshot to carry more information.
Previously screenshot returns a GraphicBuffer without any other information about how to interpret this buffer, especially color space. We could not take any WCG screenshot, and the color space information is also lost by the time we create bitmap from the GraphicBuffer. This patch adds a ScreenshotGraphicBuffer as a wrapper around GraphicBuffer with more information, for example color space. And make screenshot native method return ScreenshotGraphicBuffer. BUG: 116112787 Test: Build, flash and boot. Verify with WCG Photos. Change-Id: I03cc5ce76d13f165c1203ced0b7fefc570dd2096
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions