Home
last modified time | relevance | path

Searched refs:nothingToDraw (Results 1 – 6 of 6) 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.cpp459 if (CC_UNLIKELY(count < 2 || paint.nothingToDraw())) return; in drawPoints()
484 if (CC_UNLIKELY(count < 4 || paint.nothingToDraw())) return; in drawLines()
489 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawRect()
494 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawRegion()
500 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawRoundRect()
511 if (CC_UNLIKELY(radius <= 0 || paint.nothingToDraw())) return; in drawCircle()
516 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawOval()
523 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawArc()
533 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawPath()
697 if (count <= 0 || paint.nothingToDraw()) return; in drawGlyphs()
DRenderNode.h167 bool nothingToDraw() const { in nothingToDraw() function
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp346 if (!nodes[0]->nothingToDraw()) { in renderFrameImpl()
378 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) { in renderFrameImpl()
423 if (!nodes[index]->nothingToDraw()) { in renderFrameImpl()
DRenderNodeDrawable.cpp144 (renderNode->nothingToDraw() && mComposeLayer)) { in forceDraw()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp181 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawDoubleRoundRectXY()
198 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawDoubleRoundRectRadii()