Redesign GLES2 renderer
This ports the GLES2 wlr_renderer
part of #319. This PR tries not to touch too much to the texture part, which will be redesigned in another PR.
-
Use GL_KHR_debug -
Remove global state -
Investigate if it's possible to remove some shaders (is the RGBX shader required at all?) -
Save output projection inwlr_renderer_begin
, remove it fromwlr_render_texture
. Should we apply it automatically when the user provides a matrix? -
Remove raw GL calls outside the renderer
Fixes #55 (closed) Updates #558 (closed)