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. --- shaders/vert.vert | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 shaders/vert.vert (limited to 'shaders/vert.vert') diff --git a/shaders/vert.vert b/shaders/vert.vert deleted file mode 100644 index 3364718..0000000 --- a/shaders/vert.vert +++ /dev/null @@ -1,24 +0,0 @@ -#version 100 - -/* - * Copyright (C) 2017-2020 Philip Jones - * - * Licensed under the MIT License. - * See either the LICENSE file, or: - * - * https://opensource.org/licenses/MIT - * - */ - -precision lowp float; - -attribute vec2 position; -attribute vec2 texcoord; - -varying vec2 Texcoord; - -void main() -{ - Texcoord = texcoord; - gl_Position = vec4(position, 0.0, 1.0); -} -- cgit v1.2.3