1
0
Fork 0

cogl: Make FramebufferDriverConfig private

There is 0 reason to expose that, it is a private API

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3910>
This commit is contained in:
Bilal Elmoussaoui 2024-07-27 20:43:13 +02:00 committed by Marge Bot
parent b3404816fb
commit 6b0a289d77
4 changed files with 4 additions and 4 deletions

View file

@ -44,12 +44,12 @@ typedef enum
COGL_FRAMEBUFFER_DRIVER_TYPE_BACK,
} CoglFramebufferDriverType;
struct _CoglFramebufferDriverConfig
typedef struct _CoglFramebufferDriverConfig
{
CoglFramebufferDriverType type;
gboolean disable_depth_and_stencil;
};
} CoglFramebufferDriverConfig;
typedef struct
{

View file

@ -85,8 +85,6 @@ G_BEGIN_DECLS
* configuration.
*/
typedef struct _CoglFramebufferDriverConfig CoglFramebufferDriverConfig;
#define COGL_TYPE_FRAMEBUFFER (cogl_framebuffer_get_type ())
COGL_EXPORT
G_DECLARE_DERIVABLE_TYPE (CoglFramebuffer, cogl_framebuffer,

View file

@ -26,6 +26,7 @@
#pragma once
#include "cogl/driver/gl/cogl-framebuffer-gl-private.h"
#include "cogl/cogl-framebuffer-private.h"
#define COGL_TYPE_GL_FRAMEBUFFER_BACK (cogl_gl_framebuffer_back_get_type ())
G_DECLARE_FINAL_TYPE (CoglGlFramebufferBack, cogl_gl_framebuffer_back,

View file

@ -26,6 +26,7 @@
#pragma once
#include "cogl/driver/gl/cogl-framebuffer-gl-private.h"
#include "cogl/cogl-framebuffer-private.h"
#define COGL_TYPE_GL_FRAMEBUFFER_FBO (cogl_gl_framebuffer_fbo_get_type ())
G_DECLARE_FINAL_TYPE (CoglGlFramebufferFbo, cogl_gl_framebuffer_fbo,