[gtk/wip/chergert/glproto: 209/526] stub out library upload/lookup hooks
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 209/526] stub out library upload/lookup hooks
- Date: Tue, 16 Feb 2021 01:14:29 +0000 (UTC)
commit 36d4469758edb2bab3d78b16dcb533471f1ab3f7
Author: Christian Hergert <chergert redhat com>
Date: Fri Jan 8 12:55:53 2021 -0800
stub out library upload/lookup hooks
gsk/next/gskgltexturelibrary.c | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
---
diff --git a/gsk/next/gskgltexturelibrary.c b/gsk/next/gskgltexturelibrary.c
index 25ff5599ac..2847c48e5a 100644
--- a/gsk/next/gskgltexturelibrary.c
+++ b/gsk/next/gskgltexturelibrary.c
@@ -154,3 +154,32 @@ gsk_gl_texture_library_end_frame (GskGLTextureLibrary *self)
if (GSK_GL_TEXTURE_LIBRARY_GET_CLASS (self)->end_frame)
GSK_GL_TEXTURE_LIBRARY_GET_CLASS (self)->end_frame (self);
}
+
+gboolean
+gsk_gl_texture_library_pack (GskGLTextureLibrary *self,
+ gconstpointer key,
+ gsize keylen,
+ float width,
+ float height,
+ GskGLTextureAtlas **atlas,
+ graphene_rect_t *area)
+{
+ return FALSE;
+}
+
+gboolean
+gsk_gl_texture_library_lookup (GskGLTextureLibrary *library,
+ gconstpointer key,
+ GskGLTextureAtlas **atlas,
+ graphene_rect_t *area)
+{
+ return FALSE;
+}
+
+void
+gsk_gl_texture_library_upload (GskGLTextureLibrary *self,
+ GskGLTextureAtlas *atlas,
+ const graphene_rect_t *area,
+ GdkTexture *texture)
+{
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]