summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-06-10 20:48:45 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-07-01 09:24:51 +0200
commit39ba6b6fb64d9a169f9944c81a1c3696fbe21e02 (patch)
tree1110f77cd1c8e38a76b8112ef664c1ade7dd4fe8
parent99c9791a822955ce2f652379662fdadebe880a74 (diff)
evas_common_privat: improve tiler merge flagdevs/bu5hm4n/travis
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. Differential Revision: https://phab.enlightenment.org/D11998
-rw-r--r--src/lib/evas/include/evas_common_private.h2
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
948 struct { 948 struct {
949 short w, h; 949 short w, h;
950 } tile_size; 950 } tile_size;
951 int need_merge;
952 list_t rects; 951 list_t rects;
953 struct { 952 struct {
954 int x, y, w, h; 953 int x, y, w, h;
955 } prev_add, prev_del; 954 } prev_add, prev_del;
956 Eina_Bool strict_tiles : 1; 955 Eina_Bool strict_tiles : 1;
956 Eina_Bool need_merge : 1;
957#endif 957#endif
958}; 958};
959 959