#include <dirtyrects.h>
Public Types | |
| typedef Common::List< Common::Rect >::const_iterator | const_iterator |
Public Member Functions | |
| void | merge () |
| bool | empty () const |
| void | clear () |
| template<class... TArgs> | |
| void | emplace_back (TArgs &&...args) |
| void | push_back (const Common::Rect &r) |
| void | push_back (Common::Rect &&r) |
| const_iterator | begin () const |
| const_iterator | end () const |
Protected Member Functions | |
| bool | unionRectangle (Common::Rect &destRect, const Common::Rect &src1, const Common::Rect &src2) |
Protected Attributes | |
| Common::List< Common::Rect > | _dirtyRects |
This class keeps track of any areas of a surface that are updated by drawing calls.
Const-qualified list iterator.
|
protected |
Returns the union of two dirty area rectangles
| void Graphics::DirtyRectList::merge | ( | ) |
Merges together overlapping dirty areas of the screen
|
inline |
Returns true if there are no pending screen updates (dirty areas)
|
inline |
Clear the current dirty rects list
|
inline |
Adds a rectangle to the list of modified areas of the screen during the current frame
|
inline |
Adds a rectangle to the list of modified areas of the screen during the current frame
|
inline |
Adds a rectangle to the list of modified areas of the screen during the current frame
|
inline |
Return a const iterator to the start of the list. This can be used, for example, to iterate from the first element of the list to the last element of the list.
|
inline |
Return a const iterator to the end of the list.
|
protected |
List of affected areas of the screen