From 51bbf779ba2c9d5954e2c9470a8eae7c1ddd38a5 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 7 Jun 2022 13:47:35 +0100 Subject: Switch from using (E)GL to wl_shm. eglInitialize() is slow (~50-100ms), and uses a fair amount of memory (~100 MB). For such a small, simple program that just wants to launch as quickly as possible, wl_shm performs better. --- src/image.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/image.h') diff --git a/src/image.h b/src/image.h index a66e0cb..2afaa4d 100644 --- a/src/image.h +++ b/src/image.h @@ -8,7 +8,6 @@ struct image { uint8_t *buffer; uint32_t width; uint32_t height; - bool swizzle; bool redraw; struct { uint32_t x; -- cgit v1.2.3