Home
last modified time | relevance | path

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

/external/angle/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.cpp120 condition(GPUTestConfig::kConditionNone), in TokenInfo()
125 GPUTestConfig::Condition conditionIn, in TokenInfo()
130 constexpr TokenInfo(const char *nameIn, GPUTestConfig::Condition conditionIn) in TokenInfo()
135 GPUTestConfig::Condition condition;
140 {"xp", GPUTestConfig::kConditionWinXP},
141 {"vista", GPUTestConfig::kConditionWinVista},
142 {"win7", GPUTestConfig::kConditionWin7},
143 {"win8", GPUTestConfig::kConditionWin8},
144 {"win10", GPUTestConfig::kConditionWin10},
145 {"win", GPUTestConfig::kConditionWin},
[all …]
DGPUTestConfig.cpp507 inline bool IsD3D9(const GPUTestConfig::API &api) in IsD3D9()
509 return (api == GPUTestConfig::kAPID3D9); in IsD3D9()
513 inline bool IsD3D11(const GPUTestConfig::API &api) in IsD3D11()
515 return (api == GPUTestConfig::kAPID3D11); in IsD3D11()
519 inline bool IsGLDesktop(const GPUTestConfig::API &api) in IsGLDesktop()
521 return (api == GPUTestConfig::kAPIGLDesktop); in IsGLDesktop()
525 inline bool IsGLES(const GPUTestConfig::API &api) in IsGLES()
527 return (api == GPUTestConfig::kAPIGLES); in IsGLES()
531 inline bool IsVulkan(const GPUTestConfig::API &api) in IsVulkan()
533 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
78 using ConditionArray = angle::BitSet<GPUTestConfig::kNumberOfConditions>; argument
80 GPUTestConfig();
81 GPUTestConfig(bool isSwiftShader);
82 GPUTestConfig(const API &api, uint32_t preRotation);
84 const GPUTestConfig::ConditionArray &getConditions() const;
87 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++
/external/angle/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 …]
/external/angle/src/tests/test_utils/
DANGLETest.cpp188 GPUTestConfig::API GetTestConfigAPIFromRenderer(EGLenum renderer, EGLenum deviceType) in GetTestConfigAPIFromRenderer()
193 return GPUTestConfig::kAPID3D11; in GetTestConfigAPIFromRenderer()
195 return GPUTestConfig::kAPID3D9; in GetTestConfigAPIFromRenderer()
197 return GPUTestConfig::kAPIGLDesktop; in GetTestConfigAPIFromRenderer()
199 return GPUTestConfig::kAPIGLES; in GetTestConfigAPIFromRenderer()
203 return GPUTestConfig::kAPISwiftShader; in GetTestConfigAPIFromRenderer()
207 return GPUTestConfig::kAPIVulkan; in GetTestConfigAPIFromRenderer()
210 return GPUTestConfig::kAPIMetal; in GetTestConfigAPIFromRenderer()
213 return GPUTestConfig::kAPIUnknown; in GetTestConfigAPIFromRenderer()
570 angle::GPUTestConfig::API api = GetTestConfigAPIFromRenderer(mCurrentParams->getRenderer(), in ANGLETestSetUp()
[all …]
/external/angle/src/tests/test_utils/runner/
DTestSuite.h149 bool loadTestExpectationsFromFileWithConfig(const GPUTestConfig &config,
153 int32_t getTestExpectationWithConfig(const GPUTestConfig &config, const std::string &testName);
DTestSuite.cpp1908 bool TestSuite::loadTestExpectationsFromFileWithConfig(const GPUTestConfig &config, in loadTestExpectationsFromFileWithConfig()
1951 int32_t TestSuite::getTestExpectationWithConfig(const GPUTestConfig &config, in getTestExpectationWithConfig()
/external/angle/src/tests/
DBUILD.gn51 "test_expectations/GPUTestConfig.cpp",
52 "test_expectations/GPUTestConfig.h",