History log of /external/deqp/framework/egl/egluGLContextFactory.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
485844e764f2821545146b832726a36012f86238 12-Mar-2015 Mika Isojärvi <misojarvi@google.com> selectNative*Factory() throws exception when no factories available.

Instead of checking everywhere, if EGL native type factories for type existed
throw tcu::NotSupportedError from selectNative*Factory -function.

Change-Id: Iff416008a7499da7a6536e40dc0e1d376e9acfec
/external/deqp/framework/egl/egluGLContextFactory.cpp
bf44c5c30440b0c7a8c7c87f2b7c3ff984e77018 09-Jan-2015 Jarkko Pöyry <jpoyry@google.com> Add DeqpPlatformCapabilityQueryInstrumentation.

- Add Instrumentation for querying if the described render target is supported.
- Move chooseConfig() from egluGLContextFactory to egluGLUtil

Change-Id: I5f55d0d7c2c1f6c70de9333e42298deb32f19953
/external/deqp/framework/egl/egluGLContextFactory.cpp
3c67e4f0ec73f9c30c6b2ed2adfbfe7faaf576a4 20-Dec-2014 Pyry Haulos <phaulos@google.com> Add support for dynamic loading of EGL entry points

This change adds eglu::Library abstraction for accessing any and all EGL
entry points. All code has been changed to use that interface instead of
calling EGL functions directly.

Having code use abstract interface instead of direct entry points allows
always builing EGL code paths and dynamically loading them if supported
by the environment. In the future analysis and logging facilities could
be layered on that interface.

This change required lots of small changes across all EGL code. As part
of that refactoring work tcu::egl utilities were finally put to rest for
good. All uses of glw.h were also removed from the EGL module.

Bug: 18269587
Change-Id: Ic81e24b7eecb9813d00fba5c65144d4f59a550e8
/external/deqp/framework/egl/egluGLContextFactory.cpp
e54007bd042c6063f6b78f66e489dd9827af056c 08-Jan-2015 Pyry Haulos <phaulos@google.com> Do not touch GL error state in postIterate()

EGL implementation of RenderContext::postIterate() calls glFlush() when
rendering into a pixmap or pbuffer. This change removes erroneus
glGetError() call, as test case may want to carry error state over
iterate() calls.

Bug: 18915339
Change-Id: Ic8f4a1df46f74e8375e4f346daa3d2288f9ee39a
/external/deqp/framework/egl/egluGLContextFactory.cpp
53365959f2740e7b9ed59c51adbb73372f908a09 29-Oct-2014 Mika Isojärvi <misojarvi@google.com> Refactored EGLImage tests.

Refactor EGLImage tests and add more EGL utilities.

Change-Id: I3e7a1648b087316e7ae9ac85e52b88cbe89d33bf
/external/deqp/framework/egl/egluGLContextFactory.cpp
ee2e173d445e87e1f98245f4377f66b081cc320d 31-Oct-2014 Pyry Haulos <phaulos@google.com> Add support for simpler test case list syntax

This change adds support for mustpass-style (full test case path per
line) test case format. All existing test case list command line options
(--deqp-caselist, --deqp-stdin-caselist, --deqp-caselist-file) now
accept both trie- and list-style inputs.

Format is detected by looking at the first character; trie always starts
with '{', list-style format is assumed otherwise.

de::CommandLine default value behavior has been changed. Options that
take values (i.e. not --flags) don't have value set, unless default
value is provided when registering options. Calling getOption() on
command line option whose value is not provided is now an error.
hasOption() should be used first to check if a value was provided at
all.

Test case list parsing is now covered by tests in the internal module.

Bug: 17958588
Change-Id: If6063165ff59cbd8e538d6f829c583541e104fd1
/external/deqp/framework/egl/egluGLContextFactory.cpp
1bdf526ea422474296d2b88392e8f24dd4f31a99 03-Oct-2014 Pyry Haulos <phaulos@google.com> Terminate session on any error from eglSwapBuffers()

Test run should always abort if eglSwapBuffers() gives an error as it
is almost always a sign that something has gone unrecoverably wrong in
the driver.

* Always throw tcu::ResourceError on any error from eglSwapBuffers().
This will make TestExecutor to abort the session.

* Treat EGL_BAD_NATIVE_WINDOW as a sign of potentially destroyed
underlying window, not just EGL_BAD_SURFACE.

Change-Id: I42f3769566670630e3965b0ff50119297639fd5c
/external/deqp/framework/egl/egluGLContextFactory.cpp
217426c2d19d5247e094e363615d7a0b84daf3a7 02-Oct-2014 Pyry Haulos <phaulos@google.com> Make Android integration more robust for API >= 11

Recent targetSdkLevel bump exposed robustness issues in the Android
port which were hidden by pre-honeycomb workarounds in
android.app.ActivityThread. For honeycomb and up when launching activity
with lockscreen on or screen off the system for some reason first starts
the activity once, puts it back to stopped state and then resumes again.
Original Android port assumed that stop event signaled that the test
execution should always stop and process should kill itself. This might
have been necessary workaround on some older Android versions where
onDestroy was never called even if app called finish().

This commit improves Android integration in multiple ways:

* Android port can continue test execution even across stop-start
boundary in the Activity life-cycle.

* eglu::GLRenderContext can recover from window loss by recreating
the window if NativeWindow::postIterate() throws WindowDestroyedError.

* eglu::GLRenderContext refreshes window surface size in postIterate()
call. Note that most test cases might not like if surface is resized
during execution though.

* Temporary window loss (recreation) no longer leads to test run abort,
but rather Android NativeWindow correctly signals that event allowing
eglu::GLRenderContext to recover.

Change-Id: Iaa240f16a2ae6cea7fb894c5772d1e7959a1cfac
/external/deqp/framework/egl/egluGLContextFactory.cpp
ade588f3b2b1b6d007b9681e95434dc4a4bd46ca 24-Sep-2014 Jarkko Pöyry <jpoyry@google.com> Update dEQP.

Migrate drawElements Quality Program changes from an internal repository.

Bug: 17388917

Change-Id: I754f2b4b5b077fadff210dbd8d008eeca1d5a794
/external/deqp/framework/egl/egluGLContextFactory.cpp
3c827367444ee418f129b2c238299f49d3264554 02-Sep-2014 Jarkko Poyry <jpoyry@google.com> Import dEQP.

Import drawElements Quality Program from an internal repository.

Bug: 17388917
Change-Id: Ic109fe4a57e31b2a816113d90fbdf51a43e7abeb
/external/deqp/framework/egl/egluGLContextFactory.cpp