cogl: Make BlendStringError private
It is a private API Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3910>
This commit is contained in:
parent
4bd974222e
commit
5d7c4bccd8
2 changed files with 27 additions and 28 deletions
|
@ -127,6 +127,33 @@ typedef struct _CoglBlendStringStatement
|
||||||
CoglBlendStringArgument args[3];
|
CoglBlendStringArgument args[3];
|
||||||
} CoglBlendStringStatement;
|
} CoglBlendStringStatement;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* COGL_BLEND_STRING_ERROR:
|
||||||
|
*
|
||||||
|
* #GError domain for blend string parser errors
|
||||||
|
*/
|
||||||
|
#define COGL_BLEND_STRING_ERROR (cogl_blend_string_error_quark ())
|
||||||
|
|
||||||
|
/**
|
||||||
|
* CoglBlendStringError:
|
||||||
|
* @COGL_BLEND_STRING_ERROR_PARSE_ERROR: Generic parse error
|
||||||
|
* @COGL_BLEND_STRING_ERROR_ARGUMENT_PARSE_ERROR: Argument parse error
|
||||||
|
* @COGL_BLEND_STRING_ERROR_INVALID_ERROR: Internal parser error
|
||||||
|
* @COGL_BLEND_STRING_ERROR_GPU_UNSUPPORTED_ERROR: Blend string not
|
||||||
|
* supported by the GPU
|
||||||
|
*
|
||||||
|
* Error enumeration for the blend strings parser
|
||||||
|
*/
|
||||||
|
typedef enum /*< prefix=COGL_BLEND_STRING_ERROR >*/
|
||||||
|
{
|
||||||
|
COGL_BLEND_STRING_ERROR_PARSE_ERROR,
|
||||||
|
COGL_BLEND_STRING_ERROR_ARGUMENT_PARSE_ERROR,
|
||||||
|
COGL_BLEND_STRING_ERROR_INVALID_ERROR,
|
||||||
|
COGL_BLEND_STRING_ERROR_GPU_UNSUPPORTED_ERROR
|
||||||
|
} CoglBlendStringError;
|
||||||
|
|
||||||
|
uint32_t
|
||||||
|
cogl_blend_string_error_quark (void);
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
_cogl_blend_string_compile (const char *string,
|
_cogl_blend_string_compile (const char *string,
|
||||||
|
|
|
@ -67,34 +67,6 @@ typedef struct _CoglFramebuffer CoglFramebuffer;
|
||||||
*/
|
*/
|
||||||
typedef struct _CoglDmaBufHandle CoglDmaBufHandle;
|
typedef struct _CoglDmaBufHandle CoglDmaBufHandle;
|
||||||
|
|
||||||
/**
|
|
||||||
* COGL_BLEND_STRING_ERROR:
|
|
||||||
*
|
|
||||||
* #GError domain for blend string parser errors
|
|
||||||
*/
|
|
||||||
#define COGL_BLEND_STRING_ERROR (cogl_blend_string_error_quark ())
|
|
||||||
|
|
||||||
/**
|
|
||||||
* CoglBlendStringError:
|
|
||||||
* @COGL_BLEND_STRING_ERROR_PARSE_ERROR: Generic parse error
|
|
||||||
* @COGL_BLEND_STRING_ERROR_ARGUMENT_PARSE_ERROR: Argument parse error
|
|
||||||
* @COGL_BLEND_STRING_ERROR_INVALID_ERROR: Internal parser error
|
|
||||||
* @COGL_BLEND_STRING_ERROR_GPU_UNSUPPORTED_ERROR: Blend string not
|
|
||||||
* supported by the GPU
|
|
||||||
*
|
|
||||||
* Error enumeration for the blend strings parser
|
|
||||||
*/
|
|
||||||
typedef enum /*< prefix=COGL_BLEND_STRING_ERROR >*/
|
|
||||||
{
|
|
||||||
COGL_BLEND_STRING_ERROR_PARSE_ERROR,
|
|
||||||
COGL_BLEND_STRING_ERROR_ARGUMENT_PARSE_ERROR,
|
|
||||||
COGL_BLEND_STRING_ERROR_INVALID_ERROR,
|
|
||||||
COGL_BLEND_STRING_ERROR_GPU_UNSUPPORTED_ERROR
|
|
||||||
} CoglBlendStringError;
|
|
||||||
|
|
||||||
COGL_EXPORT uint32_t
|
|
||||||
cogl_blend_string_error_quark (void);
|
|
||||||
|
|
||||||
#define COGL_SYSTEM_ERROR (_cogl_system_error_quark ())
|
#define COGL_SYSTEM_ERROR (_cogl_system_error_quark ())
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue