History log of /external/deqp/external/openglcts/modules/common/glcContext.hpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4eac0531b06060d1d5de6b4d31ee863d85ec447d 12-Dec-2016 Eduardo Lima Mitev <elima@igalia.com> opengl/khr_debug: Push/pop the custom render context

KHR_Debug tests create their own render context. However, the
framework's test iterator handles basic operations on the render context
between test executions (e.g, swapping buffers), but it always assumes
that the default render context is the one being used. This causes
conflicts on KHR_debug tests, where the postIterate() method throws a
ResourceError, aborting the test execution, and breaking the logging
system.

This patch changes all KHR_debug tests to first save the original render
context, then sets the created render context as that of the base
context to give the framework a good, active render context; and finally
sets back the riginal render context when the test finishes.

If the test aborts in the middle, the destructor of the test (in TestBase)
will still try to restore the original context.

To allow the above, a setRenderContext() method was added to the test
context. So we need to have a mechanism to temporarily set the render
context of the default test context during the execution of these tests.

Fixes all tests in:
* GLXX-CTS.khr_debug.*

Fixes #28

Change-Id: If2c3eea5cb0882c11d2baf8334ed9ee6208b6c65
/external/deqp/external/openglcts/modules/common/glcContext.hpp
84322c9402f810da3cd80b52e9f9ef72150a9004 29-Nov-2016 Alexander Galazin <alexander.galazin@arm.com> Reformat GL CTS according to the clang-format rules.

Mostly license statement is affected.

Change-Id: I41bcd7fbdf88b6e6acda8e723d88c57f5c5374a7
/external/deqp/external/openglcts/modules/common/glcContext.hpp
48087f5f0eb08759ee763f98daf3b34becb74559 14-Nov-2016 Pyry Haulos <phaulos@google.com> Import Khronos OpenGL CTS

Change-Id: Ic6e4341dedb44dfd4ebaaeba7699a5e46202a8b3
/external/deqp/external/openglcts/modules/common/glcContext.hpp