glcTestRunner.hpp
)
+if (DEQP_USE_X11)
+ add_definitions(-DDEQP_SUPPORT_X11=1)
+endif ()
+
if (DE_OS_IS_ANDROID)
include_directories(${PROJECT_SOURCE_DIR}/framework/platform/android)
{ glu::ApiType::es(3, 0), "rotate-reverse-landscape", "rgba8888d24s8ms0", "270", -1, DE_NULL, 256, 256 },
#endif // DE_OS == DE_OS_ANDROID
{ glu::ApiType::es(3, 0), "multisample", "rgba8888d24s8ms4", "unspecified", -1, DE_NULL, 256, 256 },
+#ifndef DDEQP_SUPPORT_X11
{ glu::ApiType::es(3, 0), "565-no-depth-no-stencil", "rgb565d0s0ms0", "unspecified", -1, DE_NULL, 256, 256 },
+#endif // DDEQP_SUPPORT_X11
{ glu::ApiType::es(3, 1), "master", "rgba8888d24s8ms0", "unspecified", -1, DE_NULL, 256, 256 },
#if DE_OS == DE_OS_ANDROID
{ glu::ApiType::es(3, 1), "rotate-portrait", "rgba8888d24s8ms0", "0", -1, DE_NULL, 256, 256 },
{ glu::ApiType::es(3, 1), "rotate-reverse-landscape", "rgba8888d24s8ms0", "270", -1, DE_NULL, 256, 256 },
#endif // DE_OS == DE_OS_ANDROID
{ glu::ApiType::es(3, 1), "multisample", "rgba8888d24s8ms4", "unspecified", -1, DE_NULL, 256, 256 },
+#ifndef DDEQP_SUPPORT_X11
{ glu::ApiType::es(3, 1), "565-no-depth-no-stencil", "rgb565d0s0ms0", "unspecified", -1, DE_NULL, 256, 256 },
+#endif // DDEQP_SUPPORT_X11
};
#endif // _GLCAOSPMUSTPASSES_HPP
rotation = "unspecified",
surfacewidth = "256",
surfaceheight = "256",
+ skip = "x11",
filters = [include("gles3-master.txt"),
include("gles3-pixelformat.txt"),
exclude("gles3-pixelformat-issues.txt")]),
rotation = "unspecified",
surfacewidth = "256",
surfaceheight = "256",
+ skip = "x11",
filters = [include("gles31-master.txt"), include("gles31-pixelformat.txt")]),
])
rotation = "unspecified",
surfacewidth = "256",
surfaceheight = "256",
+ skip = "x11",
filters = GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-pixelformat.txt")]),
])
rotation = "unspecified",
surfacewidth = "256",
surfaceheight = "256",
+ skip = "x11",
filters = GLCTS_3_2_3_GLES31_COMMON_FILTERS + [include("gles31-pixelformat.txt")]),
])
rotation = "unspecified",
surfacewidth = "256",
surfaceheight = "256",
+ skip = "x11",
filters = MASTER_GLES3_COMMON_FILTERS + [include("gles3-pixelformat.txt")]),
])
MASTER_GLES31_COMMON_FILTERS = [
rotation = "unspecified",
surfacewidth = "256",
surfaceheight = "256",
+ skip = "x11",
filters = MASTER_GLES31_COMMON_FILTERS + [include("gles31-pixelformat.txt")]),
])
raise Exception("GTF sources not found. GTF module is required to build the mustpass files. 'cd external && python fetch_kc_cts.py'")
genMustpassLists(ES_MUSTPASS_LISTS, ANY_GENERATOR, ES_BUILD_CONFIG)
gl_mustpass_lists = generateGLMustpass()
-# genMustpassLists(gl_mustpass_lists, ANY_GENERATOR, GL_BUILD_CONFIG)
-
+ genMustpassLists(gl_mustpass_lists, ANY_GENERATOR, GL_BUILD_CONFIG)
self.copyright = copyright
class Configuration:
- def __init__ (self, name, filters, glconfig = None, rotation = "unspecified", surfacetype = None, surfacewidth = None, surfaceheight = None, baseseed = None, fboconfig = None, required = False, runtime = None, os = "any"):
+ def __init__ (self, name, filters, glconfig = None, rotation = "unspecified", surfacetype = None, surfacewidth = None, surfaceheight = None, baseseed = None, fboconfig = None, required = False, runtime = None, os = "any", skip = "none"):
self.name = name
self.glconfig = glconfig
self.rotation = rotation
self.filters = filters
self.expectedRuntime = runtime
self.os = os
+ self.skipPlatform = skip
class Package:
def __init__ (self, module, configurations, useforfirsteglconfig = True):
gtf_wrapper_close = "#endif // defined(DEQP_GTF_AVAILABLE)\n"
android_wrapper_open = "#if DE_OS == DE_OS_ANDROID\n"
android_wrapper_close = "#endif // DE_OS == DE_OS_ANDROID\n"
+ skip_x11_wrapper_open = "#ifndef DDEQP_SUPPORT_X11\n"
+ skip_x11_wrapper_close = "#endif // DDEQP_SUPPORT_X11\n"
TABLE_ELEM_PATTERN = "{apiType} {configName} {glConfigName} {screenRotation} {baseSeed} {fboConfig} {surfaceWidth} {surfaceHeight}"
emitOtherCfgTbl = False
if config.os == "android":
elemFinal += android_wrapper_open
+ if config.skipPlatform == "x11":
+ elemFinal += skip_x11_wrapper_open
+
elemFinal += elem
+ if config.skipPlatform == "x11":
+ elemFinal += skip_x11_wrapper_close
+
if config.os == "android":
elemFinal += android_wrapper_close