Searched refs:GrProgramDescTest (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 204 #define GrProgramDescTest(a) (*SkData::MakeWithCString(#a).get()) macro 226 ASSERT_EQ(ShaderCache::get().load(GrProgramDescTest(432)), sk_sp<SkData>()); in TEST() 231 ShaderCache::get().store(GrProgramDescTest(100), *inVS.get(), SkString()); in TEST() 233 ShaderCache::get().store(GrProgramDescTest(432), *inVS.get(), SkString()); in TEST() 234 ASSERT_NE((outVS = ShaderCache::get().load(GrProgramDescTest(100))), sk_sp<SkData>()); in TEST() 236 ASSERT_NE((outVS = ShaderCache::get().load(GrProgramDescTest(432))), sk_sp<SkData>()); in TEST() 245 ASSERT_EQ(ShaderCache::get().load(GrProgramDescTest(432)), sk_sp<SkData>()); in TEST() 252 ASSERT_NE((outVS2 = ShaderCache::get().load(GrProgramDescTest(432))), sk_sp<SkData>()); in TEST() 257 ShaderCache::get().store(GrProgramDescTest(432), *inVS.get(), SkString()); in TEST() 260 ASSERT_NE((outVS2 = ShaderCache::get().load(GrProgramDescTest(432))), sk_sp<SkData>()); in TEST() [all …]
|