Lines Matching refs:mDrawCounter
98 EXPECT_EQ(expectedOrder, mDrawCounter++) << "An op was drawn out of order"; in onDrawRect()
100 int getIndex() { return mDrawCounter; } in getIndex()
103 int mDrawCounter = 0; member in __anonf05526e20211::ZReorderCanvas
242 const int index = mDrawCounter++; in RENDERTHREAD_TEST()
271 int getIndex() { return mDrawCounter; } in RENDERTHREAD_TEST()
274 int mDrawCounter = 0; in RENDERTHREAD_TEST() member in RENDERTHREAD_TEST::ProjectionTestCanvas
359 void onDrawRect(const SkRect& rect, const SkPaint& paint) override { mDrawCounter++; } in RENDERTHREAD_SKIA_PIPELINE_TEST()
361 int getDrawCounter() { return mDrawCounter; } in RENDERTHREAD_SKIA_PIPELINE_TEST()
364 int mDrawCounter = 0; in RENDERTHREAD_SKIA_PIPELINE_TEST() member in RENDERTHREAD_SKIA_PIPELINE_TEST::ProjectionTestCanvas
436 : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT), mDrawCounter(drawCounter) {} in RENDERTHREAD_SKIA_PIPELINE_TEST()
439 EXPECT_EQ(0, (*mDrawCounter)++); // part of painting the layer in RENDERTHREAD_SKIA_PIPELINE_TEST()
444 EXPECT_EQ(1, (*mDrawCounter)++); in RENDERTHREAD_SKIA_PIPELINE_TEST()
449 EXPECT_EQ(2, (*mDrawCounter)++); in RENDERTHREAD_SKIA_PIPELINE_TEST()
455 int* mDrawCounter; in RENDERTHREAD_SKIA_PIPELINE_TEST() member in RENDERTHREAD_SKIA_PIPELINE_TEST::ProjectionTestCanvas
462 , mDrawCounter(drawCounter) {} in RENDERTHREAD_SKIA_PIPELINE_TEST()
464 EXPECT_EQ(3, (*mDrawCounter)++); in RENDERTHREAD_SKIA_PIPELINE_TEST()
470 SkCanvas* onNewCanvas() override { return new ProjectionTestCanvas(mDrawCounter); } in RENDERTHREAD_SKIA_PIPELINE_TEST()
473 int* mDrawCounter; in RENDERTHREAD_SKIA_PIPELINE_TEST() member in RENDERTHREAD_SKIA_PIPELINE_TEST::ProjectionLayer
567 EXPECT_EQ(0, mDrawCounter++); in RENDERTHREAD_TEST()
571 EXPECT_EQ(1, mDrawCounter++); in RENDERTHREAD_TEST()
575 int mDrawCounter = 0; in RENDERTHREAD_TEST() member in RENDERTHREAD_TEST::ProjectionChildScrollTestCanvas
630 EXPECT_EQ(2, canvas->mDrawCounter); in RENDERTHREAD_TEST()
939 EXPECT_EQ(0, mDrawCounter++); in RENDERTHREAD_TEST()
943 EXPECT_EQ(1, mDrawCounter++); in RENDERTHREAD_TEST()
958 EXPECT_EQ(2, canvas.mDrawCounter); in RENDERTHREAD_TEST()
968 switch (mDrawCounter++) { in RENDERTHREAD_TEST()
996 EXPECT_EQ(1, canvas.mDrawCounter); in RENDERTHREAD_TEST()
999 EXPECT_EQ(2, canvas.mDrawCounter); in RENDERTHREAD_TEST()
1009 switch (mDrawCounter++) { in TEST()
1048 EXPECT_EQ(2, canvas.mDrawCounter); in TEST()
1063 mDrawCounter++; in RENDERTHREAD_SKIA_PIPELINE_TEST()
1081 EXPECT_EQ(1, canvas.mDrawCounter); // make sure the layer was composed in RENDERTHREAD_SKIA_PIPELINE_TEST()
1100 int getDrawCounter() { return mDrawCounter; } in TEST()
1108 mDrawCounter++; in TEST()
1114 mDrawCounter++; in TEST()
1122 mDrawCounter++; in TEST()
1138 int mDrawCounter = 0; in TEST() member in TEST::ShadowTestCanvas
1178 const int index = mDrawCounter++; in RENDERTHREAD_SKIA_PIPELINE_TEST()
1210 EXPECT_EQ(2, canvas.mDrawCounter); in RENDERTHREAD_SKIA_PIPELINE_TEST()