summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2021-11-02 15:12:08 -0700
committerVishnu Nair <vishnun@google.com>2021-11-02 23:19:43 +0000
commitb801a98e4d24f9ac106d8e5dbd52425eb29f582b (patch)
treed2862c4ee926dc2aa1be928f72ba3981ece99995 /opengl/tests/gl_basic/gl_basic.cpp
parente6adce5936314c85b739c3a0297fe601100e6284 (diff)
CompositionEngine: Update blur state correctly
Previously when blur state (blur radius or blur region) was updated, we would recompute visible regions. This is not necessary and triggers expensive visible region checks that may contribute to sf missing the frame deadline. Fix this by only triggering a visible region change if we start or stop drawing blur. In addition, when visible region does not change, update the blur parameters so Composition Engine picks up the most up-to-date blur parameters. Test: atest libcompositionengine_test Fixes: 202589767 Change-Id: I442f190d92d6b911bb6bd9b4a440e0dcdbd7fb2e
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions