summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPeiyong Lin <lpy@google.com>2019-03-21 20:53:42 +0000
committerPeiyong Lin <lpy@google.com>2019-03-21 20:53:42 +0000
commitbf9d677afd8a820f96d75bd174264a94d7e12b82 (patch)
tree8b0c58fcab20532302aa679fdbb0c50746ec096d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent42d5d0322af0157bf1b1b9306f1f75309108a002 (diff)
Revert "Allow screenshot to carry more information."
This reverts commit 42d5d0322af0157bf1b1b9306f1f75309108a002. Below is the original commit message: 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. Reason for revert: Break master build Change-Id: I36efb7a1274bdcd31b6a7f1070a96d522c0f124a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions