forked from enlightenment/efl
evas_common_privat: improve tiler merge flag
when this is a int and you assign 0, the whole "0" for the entire int is moved. When this is a bit flag like this, it is a simple | operation, which makes the whole thing somehow faster. Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11998
This commit is contained in:
parent
98fd37e768
commit
d55b7939d6
|
@ -948,12 +948,12 @@ struct _Tilebuf
|
||||||
struct {
|
struct {
|
||||||
short w, h;
|
short w, h;
|
||||||
} tile_size;
|
} tile_size;
|
||||||
int need_merge;
|
|
||||||
list_t rects;
|
list_t rects;
|
||||||
struct {
|
struct {
|
||||||
int x, y, w, h;
|
int x, y, w, h;
|
||||||
} prev_add, prev_del;
|
} prev_add, prev_del;
|
||||||
Eina_Bool strict_tiles : 1;
|
Eina_Bool strict_tiles : 1;
|
||||||
|
Eina_Bool need_merge : 1;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue