Searched refs:checkShader (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 164 inline bool checkShader(const sk_sp<SkData>& shader1, const sk_sp<SkData>& shader2) { in checkShader() function 169 inline bool checkShader(const sk_sp<SkData>& shader, const char* program) { in checkShader() function 171 return checkShader(shader, shader2); in checkShader() 174 inline bool checkShader(const sk_sp<SkData>& shader, const std::string& program) { in checkShader() function 175 return checkShader(shader, program.c_str()); in checkShader() 179 bool checkShader(const sk_sp<SkData>& shader, std::vector<T>& program) { in checkShader() function 181 return checkShader(shader, shader2); in checkShader() 235 ASSERT_TRUE(checkShader(outVS, "sassas")); in TEST() 237 ASSERT_TRUE(checkShader(outVS, "someVS")); in TEST() 253 ASSERT_TRUE(checkShader(outVS2, "someVS")); in TEST() [all …]
|