[gtk/wip/chergert/glproto: 92/94] add renderer to node-editor
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 92/94] add renderer to node-editor
- Date: Fri, 1 Jan 2021 21:30:52 +0000 (UTC)
commit 644eec34da3d07541c45474aa79991181956d12b
Author: Christian Hergert <chergert redhat com>
Date: Wed Dec 30 16:27:32 2020 -0800
add renderer to node-editor
demos/node-editor/node-editor-window.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/demos/node-editor/node-editor-window.c b/demos/node-editor/node-editor-window.c
index bf1660d6f8..c995585ec5 100644
--- a/demos/node-editor/node-editor-window.c
+++ b/demos/node-editor/node-editor-window.c
@@ -25,6 +25,7 @@
#include "gsk/gskrendernodeparserprivate.h"
#include "gsk/gl/gskglrenderer.h"
+#include "gsk/next/gskglrenderer.h"
#ifdef GDK_WINDOWING_BROADWAY
#include "gsk/broadway/gskbroadwayrenderer.h"
#endif
@@ -752,6 +753,9 @@ node_editor_window_realize (GtkWidget *widget)
node_editor_window_add_renderer (self,
gsk_gl_renderer_new (),
"OpenGL");
+ node_editor_window_add_renderer (self,
+ gsk_next_renderer_new (),
+ "Next");
#ifdef GDK_RENDERING_VULKAN
node_editor_window_add_renderer (self,
gsk_vulkan_renderer_new (),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]