selectNative*Factory() throws exception when no factories available.
authorMika Isojärvi <misojarvi@google.com>
Wed, 11 Mar 2015 23:09:13 +0000 (16:09 -0700)
committerMika Isojärvi <misojarvi@google.com>
Tue, 17 Mar 2015 18:04:29 +0000 (11:04 -0700)
commit485844e764f2821545146b832726a36012f86238
tree94ab89b087f1450599c6f49bb040aca14becef37
parenta4d9f9beff34f1b5f8afabcdbf907d9d5eb56562
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
19 files changed:
framework/egl/egluGLContextFactory.cpp
framework/egl/egluUtil.cpp
framework/egl/egluUtil.hpp
modules/egl/teglCreateContextExtTests.cpp
modules/egl/teglCreateSurfaceTests.cpp
modules/egl/teglGLES2SharingTests.cpp
modules/egl/teglImageFormatTests.cpp
modules/egl/teglImageUtil.cpp
modules/egl/teglMakeCurrentPerfTests.cpp
modules/egl/teglMultiThreadTests.cpp
modules/egl/teglNativeColorMappingTests.cpp
modules/egl/teglNativeCoordMappingTests.cpp
modules/egl/teglPreservingSwapTests.cpp
modules/egl/teglQuerySurfaceTests.cpp
modules/egl/teglRenderCase.cpp
modules/egl/teglResizeTests.cpp
modules/egl/teglSwapBuffersTests.cpp
modules/egl/teglSyncTests.cpp
modules/egl/teglTestPackage.cpp