mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-16 22:05:45 -05:00
render/pass: implement antialiasing for fractional coordinates
Signed-off-by: Loukas Agorgianitis <loukas@agorgianitis.com>
This commit is contained in:
parent
5a49f2ae14
commit
e92d8a7a53
11 changed files with 170 additions and 20 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue