diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-06-10 20:48:45 +0200 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-07-01 10:13:08 +0200 |
commit | d55b7939d6088e987d23ee1b8835cdaeecb55136 (patch) | |
tree | 1110f77cd1c8e38a76b8112ef664c1ade7dd4fe8 | |
parent | 98fd37e768789ce9008a539d79b6f79ada393b90 (diff) | |
download | efl-d55b7939d6088e987d23ee1b8835cdaeecb55136.tar.gz |
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
-rw-r--r-- | src/lib/evas/include/evas_common_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h index 4d9368b31b..509f7c93a8 100644 --- a/src/lib/evas/include/evas_common_private.h +++ b/src/lib/evas/include/evas_common_private.h @@ -948,12 +948,12 @@ struct _Tilebuf struct { short w, h; } tile_size; - int need_merge; list_t rects; struct { int x, y, w, h; } prev_add, prev_del; Eina_Bool strict_tiles : 1; + Eina_Bool need_merge : 1; #endif }; |