Home
last modified time | relevance | path

Searched refs:RectangleList (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/
DClipArea.cpp79 RectangleList::RectangleList() in RectangleList() function in android::uirenderer::RectangleList
83 bool RectangleList::isEmpty() const { in isEmpty()
96 int RectangleList::getTransformedRectanglesCount() const { in getTransformedRectanglesCount()
100 const TransformedRectangle& RectangleList::getTransformedRectangle(int i) const { in getTransformedRectangle()
104 void RectangleList::setEmpty() { in setEmpty()
108 void RectangleList::set(const Rect& bounds, const Matrix4& transform) { in set()
113 bool RectangleList::intersectWith(const Rect& bounds, in intersectWith()
138 Rect RectangleList::calculateBounds() const { in calculateBounds()
162 SkRegion RectangleList::convertToRegion(const SkRegion& clip) const { in convertToRegion()
179 void RectangleList::transform(const Matrix4& transform) { in transform()
[all …]
DClipArea.h66 class RectangleList {
68 RectangleList();
93 RectangleList, enumerator
120 ClipRectList(const RectangleList& rectList) in ClipRectList()
121 : ClipBase(ClipMode::RectangleList) in ClipRectList()
123 RectangleList rectList;
161 const RectangleList& getRectangleList() const { in getRectangleList()
174 return mMode == ClipMode::RectangleList; in isRectangleList()
236 RectangleList mRectangleList;
DBakedOpRenderer.cpp244 …LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::RectangleList, "can't rectlist clip without rectlist"); in setupStencilRectList()
321 if (clip->mode == ClipMode::RectangleList) { in prepareRender()
330 if (CC_LIKELY(clip->mode == ClipMode::RectangleList)) { in prepareRender()
DOpenGLRenderer.h395 void drawRectangleList(const RectangleList& rectangleList);
DOpenGLRenderer.cpp1239 void OpenGLRenderer::drawRectangleList(const RectangleList& rectangleList) { in drawRectangleList()
/frameworks/base/libs/hwui/tests/unit/
DClipAreaTests.cpp60 TEST(RectangleList, basics) { in TEST() argument
61 RectangleList list; in TEST()
148 ASSERT_EQ(ClipMode::RectangleList, serializedClip->mode); in TEST()
227 ASSERT_EQ(ClipMode::RectangleList, resolvedClip->mode); in TEST()