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.cpp380 return reinterpret_cast<const ClipRectList*>(scb)->rectList; in getRectList()
470 auto&& rectList = rectListClip->rectList; in serializeIntersectedClip()
472 rectList.set(mClipRect, Matrix4::identity()); in serializeIntersectedClip()
476 rectList.intersectWith(recordedClip->rect, recordedClipTransform); in serializeIntersectedClip()
483 rectList.intersectWith(tr.getBounds(), totalTransform); in serializeIntersectedClip()
486 rectListClip->rect = rectList.calculateBounds(); in serializeIntersectedClip()
500 auto&& rectList = getRectList(clip); in applyClip()
501 for (int i = 0; i < rectList.getTransformedRectanglesCount(); i++) { in applyClip()
502 auto&& tr = rectList.getTransformedRectangle(i); in applyClip()
DBakedOpRenderer.cpp241 auto&& rectList = reinterpret_cast<const ClipRectList*>(clip)->rectList; in setupStencilRectList()
242 int quadCount = rectList.getTransformedRectanglesCount(); in setupStencilRectList()
246 const TransformedRectangle& tr(rectList.getTransformedRectangle(i)); in setupStencilRectList()
270 setupStencilQuads(rectangleVertices, rectList.getTransformedRectanglesCount()); in setupStencilRectList()
327 auto&& rectList = reinterpret_cast<const ClipRectList*>(clip)->rectList; in prepareRender()
328 incrementThreshold = rectList.getTransformedRectanglesCount(); in prepareRender()
DClipArea.h110 explicit ClipRectList(const RectangleList& rectList) in ClipRectList()
111 : ClipBase(ClipMode::RectangleList), rectList(rectList) {} in ClipRectList()
112 RectangleList rectList; member
/frameworks/base/libs/hwui/tests/unit/
DClipAreaTests.cpp151 EXPECT_EQ(2, clipRectList->rectList.getTransformedRectanglesCount()); in TEST()
233 EXPECT_EQ(2, clipRectList->rectList.getTransformedRectanglesCount()); in TEST()