Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp164 inline bool checkShader(const sk_sp<SkData>& shader1, const sk_sp<SkData>& shader2) { in checkShader() argument
165 return nullptr != shader1 && nullptr != shader2 && shader1->size() == shader2->size() && in checkShader()
166 0 == memcmp(shader1->data(), shader2->data(), shader1->size()); in checkShader()
410 constexpr char shader1[] = "sassas"; in RENDERTHREAD_TEST() local
419 setShader(inVS, shader1 + std::to_string(saveIteration)); in RENDERTHREAD_TEST()
436 ASSERT_TRUE(checkShader(outVS, shader1 + std::to_string(numIterations))); in RENDERTHREAD_TEST()