cogl: Don't expose FramebufferBits

Fixes 34f4b8064fb32da792e69cebb911c394ab1eb8b7

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4174>
This commit is contained in:
Bilal Elmoussaoui 2024-12-10 08:58:24 +01:00
parent c4be3cd568
commit 9181fdf5c2
3 changed files with 10 additions and 11 deletions

View File

@ -30,6 +30,16 @@
#include "cogl/cogl-attribute-private.h" #include "cogl/cogl-attribute-private.h"
#include "cogl/cogl-framebuffer.h" #include "cogl/cogl-framebuffer.h"
typedef struct _CoglFramebufferBits
{
int red;
int blue;
int green;
int alpha;
int depth;
int stencil;
} CoglFramebufferBits;
#define COGL_TYPE_FRAMEBUFFER_DRIVER (cogl_framebuffer_driver_get_type ()) #define COGL_TYPE_FRAMEBUFFER_DRIVER (cogl_framebuffer_driver_get_type ())
G_DECLARE_DERIVABLE_TYPE (CoglFramebufferDriver, G_DECLARE_DERIVABLE_TYPE (CoglFramebufferDriver,
cogl_framebuffer_driver, cogl_framebuffer_driver,

View File

@ -94,16 +94,6 @@ typedef enum
COGL_READ_PIXELS_NO_FLIP = 1L << 30 COGL_READ_PIXELS_NO_FLIP = 1L << 30
} CoglPrivateReadPixelsFlags; } CoglPrivateReadPixelsFlags;
typedef struct _CoglFramebufferBits
{
int red;
int blue;
int green;
int alpha;
int depth;
int stencil;
} CoglFramebufferBits;
gboolean gboolean
cogl_framebuffer_is_allocated (CoglFramebuffer *framebuffer); cogl_framebuffer_is_allocated (CoglFramebuffer *framebuffer);

View File

@ -332,7 +332,6 @@ typedef struct _CoglBitmap CoglBitmap;
typedef struct _CoglBuffer CoglBuffer; typedef struct _CoglBuffer CoglBuffer;
typedef struct _CoglContext CoglContext; typedef struct _CoglContext CoglContext;
typedef struct _CoglDisplay CoglDisplay; typedef struct _CoglDisplay CoglDisplay;
typedef struct _CoglFramebufferBits CoglFramebufferBits;
typedef struct _CoglFrameInfo CoglFrameInfo; typedef struct _CoglFrameInfo CoglFrameInfo;
typedef struct _CoglIndices CoglIndices; typedef struct _CoglIndices CoglIndices;
typedef struct _CoglParamSpecColor CoglParamSpecColor; typedef struct _CoglParamSpecColor CoglParamSpecColor;