summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorDenis Hsu <denis.hsu@mediatek.com>2018-01-04 14:45:34 +0800
committerDenis Hsu <denis.hsu@mediatek.com>2018-11-22 12:05:43 +0800
commit87433cd1a09de1c52ec480a13265570cea60d977 (patch)
tree6b5143609c3023069b65c54f11a9501481ade31b /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentc24a4b5f44e21b8a80745ee5f2ac0ffeea90565d (diff)
Catch egl errors when drawIntoSurfaces
Cts test case: testAbandonRepeatingRequestSurface is used to test the GPU for the ability of detecting the interrupt release of surface. It may have a dequeue buffer action in eglMakeCurrent, so it would return error "EGL_BAD_NATIVE_WINDOW" after surfaceflinger has been disconnected. In this case, the test can be passed only when we catch the errors thrown from GPU when calling eglMakeCurrent, or the test would be interrupted by the error exception. Bug: 72750260 Test: manual, ran the cts test case android.hardware.camera2.cts.RobustnessTest#testAbandonRepeatingRequestSurface Change-Id: I79bacdd3c0382a79786f8eb689eb4f89c830ddcc
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions