Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp435 ProjectionTestCanvas(int* drawCounter) in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
436 : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT), mDrawCounter(drawCounter) {} in RENDERTHREAD_SKIA_PIPELINE_TEST()
460 ProjectionLayer(int* drawCounter) in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
462 , mDrawCounter(drawCounter) {} in RENDERTHREAD_SKIA_PIPELINE_TEST()
527 int drawCounter = 0; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
530 sk_sp<SkSurface> surfaceLayer1(new ProjectionLayer(&drawCounter)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
541 EXPECT_EQ(1, drawCounter); // assert index 0 is drawn on the layer in RENDERTHREAD_SKIA_PIPELINE_TEST()
545 EXPECT_EQ(4, drawCounter); in RENDERTHREAD_SKIA_PIPELINE_TEST()