[gtk/wip/baedert/gl-rework: 5/7] 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: 5/7] gl renderer: transform border outline like everything else
- Date: Fri, 20 Dec 2019 14:05:35 +0000 (UTC)
commit 67216d3de5baf72957312cc554b8c60ac45be719
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 e1b9df0458..f9c786dae9 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]