diff options
| author | Leon Scroggins III <scroggo@google.com> | 2022-04-11 16:54:37 -0400 |
|---|---|---|
| committer | Leon Scroggins III <scroggo@google.com> | 2022-04-12 09:43:47 -0400 |
| commit | c63c5b21e8a7495d116b0ba87b25cd02a7dd4f7a (patch) | |
| tree | 208714c9828bad58292a0e442b8239d7b56c32c4 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | e360c271c6f02693d189774f5967c237896d2d7b (diff) | |
GLFunctorDrawable: skip alpha filtering
When drawing a GLFunctorDrawable into an AlphaFilterCanvas, there is no
gpu device, so topLayerBackendRenderTarget (and therefore GetFboDetails)
fails. Applying the alpha would require an extra layer and a performance
cost, so draw directly to the underlying gpu canvas.
This effectively matches the VkFunctorDrawable fix in
I27040347dc25c799b4e75f50526f426e9e33b663.
Bug: 208629203
Test: Iab6f59411310fe4f5ea4ccc3bf386dcc6f2007b1
Change-Id: I9b8f0a357b9349fbb568b30dd18b0c150065f13c
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
