commit | f470a8e7f6233e49440d73829d75a2a024f58a4c | [log] [tgz] |
---|---|---|
author | Tao Wu <lepton@google.com> | Mon Jun 22 21:11:07 2020 -0700 |
committer | Tao Wu <lepton@google.com> | Wed Jun 24 17:18:28 2020 -0700 |
tree | 6fc046d13c8413e7664e0f6edbe11205bb7ba975 | |
parent | d451a4712405b2ae4a25c293686b110af3412d4e [diff] |
opengl: Check GL_EXT_debug_marker before using it. The old code just use eglGetProcAddress to get function pointers without checking if GL_EXT_debug_marker is supported. This doesn't work for some implementation like MESA. If GL_EXT_debug_marker isn't supported, reset those function pointers to gl_noop. Bug: 155935219 Test: manual - Run dEQP-GLES2.functional.debug_marker#random on ARCVM Change-Id: I93fa8fb419ccde46fef6dd9a2a4ec84f15db3284