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()
491 auto&& rectList = rectListClip->rectList; in serializeIntersectedClip()
493 rectList.set(mClipRect, Matrix4::identity()); in serializeIntersectedClip()
497 rectList.intersectWith(recordedClip->rect, recordedClipTransform); in serializeIntersectedClip()
504 rectList.intersectWith(tr.getBounds(), totalTransform); in serializeIntersectedClip()
507 rectListClip->rect = rectList.calculateBounds(); in serializeIntersectedClip()
521 auto&& rectList = getRectList(clip); in applyClip()
522 for (int i = 0; i < rectList.getTransformedRectanglesCount(); i++) { in applyClip()
523 auto&& tr = rectList.getTransformedRectangle(i); in applyClip()
DClipArea.h120 ClipRectList(const RectangleList& rectList) in ClipRectList()
122 , rectList(rectList) {} in ClipRectList()
123 RectangleList rectList; member
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()
/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()