aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android/tests/utils.py
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2016-12-15 09:35:19 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-15 15:32:01 +0000
commit625cd9e0c9379b45c7f3100677eefcf5e241d032 (patch)
tree3cfed5bc9f4644f1d1b33cc082a4d18f88ceaf67 /platform_tools/android/tests/utils.py
parent82c263f6e4452227334c349430f85ea662962a2b (diff)
Workaround freeze on Mac Chrome when checking read pixel config support.
Chromium may ask us to read back from locked IOSurfaces. Calling the command buffer's glGetIntegerv() with GL_IMPLEMENTATION_COLOR_READ_FORMAT/_TYPE causes the command buffer to make a call to check the framebuffer status which can hang the driver. So in Mac Chromium we always use a temporary surface to test for glReadPixels format/type support. BUG=chromium:662802 Change-Id: I034e24faf3d780b6243f95af66d03dd68e12633c Reviewed-on: https://skia-review.googlesource.com/6113 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'platform_tools/android/tests/utils.py')
0 files changed, 0 insertions, 0 deletions