[gtk/wip/chergert/glproto: 180/493] make header as private




commit 457bc050d7c09feec3172fec2e7bbd605b5125ce
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 13 09:58:17 2021 -0800

    make header as private

 gsk/next/gskglattachmentstateprivate.h         |  2 +-
 gsk/next/gskglcommandqueueprivate.h            |  2 +-
 gsk/next/gskglcompilerprivate.h                |  2 +-
 gsk/next/gskgldriverprivate.h                  |  2 +-
 gsk/next/gskglprogramprivate.h                 |  2 +-
 gsk/next/gskglrenderjobprivate.h               |  2 +-
 gsk/next/gskgltextureatlasprivate.h            |  2 +-
 gsk/next/gskgltexturelibraryprivate.h          |  2 +-
 gsk/next/gskgltexturepoolprivate.h             |  2 +-
 gsk/next/{gskgltypes.h => gskgltypesprivate.h} | 11 ++++++-----
 gsk/next/gskgluniformstateprivate.h            |  2 +-
 11 files changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/gsk/next/gskglattachmentstateprivate.h b/gsk/next/gskglattachmentstateprivate.h
index fe2bf328d4..77b0f9bf53 100644
--- a/gsk/next/gskglattachmentstateprivate.h
+++ b/gsk/next/gskglattachmentstateprivate.h
@@ -21,7 +21,7 @@
 #ifndef __GSK_GL_ATTACHMENT_STATE_PRIVATE_H__
 #define __GSK_GL_ATTACHMENT_STATE_PRIVATE_H__
 
-#include "gskgltypes.h"
+#include "gskgltypesprivate.h"
 
 G_BEGIN_DECLS
 
diff --git a/gsk/next/gskglcommandqueueprivate.h b/gsk/next/gskglcommandqueueprivate.h
index e76742945b..274b93343f 100644
--- a/gsk/next/gskglcommandqueueprivate.h
+++ b/gsk/next/gskglcommandqueueprivate.h
@@ -21,7 +21,7 @@
 #ifndef __GSK_GL_COMMAND_QUEUE_PRIVATE_H__
 #define __GSK_GL_COMMAND_QUEUE_PRIVATE_H__
 
-#include "gskgltypes.h"
+#include "gskgltypesprivate.h"
 
 #include "gskglattachmentstateprivate.h"
 #include "gskgluniformstateprivate.h"
diff --git a/gsk/next/gskglcompilerprivate.h b/gsk/next/gskglcompilerprivate.h
index d28c48c0b9..c26ab8563b 100644
--- a/gsk/next/gskglcompilerprivate.h
+++ b/gsk/next/gskglcompilerprivate.h
@@ -21,7 +21,7 @@
 #ifndef __GSK_GL_COMPILER_PRIVATE_H__
 #define __GSK_GL_COMPILER_PRIVATE_H__
 
-#include "gskgltypes.h"
+#include "gskgltypesprivate.h"
 
 G_BEGIN_DECLS
 
diff --git a/gsk/next/gskgldriverprivate.h b/gsk/next/gskgldriverprivate.h
index af8f392fe9..587c3d1e42 100644
--- a/gsk/next/gskgldriverprivate.h
+++ b/gsk/next/gskgldriverprivate.h
@@ -21,7 +21,7 @@
 #ifndef __GSK_GL_DRIVER_PRIVATE_H__
 #define __GSK_GL_DRIVER_PRIVATE_H__
 
-#include "gskgltypes.h"
+#include "gskgltypesprivate.h"
 
 #include "gskgltexturepoolprivate.h"
 
diff --git a/gsk/next/gskglprogramprivate.h b/gsk/next/gskglprogramprivate.h
index 73f313d121..4cf22e3056 100644
--- a/gsk/next/gskglprogramprivate.h
+++ b/gsk/next/gskglprogramprivate.h
@@ -21,7 +21,7 @@
 #ifndef __GSK_GL_PROGRAM_PRIVATE_H__
 #define __GSK_GL_PROGRAM_PRIVATE_H__
 
-#include "gskgltypes.h"
+#include "gskgltypesprivate.h"
 
 #include "gskglcommandqueueprivate.h"
 
diff --git a/gsk/next/gskglrenderjobprivate.h b/gsk/next/gskglrenderjobprivate.h
index 108f823529..ce21a57bd1 100644
--- a/gsk/next/gskglrenderjobprivate.h
+++ b/gsk/next/gskglrenderjobprivate.h
@@ -21,7 +21,7 @@
 #ifndef __GSK_GL_RENDER_JOB_H__
 #define __GSK_GL_RENDER_JOB_H__
 
