Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp118 auto surfaceLayer1 = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
119 surfaceLayer1->getCanvas()->drawColor(SK_ColorWHITE, SkBlendMode::kSrcOver); in RENDERTHREAD_SKIA_PIPELINE_TEST()
120 ASSERT_EQ(TestUtils::getColor(surfaceLayer1, 0, 0), SK_ColorWHITE); in RENDERTHREAD_SKIA_PIPELINE_TEST()
121 redNode->setLayerSurface(surfaceLayer1); in RENDERTHREAD_SKIA_PIPELINE_TEST()
148 ASSERT_EQ(TestUtils::getColor(surfaceLayer1, 0, 0), SK_ColorRED); in RENDERTHREAD_SKIA_PIPELINE_TEST()
DRenderNodeDrawableTests.cpp530 sk_sp<SkSurface> surfaceLayer1(new ProjectionLayer(&drawCounter)); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
531 child->setLayerSurface(surfaceLayer1); in RENDERTHREAD_SKIA_PIPELINE_TEST()
543 RenderNodeDrawable drawable(parent.get(), surfaceLayer1->getCanvas(), true); in RENDERTHREAD_SKIA_PIPELINE_TEST()
544 surfaceLayer1->getCanvas()->drawDrawable(&drawable); in RENDERTHREAD_SKIA_PIPELINE_TEST()