Home
last modified time | relevance | path

Searched refs:paintRects (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/painting/
DPaintAggregator.cpp164 for (size_t i = 0; i < paintRects.size(); ++i) in calculatePaintBounds()
165 bounds.unite(paintRects[i]); in calculatePaintBounds()
171 return !m_update.scrollRect.isEmpty() || !m_update.paintRects.isEmpty(); in hasPendingUpdate()
184 if (m_update.scrollRect.isEmpty() && m_update.paintRects.size() > 1) { in popPendingUpdate()
187 for (size_t i = 0; i < m_update.paintRects.size(); ++i) { in popPendingUpdate()
188 paintArea += calculateArea(m_update.paintRects[i]); in popPendingUpdate()
189 unionRect.unite(m_update.paintRects[i]); in popPendingUpdate()
202 for (size_t i = 0; i < m_update.paintRects.size(); ++i) { in invalidateRect()
203 const IntRect& existingRect = m_update.paintRects[i]; in invalidateRect()
209 m_update.paintRects.remove(i); in invalidateRect()
[all …]
DPaintAggregator.h64 WTF::Vector<blink::IntRect> paintRects; member
/external/chromium_org/third_party/WebKit/Source/web/tests/
DPaintAggregatorTest.cpp58 ASSERT_EQ(1U, update.paintRects.size()); in TEST()
60 EXPECT_EQ(rect, update.paintRects[0]); in TEST()
80 EXPECT_EQ(2U, update.paintRects.size()); in TEST()
105 ASSERT_EQ(1U, update.paintRects.size()); in TEST()
107 EXPECT_EQ(expectedBounds, update.paintRects[0]); in TEST()
122 EXPECT_TRUE(update.paintRects.isEmpty()); in TEST()
149 EXPECT_TRUE(update.paintRects.isEmpty()); in TEST()
196 ASSERT_EQ(1U, update.paintRects.size()); in TEST()
198 EXPECT_EQ(rect, update.paintRects[0]); in TEST()
217 EXPECT_EQ(1U, update.paintRects.size()); in TEST()
[all …]