-#include "gskgltypes.h"
+#include "gskgltypesprivate.h"
 
 GskGLRenderJob *gsk_gl_render_job_new                 (GskNextDriver         *driver,
                                                        const graphene_rect_t *viewport,
diff --git a/gsk/next/gskgltextureatlasprivate.h b/gsk/next/gskgltextureatlasprivate.h
index 0350d1fe91..ef840d30d3 100644
--- a/gsk/next/gskgltextureatlasprivate.h
+++ b/gsk/next/gskgltextureatlasprivate.h
@@ -21,7 +21,7 @@
 #ifndef __GSK_GL_TEXTURE_ATLAS_PRIVATE_H__
 #define __GSK_GL_TEXTURE_ATLAS_PRIVATE_H__
 
-#include "gskgltypes.h"
+#include "gskgltypesprivate.h"
 
 G_BEGIN_DECLS
 
diff --git a/gsk/next/gskgltexturelibraryprivate.h b/gsk/next/gskgltexturelibraryprivate.h
index 4a0b92f4cf..36e7a8d506 100644
--- a/gsk/next/gskgltexturelibraryprivate.h
+++ b/gsk/next/gskgltexturelibraryprivate.h
@@ -21,7 +21,7 @@
 #ifndef __GSK_GL_TEXTURE_LIBRARY_PRIVATE_H__
 #define __GSK_GL_TEXTURE_LIBRARY_PRIVATE_H__
 
-#include "gskgltypes.h"
+#include "gskgltypesprivate.h"
 
 G_BEGIN_DECLS
 
diff --git a/gsk/next/gskgltexturepoolprivate.h b/gsk/next/gskgltexturepoolprivate.h
index ebedd6563d..98ba997607 100644
--- a/gsk/next/gskgltexturepoolprivate.h
+++ b/gsk/next/gskgltexturepoolprivate.h
@@ -21,7 +21,7 @@
 #ifndef _GSK_GL_TEXTURE_POOL_PRIVATE_H__
 #define _GSK_GL_TEXTURE_POOL_PRIVATE_H__
 
-#include "gskgltypes.h"
+#include "gskgltypesprivate.h"
 
 G_BEGIN_DECLS
 
diff --git a/gsk/next/gskgltypes.h b/gsk/next/gskgltypesprivate.h
similarity index 90%
rename from gsk/next/gskgltypes.h
rename to gsk/next/gskgltypesprivate.h
index f580870575..f29f457cff 100644
--- a/gsk/next/gskgltypes.h
+++ b/gsk/next/gskgltypesprivate.h
@@ -1,4 +1,4 @@
-/* gskgltypes.h
+/* gskgltypesprivate.h
  *
  * Copyright 2020 Christian Hergert <chergert redhat com>
  *
@@ -18,8 +18,8 @@
  * SPDX-License-Identifier: LGPL-2.1-or-later
  */
 
-#ifndef GSK_GL_TYPES_H
-#define GSK_GL_TYPES_H
+#ifndef __GSK_GL_TYPES_PRIVATE_H__
+#define __GSK_GL_TYPES_PRIVATE_H__
 
 #include <graphene.h>
 #include <epoxy/gl.h>
@@ -35,15 +35,16 @@ typedef struct _GskGLBuffer GskGLBuffer;
 typedef struct _GskGLCommandQueue GskGLCommandQueue;
 typedef struct _GskGLCompiler GskGLCompiler;
 typedef struct _GskGLDrawVertex GskGLDrawVertex;
+typedef struct _GskGLFramebuffer GskGLFramebuffer;
 typedef struct _GskGLGlyphLibrary GskGLGlyphLibrary;
 typedef struct _GskGLIconLibrary GskGLIconLibrary;
 typedef struct _GskGLProgram GskGLProgram;
+typedef struct _GskGLRenderJob GskGLRenderJob;
 typedef struct _GskGLShadowLibrary GskGLShadowLibrary;
 typedef struct _GskGLTextureAtlas GskGLTextureAtlas;
 typedef struct _GskGLTextureLibrary GskGLTextureLibrary;
 typedef struct _GskGLUniformState GskGLUniformState;
 typedef struct _GskNextDriver GskNextDriver;
-typedef struct _GskGLRenderJob GskGLRenderJob;
 
 struct _GskGLDrawVertex
 {
@@ -53,4 +54,4 @@ struct _GskGLDrawVertex
 
 G_END_DECLS
 
-#endif /* GSK_GL_TYPES_H */
+#endif /* __GSK_GL_TYPES_PRIVATE_H__ */
diff --git a/gsk/next/gskgluniformstateprivate.h b/gsk/next/gskgluniformstateprivate.h
index 9416a842cf..2f68357b70 100644
--- a/gsk/next/gskgluniformstateprivate.h
+++ b/gsk/next/gskgluniformstateprivate.h
@@ -21,7 +21,7 @@
 #ifndef GSK_GL_UNIFORM_STATE_PRIVATE_H
 #define GSK_GL_UNIFORM_STATE_PRIVATE_H
 
-#include "gskgltypes.h"
+#include "gskgltypesprivate.h"
 
 G_BEGIN_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]