diff options
author | Vishnu Nair <vishnun@google.com> | 2020-09-16 16:00:39 -0700 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2020-09-24 21:45:18 +0000 |
commit | cf143d44088368e383fe103a2580928780ccee19 (patch) | |
tree | 6b6ae70c42f8c042994e0b7ce865aa799ec099df /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f502b885b9fd17f1e272c101833af1489a91dc59 (diff) |
Add BlastBufferQueue adapter in SurfaceView
Add support for submitting buffers in SurfaceView via BLAST using
BlastBufferQueue adapter.
Introduce a new config wm_use_blast_adapter_sv, that is disabled by
default to enable the adapter.
When enabled, the blast SC is created as a child of the main
SurfaceView SC and the main SC is set as a container layer. This layer
will continue to handle position, visibility and transforms while the
blast SC will handle buffer updates via the adapter.
Test: atest SurfaceViewBufferTests
Test: go/wm-smoke w/ & w/o adb shell adb shell settings set global use_blast_adapter_sv 1
Bug: b/168504870, b/168917217
Change-Id: I826eef39e03ea339df54400be0709eaba6c88797
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions