
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */

#include "config.h"
#include "cogl/cogl-enum-types.h"

/* enumerations from "/build/mutter46/src/build/../mutter/cogl/cogl/cogl-buffer.h" */
#include "/build/mutter46/src/build/../mutter/cogl/cogl/cogl-buffer.h"
GType
cogl_buffer_error_get_type (void)
{
  static size_t g_enum_type_id = 0;

  if (g_once_init_enter (&g_enum_type_id))
    {
      static const GEnumValue values[] = {
        { COGL_BUFFER_ERROR_MAP, "COGL_BUFFER_ERROR_MAP", "map" },
        { 0, NULL, NULL }
      };
      GType id;

      id = g_enum_register_static (g_intern_static_string ("CoglBufferError"), values);

      g_once_init_leave (&g_enum_type_id, id);
    }

  return g_enum_type_id;
}
GType
cogl_buffer_update_hint_get_type (void)
{
  static size_t g_enum_type_id = 0;

  if (g_once_init_enter (&g_enum_type_id))
    {
      static const GEnumValue values[] = {
        { COGL_BUFFER_UPDATE_HINT_STATIC, "COGL_BUFFER_UPDATE_HINT_STATIC", "static" },
        { COGL_BUFFER_UPDATE_HINT_DYNAMIC, "COGL_BUFFER_UPDATE_HINT_DYNAMIC", "dynamic" },
        { COGL_BUFFER_UPDATE_HINT_STREAM, "COGL_BUFFER_UPDATE_HINT_STREAM", "stream" },
        { 0, NULL, NULL }
      };
      GType id;

      id = g_enum_register_static (g_intern_static_string ("CoglBufferUpdateHint"), values);

      g_once_init_leave (&g_enum_type_id, id);
    }

  return g_enum_type_id;
}
GType
cogl_buffer_access_get_type (void)
{
  static size_t g_enum_type_id = 0;

  if (g_once_init_enter (&g_enum_type_id))
    {
      static const GFlagsValue values[] = {
        { COGL_BUFFER_ACCESS_READ, "COGL_BUFFER_ACCESS_READ", "read" },
        { COGL_BUFFER_ACCESS_WRITE, "COGL_BUFFER_ACCESS_WRITE", "write" },
        { COGL_BUFFER_ACCESS_READ_WRITE, "COGL_BUFFER_ACCESS_READ_WRITE", "read-write" },
        { 0, NULL, NULL }
      };
      GType id;

      id = g_flags_register_static (g_intern_static_string ("CoglBufferAccess"), values);

      g_once_init_leave (&g_enum_type_id, id);
    }

  return g_enum_type_id;
}
GType
cogl_buffer_map_hint_get_type (void)
{
  static size_t g_enum_type_id = 0;

  if (g_once_init_enter (&g_enum_type_id))
    {
      static const GFlagsValue values[] = {
        { COGL_BUFFER_MAP_HINT_DISCARD, "COGL_BUFFER_MAP_HINT_DISCARD", "discard" },
        { COGL_BUFFER_MAP_HINT_DISCARD_RANGE, "COGL_BUFFER_MAP_HINT_DISCARD_RANGE", "discard-range" },
        { 0, NULL, NULL }
      };
      GType id;

      id = g_flags_register_static (g_intern_static_string ("CoglBufferMapHint"), values);

      g_once_init_leave (&g_enum_type_id, id);
    }

  return g_enum_type_id;
}
GType
cogl_buffer_bind_target_get_type (void)
{
  static size_t g_enum_type_id = 0;

  if (g_once_init_enter (&g_enum_type_id))
    {
      static const GEnumValue values[] = {
        { COGL_BUFFER_BIND_TARGET_PIXEL_PACK, "COGL_BUFFER_BIND_TARGET_PIXEL_PACK", "pixel-pack" },
        { COGL_BUFFER_BIND_TARGET_PIXEL_UNPACK, "COGL_BUFFER_BIND_TARGET_PIXEL_UNPACK", "pixel-unpack" },
        { COGL_BUFFER_BIND_TARGET_ATTRIBUTE_BUFFER, "COGL_BUFFER_BIND_TARGET_ATTRIBUTE_BUFFER", "attribute-buffer" },
        { COGL_BUFFER_BIND_TARGET_INDEX_BUFFER, "COGL_BUFFER_BIND_TARGET_INDEX_BUFFER", "index-buffer" },
        { COGL_BUFFER_BIND_TARGET_COUNT, "COGL_BUFFER_BIND_TARGET_COUNT", "count" },
        { 0, NULL, NULL }
      };
      GType id;

      id = g_enum_register_static (g_intern_static_string ("CoglBufferBindTarget"), values);

      g_once_init_leave (&g_enum_type_id, id);
    }

  return g_enum_type_id;
}

/* enumerations from "/build/mutter46/src/build/../mutter/cogl/cogl/cogl-pixel-format.h" */
#include "/build/mutter46/src/build/../mutter/cogl/cogl/cogl-pixel-format.h"
GType
cogl_pixel_format_get_type (void)
{
  static size_t g_enum_type_id = 0;

  if (g_once_init_enter (&g_enum_type_id))
    {
      static const GEnumValue values[] = {
        { COGL_PIXEL_FORMAT_ANY, "COGL_PIXEL_FORMAT_ANY", "any" },
        { COGL_PIXEL_FORMAT_A_8, "COGL_PIXEL_FORMAT_A_8", "a-8" },
        { COGL_PIXEL_FORMAT_RGB_565, "COGL_PIXEL_FORMAT_RGB_565", "rgb-565" },
        { COGL_PIXEL_FORMAT_RGBA_4444, "COGL_PIXEL_FORMAT_RGBA_4444", "rgba-4444" },
        { COGL_PIXEL_FORMAT_RGBA_5551, "COGL_PIXEL_FORMAT_RGBA_5551", "rgba-5551" },
        { COGL_PIXEL_FORMAT_YUV, "COGL_PIXEL_FORMAT_YUV", "yuv" },
        { COGL_PIXEL_FORMAT_R_8, "COGL_PIXEL_FORMAT_R_8", "r-8" },
        { COGL_PIXEL_FORMAT_RG_88, "COGL_PIXEL_FORMAT_RG_88", "rg-88" },
        { COGL_PIXEL_FORMAT_RGB_888, "COGL_PIXEL_FORMAT_RGB_888", "rgb-888" },
        { COGL_PIXEL_FORMAT_BGR_888, "COGL_PIXEL_FORMAT_BGR_888", "bgr-888" },
        { COGL_PIXEL_FORMAT_RGBX_8888, "COGL_PIXEL_FORMAT_RGBX_8888", "rgbx-8888" },
        { COGL_PIXEL_FORMAT_RGBA_8888, "COGL_PIXEL_FORMAT_RGBA_8888", "rgba-8888" },
        { COGL_PIXEL_FORMAT_BGRX_8888, "COGL_PIXEL_FORMAT_BGRX_8888", "bgrx-8888" },
        { COGL_PIXEL_FORMAT_BGRA_8888, "COGL_PIXEL_FORMAT_BGRA_8888", "bgra-8888" },
        { COGL_PIXEL_FORMAT_XRGB_8888, "COGL_PIXEL_FORMAT_XRGB_8888", "xrgb-8888" },
        { COGL_PIXEL_FORMAT_ARGB_8888, "COGL_PIXEL_FORMAT_ARGB_8888", "argb-8888" },
        { COGL_PIXEL_FORMAT_XBGR_8888, "COGL_PIXEL_FORMAT_XBGR_8888", "xbgr-8888" },
        { COGL_PIXEL_FORMAT_ABGR_8888, "COGL_PIXEL_FORMAT_ABGR_8888", "abgr-8888" },
        { COGL_PIXEL_FORMAT_RGBA_8888_PRE, "COGL_PIXEL_FORMAT_RGBA_8888_PRE", "rgba-8888-pre" },
        { COGL_PIXEL_FORMAT_BGRA_8888_PRE, "COGL_PIXEL_FORMAT_BGRA_8888_PRE", "bgra-8888-pre" },
        { COGL_PIXEL_FORMAT_ARGB_8888_PRE, "COGL_PIXEL_FORMAT_ARGB_8888_PRE", "argb-8888-pre" },
        { COGL_PIXEL_FORMAT_ABGR_8888_PRE, "COGL_PIXEL_FORMAT_ABGR_8888_PRE", "abgr-8888-pre" },
        { COGL_PIXEL_FORMAT_RGBA_4444_PRE, "COGL_PIXEL_FORMAT_RGBA_4444_PRE", "rgba-4444-pre" },
        { COGL_PIXEL_FORMAT_RGBA_5551_PRE, "COGL_PIXEL_FORMAT_RGBA_5551_PRE", "rgba-5551-pre" },
        { COGL_PIXEL_FORMAT_RGBA_1010102, "COGL_PIXEL_FORMAT_RGBA_1010102", "rgba-1010102" },
        { COGL_PIXEL_FORMAT_BGRA_1010102, "COGL_PIXEL_FORMAT_BGRA_1010102", "bgra-1010102" },
        { COGL_PIXEL_FORMAT_XRGB_2101010, "COGL_PIXEL_FORMAT_XRGB_2101010", "xrgb-2101010" },
        { COGL_PIXEL_FORMAT_ARGB_2101010, "COGL_PIXEL_FORMAT_ARGB_2101010", "argb-2101010" },
        { COGL_PIXEL_FORMAT_XBGR_2101010, "COGL_PIXEL_FORMAT_XBGR_2101010", "xbgr-2101010" },
        { COGL_PIXEL_FORMAT_ABGR_2101010, "COGL_PIXEL_FORMAT_ABGR_2101010", "abgr-2101010" },
        { COGL_PIXEL_FORMAT_RGBA_1010102_PRE, "COGL_PIXEL_FORMAT_RGBA_1010102_PRE", "rgba-1010102-pre" },
        { COGL_PIXEL_FORMAT_BGRA_1010102_PRE, "COGL_PIXEL_FORMAT_BGRA_1010102_PRE", "bgra-1010102-pre" },
        { COGL_PIXEL_FORMAT_ARGB_2101010_PRE, "COGL_PIXEL_FORMAT_ARGB_2101010_PRE", "argb-2101010-pre" },
        { COGL_PIXEL_FORMAT_ABGR_2101010_PRE, "COGL_PIXEL_FORMAT_ABGR_2101010_PRE", "abgr-2101010-pre" },
        { COGL_PIXEL_FORMAT_RGBX_FP_16161616, "COGL_PIXEL_FORMAT_RGBX_FP_16161616", "rgbx-fp-16161616" },
        { COGL_PIXEL_FORMAT_RGBA_FP_16161616, "COGL_PIXEL_FORMAT_RGBA_FP_16161616", "rgba-fp-16161616" },
        { COGL_PIXEL_FORMAT_BGRX_FP_16161616, "COGL_PIXEL_FORMAT_BGRX_FP_16161616", "bgrx-fp-16161616" },
        { COGL_PIXEL_FORMAT_BGRA_FP_16161616, "COGL_PIXEL_FORMAT_BGRA_FP_16161616", "bgra-fp-16161616" },
        { COGL_PIXEL_FORMAT_XRGB_FP_16161616, "COGL_PIXEL_FORMAT_XRGB_FP_16161616", "xrgb-fp-16161616" },
        { COGL_PIXEL_FORMAT_ARGB_FP_16161616, "COGL_PIXEL_FORMAT_ARGB_FP_16161616", "argb-fp-16161616" },
        { COGL_PIXEL_FORMAT_XBGR_FP_16161616, "COGL_PIXEL_FORMAT_XBGR_FP_16161616", "xbgr-fp-16161616" },
        { COGL_PIXEL_FORMAT_ABGR_FP_16161616, "COGL_PIXEL_FORMAT_ABGR_FP_16161616", "abgr-fp-16161616" },
        { COGL_PIXEL_FORMAT_RGBA_FP_16161616_PRE, "COGL_PIXEL_FORMAT_RGBA_FP_16161616_PRE", "rgba-fp-16161616-pre" },
        { COGL_PIXEL_FORMAT_BGRA_FP_16161616_PRE, "COGL_PIXEL_FORMAT_BGRA_FP_16161616_PRE", "bgra-fp-16161616-pre" },
        { COGL_PIXEL_FORMAT_ARGB_FP_16161616_PRE, "COGL_PIXEL_FORMAT_ARGB_FP_16161616_PRE", "argb-fp-16161616-pre" },
        { COGL_PIXEL_FORMAT_ABGR_FP_16161616_PRE, "COGL_PIXEL_FORMAT_ABGR_FP_16161616_PRE", "abgr-fp-16161616-pre" },
        { COGL_PIXEL_FORMAT_RGBA_FP_32323232, "COGL_PIXEL_FORMAT_RGBA_FP_32323232", "rgba-fp-32323232" },
        { COGL_PIXEL_FORMAT_RGBA_FP_32323232_PRE, "COGL_PIXEL_FORMAT_RGBA_FP_32323232_PRE", "rgba-fp-32323232-pre" },
        { COGL_PIXEL_FORMAT_R_16, "COGL_PIXEL_FORMAT_R_16", "r-16" },
        { COGL_PIXEL_FORMAT_RG_1616, "COGL_PIXEL_FORMAT_RG_1616", "rg-1616" },
        { COGL_PIXEL_FORMAT_RGBA_16161616, "COGL_PIXEL_FORMAT_RGBA_16161616", "rgba-16161616" },
        { COGL_PIXEL_FORMAT_RGBA_16161616_PRE, "COGL_PIXEL_FORMAT_RGBA_16161616_PRE", "rgba-16161616-pre" },
        { COGL_PIXEL_FORMAT_DEPTH_16, "COGL_PIXEL_FORMAT_DEPTH_16", "depth-16" },
        { COGL_PIXEL_FORMAT_DEPTH_24_STENCIL_8, "COGL_PIXEL_FORMAT_DEPTH_24_STENCIL_8", "depth-24-stencil-8" },
        { 0, NULL, NULL }
      };
      GType id;

      id = g_enum_register_static (g_intern_static_string ("CoglPixelFormat"), values);

      g_once_init_leave (&g_enum_type_id, id);
    }

  return g_enum_type_id;
}

/* Generated data ends here */

