[gtk/wip/baedert/for-master] gl renderer: Add some often needed debug code
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master] gl renderer: Add some often needed debug code
- Date: Fri, 29 Nov 2019 06:08:19 +0000 (UTC)
commit af326154df5b4cca17fcd2e2ec6913fe4f6ac776
Author: Timm Bäder <mail baedert org>
Date: Thu Nov 28 09:01:56 2019 +0100
gl renderer: Add some often needed debug code
gsk/gl/gskglrenderer.c | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index fa38078297..d6f5111ba0 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -1444,6 +1444,16 @@ blur_texture (GskGLRenderer *self,
{ { texture_to_blur_width, }, { 1, 1 }, },
});
+#if 0
+ {
+ static int k;
+ ops_dump_framebuffer (builder,
+ g_strdup_printf ("blurred%d.png", k++),
+ texture_to_blur_width,
+ texture_to_blur_height);
+ }
+#endif
+
ops_set_render_target (builder, prev_render_target);
ops_set_viewport (builder, &prev_viewport);
ops_set_projection (builder, &prev_projection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]