summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMarissa Wall <marissaw@google.com>2019-04-23 14:10:15 -0700
committerMarissa Wall <marissaw@google.com>2019-04-23 14:10:15 -0700
commitbb9b14f0209d9a83df38c3fdcd27ea0fe4255fc0 (patch)
tree6f16ecb74cfcf53cf1631ae1f972d18743b053f7 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7feb1a1f7d0526dc0518be1ee5068ef51a48e074 (diff)
ASurfaceControl: fix surface damage
There are two problems with surface control. 1) By merging the rects, the Region turned into 0,0,0,0 instead of an or of the Rects. 2) In the case where an app intends to have a region of 0,0,0,0, we should treat it the same as a region of 0,0,-1,-1. Bug: 131175047 Test: ASurfaceControl Change-Id: Ib2e3b90ac215e069d3d3c2eca81ff1013b4287aa
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions