render/pass: implement antialiasing for fractional coordinates

Signed-off-by: Loukas Agorgianitis <loukas@agorgianitis.com>
This commit is contained in:
Loukas Agorgianitis 2026-01-08 22:40:20 +02:00
parent 5a49f2ae14
commit e92d8a7a53
No known key found for this signature in database
GPG key ID: DDC6FA7D5BB332E6
11 changed files with 170 additions and 20 deletions

View file

@ -35,6 +35,7 @@ struct wlr_gles2_tex_shader {
GLint tex;
GLint alpha;
GLint pos_attrib;
GLint dst_bounds;
};
struct wlr_gles2_renderer {
@ -79,6 +80,7 @@ struct wlr_gles2_renderer {
GLint proj;
GLint color;
GLint pos_attrib;
GLint dst_bounds;
} quad;
struct wlr_gles2_tex_shader tex_rgba;
struct wlr_gles2_tex_shader tex_rgbx;