コード例 #1
0
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
     """

CTS_DATA_DIR = os.path.join(DEQP_DIR, "android", "cts")

CTS_PROJECT = Project(path=CTS_DATA_DIR, copyright=COPYRIGHT_DECLARATION)

EGL_MODULE = getModuleByName("dEQP-EGL")
GLES2_MODULE = getModuleByName("dEQP-GLES2")
GLES3_MODULE = getModuleByName("dEQP-GLES3")
GLES31_MODULE = getModuleByName("dEQP-GLES31")
VULKAN_MODULE = getModuleByName("dEQP-VK")

# Lollipop

LMP_GLES3_PKG = Package(module=GLES3_MODULE,
                        configurations=[
                            Configuration(name="master",
                                          glconfig="rgba8888d24s8ms0",
                                          rotation="unspecified",
                                          surfacetype="window",
コード例 #2
0
COPYRIGHT_DECLARATION = """
	 Licensed under the Apache License, Version 2.0 (the "License");
	 you may not use this file except in compliance with the License.
	 You may obtain a copy of the License at

		  http://www.apache.org/licenses/LICENSE-2.0

	 Unless required by applicable law or agreed to in writing, software
	 distributed under the License is distributed on an "AS IS" BASIS,
	 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	 See the License for the specific language governing permissions and
	 limitations under the License.
	 """

MUSTPASS_PATH		= os.path.join(DEQP_DIR, "external", "vulkancts", "mustpass")
PROJECT				= Project(path = MUSTPASS_PATH, copyright = COPYRIGHT_DECLARATION)
VULKAN_MODULE		= getModuleByName("dEQP-VK")
BUILD_CONFIG		= getBuildConfig(DEFAULT_BUILD_DIR, DEFAULT_TARGET, "Debug")

# main

VULKAN_MAIN_PKG	= Package(module = VULKAN_MODULE, configurations = [
		  # Master
		  Configuration(name					= "default",
						filters					= [include("master.txt"),
												   exclude("test-issues.txt"),
												   exclude("excluded-tests.txt"),
												   exclude("android-tests.txt")],
						splitToMultipleFiles	= True),
		  Configuration(name					= "fraction-mandatory-tests",
						filters					= [include("fraction-mandatory-tests.txt")]),
コード例 #3
0
ファイル: build_mustpass.py プロジェクト: ahqmhjk/VK-GL-CTS
buildPath = DEFAULT_BUILD_DIR.format(targetName=DEFAULT_TARGET,
                                     buildType="Release")

#-------------------------------------------------- ES MUSTPASS----------------------------------------------------------------------

CTS_AOSP_MP_DATA_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "data",
                                    "mustpass", "gles", "aosp_mustpass")

CTS_AOSP_MP_DEVICE_DIR = "gl_cts/data/mustpass/gles/aosp_mustpass"

CTS_MP_INC_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "modules",
                              "runner")

CTS_AOSP_MP_ES_PROJECT = Project(name="AOSP Mustpass ES",
                                 path=CTS_AOSP_MP_DATA_DIR,
                                 incpath=CTS_MP_INC_DIR,
                                 devicepath=CTS_AOSP_MP_DEVICE_DIR,
                                 copyright=COPYRIGHT_DECLARATION)

CTS_KHR_MP_DATA_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "data",
                                   "mustpass", "gles", "khronos_mustpass")

CTS_KHR_MP_DEVICE_DIR = "gl_cts/data/mustpass/gles/khronos_mustpass"

CTS_KHR_MP_ES_PROJECT = Project(name="Khronos Mustpass ES",
                                path=CTS_KHR_MP_DATA_DIR,
                                incpath=CTS_MP_INC_DIR,
                                devicepath=CTS_KHR_MP_DEVICE_DIR,
                                copyright=COPYRIGHT_DECLARATION)

CTS_AOSP_MP_EGL_DEVICE_DIR = "gl_cts/data/mustpass/egl/aosp_mustpass"
コード例 #4
0
 *     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *     See the License for the specific language governing permissions and
 *     limitations under the License.
*/"""

CTS_AOSP_MP_DATA_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "data",
                                    "mustpass", "gles", "aosp_mustpass")

CTS_AOSP_MP_DEVICE_DIR = "gl_cts/data/mustpass/gles/aosp_mustpass"

CTS_MP_INC_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "modules",
                              "runner")

CTS_AOSP_MP_PROJECT = Project(name="AOSP Mustpass ES",
                              path=CTS_AOSP_MP_DATA_DIR,
                              incpath=CTS_MP_INC_DIR,
                              devicepath=CTS_AOSP_MP_DEVICE_DIR,
                              copyright=COPYRIGHT_DECLARATION)

CTS_KHR_MP_DATA_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "data",
                                   "mustpass", "gles", "khronos_mustpass")

CTS_KHR_MP_DEVICE_DIR = "gl_cts/data/mustpass/gles/khronos_mustpass"

CTS_KHR_MP_ES3x_PROJECT = Project(name="Khronos Mustpass ES3x",
                                  path=CTS_KHR_MP_DATA_DIR,
                                  incpath=CTS_MP_INC_DIR,
                                  devicepath=CTS_KHR_MP_DEVICE_DIR,
                                  copyright=COPYRIGHT_DECLARATION)

CTS_KHR_MP_ES2_PROJECT = Project(name="Khronos Mustpass ES2",