Lines Matching refs:GrProgramDescTest

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()
268 ShaderCache::get().store(GrProgramDescTest(432), *inVS.get(), SkString()); in TEST()
271 ASSERT_NE((outVS2 = ShaderCache::get().load(GrProgramDescTest(432))), sk_sp<SkData>()); in TEST()
420 ShaderCache::get().store(GrProgramDescTest(100), *inVS.get(), SkString()); in RENDERTHREAD_TEST()
422 ShaderCache::get().store(GrProgramDescTest(432), *inVS.get(), SkString()); in RENDERTHREAD_TEST()
435 ASSERT_NE((outVS = ShaderCache::get().load(GrProgramDescTest(100))), sk_sp<SkData>()); in RENDERTHREAD_TEST()
437 ASSERT_NE((outVS = ShaderCache::get().load(GrProgramDescTest(432))), sk_sp<SkData>()); in RENDERTHREAD_TEST()