Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp98 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()
[all …]
DSkiaPipelineTests.cpp235 switch (mDrawCounter++) { in RENDERTHREAD_SKIA_PIPELINE_TEST()
261 int mDrawCounter = 0; in RENDERTHREAD_SKIA_PIPELINE_TEST() member in RENDERTHREAD_SKIA_PIPELINE_TEST::DeferTestCanvas
296 EXPECT_EQ(4, surface->canvas()->mDrawCounter); in RENDERTHREAD_SKIA_PIPELINE_TEST()
307 EXPECT_EQ(0, mDrawCounter++); in RENDERTHREAD_SKIA_PIPELINE_TEST()
311 int mDrawCounter = 0; in RENDERTHREAD_SKIA_PIPELINE_TEST() member in RENDERTHREAD_SKIA_PIPELINE_TEST::ClippedTestCanvas
328 EXPECT_EQ(1, surface->canvas()->mDrawCounter); in RENDERTHREAD_SKIA_PIPELINE_TEST()
342 EXPECT_EQ(0, mDrawCounter++); in RENDERTHREAD_SKIA_PIPELINE_TEST()
349 int mDrawCounter = 0; in RENDERTHREAD_SKIA_PIPELINE_TEST() member in RENDERTHREAD_SKIA_PIPELINE_TEST::ClippedTestCanvas
365 EXPECT_EQ(1, surface->canvas()->mDrawCounter); in RENDERTHREAD_SKIA_PIPELINE_TEST()
375 EXPECT_EQ(0, mDrawCounter++); in RENDERTHREAD_SKIA_PIPELINE_TEST()
[all …]
DSkiaRenderPropertiesTests.cpp51 EXPECT_EQ(mDrawCounter++, 0); in testProperty()
72 EXPECT_EQ(1, canvas.mDrawCounter); in testProperty()
DFatalTestCanvas.h96 int mDrawCounter = 0; // counts how may draw calls of any kind were made to this canvas variable