[gtk/wip/baedert/gl-rework: 2/11] gl renderer: transform border outline like everything else
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/gl-rework: 2/11] gl renderer: transform border outline like everything else
- Date: Sun, 22 Dec 2019 10:43:08 +0000 (UTC)
commit 48e671bc32bb3eff5272296c1b29f50fffdfb683
Author: Timm Bäder <mail baedert org>
Date: Fri Dec 20 12:21:04 2019 +0100
gl renderer: transform border outline like everything else
gsk/gl/gskglrenderer.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 832fad1116..172e48b7b2 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -813,14 +813,7 @@ render_border_node (GskGLRenderer *self,
sort_border_sides (colors, indices);
/* Prepare outline */
- outline = *rounded_outline;
- ops_transform_bounds_modelview (builder, &outline.bounds, &outline.bounds);
-
- for (i = 0; i < 4; i ++)
- {
- outline.corner[i].width *= scale;
- outline.corner[i].height *= scale;
- }
+ outline = transform_rect (self, builder, rounded_outline);
ops_set_program (builder, &self->border_program);
ops_set_border_width (builder, widths);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]