Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DRenderNodeTests.cpp79 EXPECT_TRUE(child->nothingToDraw()); in TEST()
80 EXPECT_TRUE(parent->nothingToDraw()); in TEST()
86 EXPECT_FALSE(child->nothingToDraw()); in TEST()
87 EXPECT_FALSE(parent->nothingToDraw()); in TEST()
95 EXPECT_FALSE(child->nothingToDraw()); in TEST()
96 EXPECT_FALSE(parent->nothingToDraw()); in TEST()
102 EXPECT_TRUE(child->nothingToDraw()); in TEST()
103 EXPECT_FALSE(parent->nothingToDraw()); in TEST()
110 EXPECT_TRUE(child->nothingToDraw()); in TEST()
119 EXPECT_FALSE(child->nothingToDraw()); in TEST()
[all …]
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp462 if (CC_UNLIKELY(count < 2 || paint.nothingToDraw())) return; in drawPoints()
494 if (CC_UNLIKELY(count < 4 || paint.nothingToDraw())) return; in drawLines()
499 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawRect()
506 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawRegion()
514 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawRoundRect()
529 if (CC_UNLIKELY(radius <= 0 || paint.nothingToDraw())) return; in drawCircle()
536 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawOval()
545 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawArc()
557 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawPath()
734 if (count <= 0 || paint.nothingToDraw()) return; in drawGlyphs()
DRenderNode.h169 bool nothingToDraw() const { in nothingToDraw() function
/frameworks/base/libs/hwui/hwui/
DPaint.h71 bool nothingToDraw() const { return !mLooper && SkPaint::nothingToDraw(); } in nothingToDraw() function
DCanvas.cpp175 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawDoubleRoundRectXY()
192 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawDoubleRoundRectRadii()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp488 if (!nodes[0]->nothingToDraw()) { in renderFrameImpl()
520 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) { in renderFrameImpl()
565 if (!nodes[index]->nothingToDraw()) { in renderFrameImpl()
DRenderNodeDrawable.cpp143 (renderNode->nothingToDraw() && mComposeLayer)) { in forceDraw()