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.cpp502 if (CC_UNLIKELY(count < 2 || paint.nothingToDraw())) return; in drawPoints()
529 if (CC_UNLIKELY(count < 4 || paint.nothingToDraw())) return; in drawLines()
534 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawRect()
541 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawRegion()
547 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawRoundRect()
558 if (CC_UNLIKELY(radius <= 0 || paint.nothingToDraw())) return; in drawCircle()
563 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawOval()
570 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawArc()
582 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawPath()
824 if (count <= 0 || paint.nothingToDraw()) return; in drawGlyphs()
DRenderNode.h169 bool nothingToDraw() const { in nothingToDraw() function
/frameworks/base/libs/hwui/hwui/
DPaint.h74 bool nothingToDraw() const { return !mLooper && SkPaint::nothingToDraw(); } in nothingToDraw() function
DCanvas.cpp143 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawDoubleRoundRectXY()
160 if (CC_UNLIKELY(paint.nothingToDraw())) return; in drawDoubleRoundRectRadii()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp404 if (!nodes[0]->nothingToDraw()) { in renderFrameImpl()
436 if (!content.contains(backdrop) && !nodes[0]->nothingToDraw()) { in renderFrameImpl()
481 if (!nodes[index]->nothingToDraw()) { in renderFrameImpl()
DRenderNodeDrawable.cpp159 (renderNode->nothingToDraw() && mComposeLayer)) { in forceDraw()