From 5f9941b1ebb6ebecfe6db51a2407582e7fa83b50 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Wed, 10 Jun 2020 20:48:45 +0200 Subject: [PATCH] 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 Differential Revision: https://phab.enlightenment.org/D11998 --- src/lib/evas/include/evas_common_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h index 17fb52e..18f2012 100644 --- a/src/lib/evas/include/evas_common_private.h +++ b/src/lib/evas/include/evas_common_private.h @@ -989,12 +989,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 }; -- 2.7.4