sdl2_frt/src/render/opengles2
Ryan C. Gordon ed10d9473f opengl: Build out full GL_LINES and respect the diamond-exit rule.
Likewise for the GLES1 and GLES2 renderers.

This solves the missing pixel at the end of a line and removes all the
heuristics for various platforms/drivers. It's possible we could still use
GL_LINE_STRIP with this and save some vertex buffer space, assuming this
doesn't upset some driver somewhere, but this seems to be a clean fix that
makes the GL renderers match the software renderer output.

Diamond-exit rule explanation:
http://graphics-software-engineer.blogspot.com/2012/04/rasterization-rules.html

Fixes Bugzilla #3182.
2020-02-10 12:53:54 -05:00
..
SDL_gles2funcs.h Fixed build warnings on Android 2020-02-01 09:23:04 -08:00
SDL_render_gles2.c opengl: Build out full GL_LINES and respect the diamond-exit rule. 2020-02-10 12:53:54 -05:00
SDL_shaders_gles2.c Updated copyright date for 2020 2020-01-16 20:49:25 -08:00
SDL_shaders_gles2.h Updated copyright date for 2020 2020-01-16 20:49:25 -08:00