mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
9ddae8aebc
For now, it just renders using cairo, uploads the result to the GPU, blits it onto the framebuffer and then is happy. But it can do that using Vulkan and using GL (no idea which version). The most important thing still missing is shaders. It also has a bunch of copy/paste from the Vulkan renderer that isn't used yet. But I didn't want to rip it out and then try to copy it back later
17 lines
322 B
C
17 lines
322 B
C
#pragma once
|
|
|
|
#include "gskgpurendererprivate.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define GSK_TYPE_NGL_RENDERER (gsk_ngl_renderer_get_type ())
|
|
|
|
GDK_AVAILABLE_IN_ALL
|
|
G_DECLARE_FINAL_TYPE (GskNglRenderer, gsk_ngl_renderer, GSK, NGL_RENDERER, GskGpuRenderer)
|
|
|
|
GDK_AVAILABLE_IN_ALL
|
|
GskRenderer *gsk_ngl_renderer_new (void);
|
|
|
|
G_END_DECLS
|
|
|