Home
last modified time | relevance | path

Searched refs:GPUTestConfig (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/
DGPUTestExpectationsTest.cpp23 void validateConfigBase(const GPUTestConfig &config) in validateConfigBase()
25 EXPECT_EQ(IsWindows(), config.getConditions()[GPUTestConfig::kConditionWin]); in validateConfigBase()
26 EXPECT_EQ(IsOSX(), config.getConditions()[GPUTestConfig::kConditionMac]); in validateConfigBase()
27 EXPECT_EQ(IsIOS(), config.getConditions()[GPUTestConfig::kConditionIOS]); in validateConfigBase()
28 EXPECT_EQ(IsLinux(), config.getConditions()[GPUTestConfig::kConditionLinux]); in validateConfigBase()
29 EXPECT_EQ(IsAndroid(), config.getConditions()[GPUTestConfig::kConditionAndroid]); in validateConfigBase()
30 EXPECT_EQ(IsNexus5X(), config.getConditions()[GPUTestConfig::kConditionNexus5X]); in validateConfigBase()
32 config.getConditions()[GPUTestConfig::kConditionPixel2OrXL]); in validateConfigBase()
33 EXPECT_EQ(IsIntel(), config.getConditions()[GPUTestConfig::kConditionIntel]); in validateConfigBase()
34 EXPECT_EQ(IsAMD(), config.getConditions()[GPUTestConfig::kConditionAMD]); in validateConfigBase()
[all …]
DGPUTestExpectationsParser.cpp127 condition(GPUTestConfig::kConditionNone), in TokenInfo()
132 GPUTestConfig::Condition conditionIn, in TokenInfo()
137 constexpr TokenInfo(const char *nameIn, GPUTestConfig::Condition conditionIn) in TokenInfo()
142 GPUTestConfig::Condition condition;
147 {"xp", GPUTestConfig::kConditionWinXP},
148 {"vista", GPUTestConfig::kConditionWinVista},
149 {"win7", GPUTestConfig::kConditionWin7},
150 {"win8", GPUTestConfig::kConditionWin8},
151 {"win10", GPUTestConfig::kConditionWin10},
152 {"win", GPUTestConfig::kConditionWin},
[all …]
DGPUTestConfig.cpp467 inline bool IsD3D9(const GPUTestConfig::API &api) in IsD3D9()
469 return (api == GPUTestConfig::kAPID3D9); in IsD3D9()
473 inline bool IsD3D11(const GPUTestConfig::API &api) in IsD3D11()
475 return (api == GPUTestConfig::kAPID3D11); in IsD3D11()
479 inline bool IsGLDesktop(const GPUTestConfig::API &api) in IsGLDesktop()
481 return (api == GPUTestConfig::kAPIGLDesktop); in IsGLDesktop()
485 inline bool IsGLES(const GPUTestConfig::API &api) in IsGLES()
487 return (api == GPUTestConfig::kAPIGLES); in IsGLES()
491 inline bool IsVulkan(const GPUTestConfig::API &api) in IsVulkan()
493 return (api == GPUTestConfig::kAPIVulkan) || (api == GPUTestConfig::kAPISwiftShader); in IsVulkan()
[all …]
DGPUTestExpectationsParser.h20 struct GPUTestConfig;
40 bool loadTestExpectations(const GPUTestConfig &config, const std::string &data);
41 bool loadTestExpectationsFromFile(const GPUTestConfig &config, const std::string &path);
53 int32_t getTestExpectationWithConfig(const GPUTestConfig &config, const std::string &testName);
65 GPUTestConfig::ConditionArray conditions;
70 bool parseLine(const GPUTestConfig *config, const std::string &lineData, size_t lineNumber);
73 bool checkTokenCondition(const GPUTestConfig &config,
92 bool loadTestExpectationsFromFileImpl(const GPUTestConfig *config, const std::string &path);
93 bool loadTestExpectationsImpl(const GPUTestConfig *config, const std::string &data);
95 int32_t getTestExpectationImpl(const GPUTestConfig *config, const std::string &testName);
DGPUTestConfig.h15 struct GPUTestConfig struct
84 using ConditionArray = angle::BitSet<GPUTestConfig::kNumberOfConditions>; argument
86 GPUTestConfig();
87 GPUTestConfig(bool isSwiftShader);
88 GPUTestConfig(const API &api, uint32_t preRotation);
90 const GPUTestConfig::ConditionArray &getConditions() const;
93 GPUTestConfig::ConditionArray mConditions;
DGPUTestExpectationsParser_unittest.cpp23 class GPUTestConfigTester : public GPUTestConfig
29 mConditions[GPUTestConfig::kConditionWin] = true; in GPUTestConfigTester()
30 mConditions[GPUTestConfig::kConditionNVIDIA] = true; in GPUTestConfigTester()
31 mConditions[GPUTestConfig::kConditionD3D11] = true; in GPUTestConfigTester()
DGPUTestConfig_ios.mm7 // Helper functions for GPUTestConfig that have to be compiled in ObjectiveC++
DGPUTestConfig_mac.mm7 // Helper functions for GPUTestConfig that have to be compiled in ObjectiveC++
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
Dangle_deqp_gtest.cpp101 using APIInfo = std::pair<const char *, GPUTestConfig::API>;
104 {"angle-d3d9", GPUTestConfig::kAPID3D9},
105 {"angle-d3d11", GPUTestConfig::kAPID3D11},
106 {"angle-d3d11-ref", GPUTestConfig::kAPID3D11},
107 {"angle-gl", GPUTestConfig::kAPIGLDesktop},
108 {"angle-gles", GPUTestConfig::kAPIGLES},
109 {"angle-metal", GPUTestConfig::kAPIMetal},
110 {"angle-null", GPUTestConfig::kAPIUnknown},
111 {"angle-swiftshader", GPUTestConfig::kAPISwiftShader},
112 {"angle-vulkan", GPUTestConfig::kAPIVulkan},
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DANGLETest.cpp193 GPUTestConfig::API GetTestConfigAPIFromRenderer(EGLenum renderer, EGLenum deviceType) in GetTestConfigAPIFromRenderer()
198 return GPUTestConfig::kAPID3D11; in GetTestConfigAPIFromRenderer()
200 return GPUTestConfig::kAPID3D9; in GetTestConfigAPIFromRenderer()
202 return GPUTestConfig::kAPIGLDesktop; in GetTestConfigAPIFromRenderer()
204 return GPUTestConfig::kAPIGLES; in GetTestConfigAPIFromRenderer()
208 return GPUTestConfig::kAPISwiftShader; in GetTestConfigAPIFromRenderer()
212 return GPUTestConfig::kAPIVulkan; in GetTestConfigAPIFromRenderer()
215 return GPUTestConfig::kAPIMetal; in GetTestConfigAPIFromRenderer()
218 return GPUTestConfig::kAPIUnknown; in GetTestConfigAPIFromRenderer()
622 angle::GPUTestConfig::API api = GetTestConfigAPIFromRenderer(mCurrentParams->getRenderer(), in ANGLETestSetUp()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
DTestSuite.h149 bool loadTestExpectationsFromFileWithConfig(const GPUTestConfig &config,
154 int32_t getTestExpectationWithConfigAndUpdateTimeout(const GPUTestConfig &config,
DTestSuite.cpp1141 const GPUTestConfig testConfig = GPUTestConfig(); in TestSuite()
1146 const GPUTestConfig::ConditionArray &conditions = testConfig.getConditions(); in TestSuite()
1147 if (conditions[GPUTestConfig::kConditionAMD]) in TestSuite()
1151 else if (conditions[GPUTestConfig::kConditionNVIDIA]) in TestSuite()
1155 else if (conditions[GPUTestConfig::kConditionIntel]) in TestSuite()
1159 else if (conditions[GPUTestConfig::kConditionApple]) in TestSuite()
1990 bool TestSuite::loadTestExpectationsFromFileWithConfig(const GPUTestConfig &config, in loadTestExpectationsFromFileWithConfig()
2042 int32_t TestSuite::getTestExpectationWithConfigAndUpdateTimeout(const GPUTestConfig &config, in getTestExpectationWithConfigAndUpdateTimeout()
/third_party/skia/third_party/externals/angle2/src/tests/
DBUILD.gn52 "test_expectations/GPUTestConfig.cpp",
53 "test_expectations/GPUTestConfig.h",