Home
last modified time | relevance | path

Searched refs:rectList (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp275 uint32_t numOverlays(list<Rectangle>& rectList);
343 list<Rectangle> rectList; in main() local
451 rectList.clear(); in main()
452 rectList.push_back(rect); in main()
453 measPtr->startDimOverlays = numOverlays(rectList); in main()
641 list<Rectangle> rectList; in maxOverlays() local
655 rectList.push_back(rect); in maxOverlays()
657 if (rectList.size() >= numRects) { break; } in maxOverlays()
659 if (rectList.size() >= numRects) { break; } in maxOverlays()
662 uint32_t num = numOverlays(rectList); in maxOverlays()
[all …]
/frameworks/base/libs/hwui/
DClipArea.cpp396 return reinterpret_cast<const ClipRectList*>(scb)->rectList; in getRectList()
488 auto&& rectList = rectListClip->rectList; in serializeIntersectedClip()
490 rectList.set(mClipRect, Matrix4::identity()); in serializeIntersectedClip()
494 rectList.intersectWith(recordedClip->rect, recordedClipTransform); in serializeIntersectedClip()
501 rectList.intersectWith(tr.getBounds(), totalTransform); in serializeIntersectedClip()
504 rectListClip->rect = rectList.calculateBounds(); in serializeIntersectedClip()
518 auto&& rectList = getRectList(clip); in applyClip()
519 for (int i = 0; i < rectList.getTransformedRectanglesCount(); i++) { in applyClip()
520 auto&& tr = rectList.getTransformedRectangle(i); in applyClip()
DBakedOpRenderer.cpp245 auto&& rectList = reinterpret_cast<const ClipRectList*>(clip)->rectList; in setupStencilRectList()
246 int quadCount = rectList.getTransformedRectanglesCount(); in setupStencilRectList()
250 const TransformedRectangle& tr(rectList.getTransformedRectangle(i)); in setupStencilRectList()
274 setupStencilQuads(rectangleVertices, rectList.getTransformedRectanglesCount()); in setupStencilRectList()
331 auto&& rectList = reinterpret_cast<const ClipRectList*>(clip)->rectList; in prepareRender()
332 incrementThreshold = rectList.getTransformedRectanglesCount(); in prepareRender()
DClipArea.h120 ClipRectList(const RectangleList& rectList) in ClipRectList()
122 , rectList(rectList) {} in ClipRectList()
123 RectangleList rectList; member
/frameworks/base/libs/hwui/tests/unit/
DClipAreaTests.cpp151 EXPECT_EQ(2, clipRectList->rectList.getTransformedRectanglesCount()); in TEST()
229 EXPECT_EQ(2, clipRectList->rectList.getTransformedRectanglesCount()); in TEST()