Home | History | Annotate | Download | only in libagl

Lines Matching defs:Rect

243     struct Rect {
244 inline Rect() { };
245 inline Rect(int32_t w, int32_t h)
247 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b)
249 Rect& andSelf(const Rect& r) {
272 typedef Rect const* const_iterator;
275 static Region subtract(const Rect& lhs, const Rect& rhs) {
277 Rect* storage = reg.storage;
279 if (lhs.top < rhs.top) { // top rect
289 if (lhs.left < rhs.left) { // left-side rect
296 if (lhs.right > rhs.right) { // right-side rect
304 if (lhs.bottom > rhs.bottom) { // bottom rect
319 Rect storage[4];
329 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) {
332 *reinterpret_cast<Rect*>(rect) = *me->b++;
346 Rect dirtyRegion;
347 Rect oldDirtyRegion;
516 const Rect& r(*cur++);
547 dirtyRegion.andSelf(Rect(buffer->width, buffer->height));
582 // TODO: we probably should reset the swap rect here
620 dirtyRegion = Rect(l, t, l+w, t+h);