Correct getProcAddress() handling in robustness tests
authorOliver Wohlmuth <oliver.wohlmuth@socionext.com>
Fri, 6 Jul 2018 12:19:17 +0000 (14:19 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 13 Jul 2018 09:51:26 +0000 (05:51 -0400)
commit5e128f6da3359b12a43b5d4d2a123568db2d90bc
treebe474141d30abf6fc6ea1bd830892529dd534cbe
parent7d463e716ab9331f978e317747cd3f2383c7b01d
Correct getProcAddress() handling in robustness tests

The below robustness tests don't use the OpenGL ES extension name when
calling getProcAddress() in an OpenGL ES environment. This change fixes
it by removing the getProcAddress() calls and use gl.XXX() to call these
functions. gl.XXX() takes care of the context it is running in.

Affects:
KHR-NoContext.*.robustness.no_reset_notification
KHR-NoContext.*.robustness.getnuniform
KHR-NoContext.*.robustness.readnpixels

Components: OpenGL
VK-GL-CTS issue: 1267

Change-Id: I4ed18990626f1dd744eebf6b99c18a60a29dad5f
external/openglcts/modules/common/glcRobustnessTests.cpp