[gtk/wip/chergert/glproto: 100/493] add renderer to node-editor
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 100/493] add renderer to node-editor
- Date: Fri, 19 Feb 2021 02:25:06 +0000 (UTC)
commit 320d48e8a37b3ee2e61547d1f21714048e51b151
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 0335a28c46..84c9141c71 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
@@ -762,6 +763,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]