summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorArthur Hung <arthurhung@google.com>2021-06-10 22:57:18 +0800
committerArthur Hung <arthurhung@google.com>2021-06-17 12:21:45 +0000
commit8e0fedbdb183bd9022f64232bb2515517c88e240 (patch)
tree6e6559dbe4e9d38a9f3885bf3e6af1fba163e044 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent014c064431a3accda9115c118103b6773d1b65de (diff)
Update transform hint from relayout window (1/2)
The transform hint is used to prevent allocating a buffer of a different size when a window is rotated. We return the fixed rotation transform and pass it to BLASTBufferQueue so the producer can choose to consume the hint and allocate the buffer with the same size. Bug: 188893403 Bug: 177029197 Test: atest WmTests Test: gfxbenchmark Test: atest libsurfaceflinger_unittest SurfaceFlinger_test Change-Id: If631984cf6b4b74ccdf19547fd6a63e759ed5732
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions