add nr_dirty_rcs field and use unsigned int for dirty_age

This commit is contained in:
Vincent Wei
2020-01-21 12:07:25 +08:00
parent 21866051b5
commit 4dec634bd9

View File

@@ -139,10 +139,13 @@ typedef struct _SharedSurfaceHeader {
int byhw;
/* the dirty sync age */
unsigned long dirty_age;
unsigned int dirty_age;
/* the number of dirty rects */
int nr_dirty_rcs;
/* the dirty rectangles */
GAL_Rect dirty_rcs [NR_DIRTY_RECTS];
RECT dirty_rcs [NR_DIRTY_RECTS];
/* the size of the surface */
int width, height;