Searched refs:mDrawCounter (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | RenderNodeDrawableTests.cpp | 101 EXPECT_EQ(expectedOrder, mDrawCounter++) << "An op was drawn out of order"; in onDrawRect() 103 int getIndex() { return mDrawCounter; } in getIndex() 106 int mDrawCounter = 0; member in __anonecdd39fb0211::ZReorderCanvas 245 const int index = mDrawCounter++; in RENDERTHREAD_TEST() 274 int getIndex() { return mDrawCounter; } in RENDERTHREAD_TEST() 277 int mDrawCounter = 0; in RENDERTHREAD_TEST() member in RENDERTHREAD_TEST::ProjectionTestCanvas 362 void onDrawRect(const SkRect& rect, const SkPaint& paint) override { mDrawCounter++; } in RENDERTHREAD_TEST() 364 int getDrawCounter() { return mDrawCounter; } in RENDERTHREAD_TEST() 367 int mDrawCounter = 0; in RENDERTHREAD_TEST() member in RENDERTHREAD_TEST::ProjectionTestCanvas 439 : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT), mDrawCounter(drawCounter) {} in RENDERTHREAD_TEST() [all …]
|
D | SkiaPipelineTests.cpp | 236 switch (mDrawCounter++) { in RENDERTHREAD_TEST() 262 int mDrawCounter = 0; in RENDERTHREAD_TEST() member in RENDERTHREAD_TEST::DeferTestCanvas 297 EXPECT_EQ(4, surface->canvas()->mDrawCounter); in RENDERTHREAD_TEST() 309 EXPECT_EQ(0, mDrawCounter++); in RENDERTHREAD_TEST() 313 int mDrawCounter = 0; in RENDERTHREAD_TEST() member in RENDERTHREAD_TEST::ClippedTestCanvas 330 EXPECT_EQ(1, surface->canvas()->mDrawCounter); in RENDERTHREAD_TEST() 345 EXPECT_EQ(0, mDrawCounter++); in RENDERTHREAD_TEST() 352 int mDrawCounter = 0; in RENDERTHREAD_TEST() member in RENDERTHREAD_TEST::ClippedTestCanvas 368 EXPECT_EQ(1, surface->canvas()->mDrawCounter); in RENDERTHREAD_TEST() 378 EXPECT_EQ(0, mDrawCounter++); in RENDERTHREAD_TEST() [all …]
|
D | SkiaRenderPropertiesTests.cpp | 52 EXPECT_EQ(mDrawCounter++, 0); in testProperty() 73 EXPECT_EQ(1, canvas.mDrawCounter); in testProperty()
|
D | FatalTestCanvas.h | 94 int mDrawCounter = 0; // counts how may draw calls of any kind were made to this canvas variable
|