[gtk/wip/baedert/for-master: 32/36] gl renderer: Properly y-flip non-offscreen children of rounded clips
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 32/36] gl renderer: Properly y-flip non-offscreen children of rounded clips
- Date: Sun, 17 Jan 2021 03:45:13 +0000 (UTC)
commit 650eed7f72193c7cbf21cc94eb6d81235e96c589
Author: Timm Bäder <mail baedert org>
Date: Sun Jan 10 19:21:12 2021 +0100
gl renderer: Properly y-flip non-offscreen children of rounded clips
gsk/gl/gskglrenderer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 89cc3684ce..9d38e4787a 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -1779,7 +1779,8 @@ render_rounded_clip_node (GskGLRenderer *self,
ops_set_program (builder, &self->programs->blit_program);
ops_set_texture (builder, region.texture_id);
- load_offscreen_vertex_data (ops_draw (builder, NULL), node, builder);
+ load_vertex_data_with_region (ops_draw (builder, NULL), &node->bounds, builder,
+ ®ion, is_offscreen);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]