commit | a1c1a5e86eac5110e76d0bd0d2e0ef1b236e5c8a | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Wed Jul 14 15:52:19 2021 -0400 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jul 15 16:59:33 2021 +0000 |
tree | 9951a7b9510d10828dfa7ce1ea578f7b6282fe54 | |
parent | 47796faff1538dc9aef191ff8cacba35eb93048c [diff] |
Always submit after texture uploads Ensure GrContext::submit() is always called after either Bitmap#prepareToDraw() or if DrawFrameTask skipped drawing. In either case texture uploads & deletions will be scheduled, but without the submit they won't actually be performed. This can end up running out of RAM. Bug: 189393671 Test: manual test app Change-Id: I57477c64457558487e9e5ec0a979ad9099a8cb2c (cherry picked from commit cf1170fbda6ba5dc3d6890c489d7521cdc6fc3b7)