From 1a9569912879f52c69a6f301719e5b543fe86cc6 Mon Sep 17 00:00:00 2001 From: datenwolf <@datenwolf.net> Date: Thu, 3 Jul 2025 00:19:42 +0200 Subject: base commit, SDL2, EGL and OpenGL-ES 2 setup, texture upload and basic de-Bayer --- debayer.vs.glsl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 debayer.vs.glsl (limited to 'debayer.vs.glsl') diff --git a/debayer.vs.glsl b/debayer.vs.glsl new file mode 100644 index 0000000..149b18c --- /dev/null +++ b/debayer.vs.glsl @@ -0,0 +1,6 @@ +attribute highp vec2 a_position; +varying highp vec2 v_position; +void main(){ + v_position = a_position; + gl_Position = vec4(vec2(-1.)+2.*a_position, 0., 1.); +} -- cgit v1.3.1