summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorAlec Mouri <alecmouri@google.com>2020-03-26 17:17:09 -0700
committerAlec Mouri <alecmouri@google.com>2020-03-26 18:09:53 -0700
commit026106f6d68382988502b093e963bfb3d4153396 (patch)
treea5c6735b6ecae6663faff5b7285fdd0dd760ee21 /opengl/tests/gl_basic/gl_basic.cpp
parent40c41402e4817698a914015d2902d4f297643f67 (diff)
[HWUI] Add null check for CanvasContext
If ReliableSurface is forced to acquire a fallback buffer then the Surface may be abandoned. When getting frame timestamps we need to check that the Surface still exists. Bug: 152262035 Test: builds, boots Test: dumpsys gfxinfo Change-Id: Ifdb198ebf74cc9dc681c4ab51c4901176a7f5fc9
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions