Enumeration (GI Enum)

Cogl-18CoglFeatureID

All the capabilities that can vary between different GPUs supported by Cogl. Applications that depend on any of these features should explicitly check for them using Cogl.Driver.has_feature.

Index
OGL_FEATURE_ID_ALPHA_TEXTURES: 23
OGL_FEATURE_ID_BLIT_FRAMEBUFFER: 9

Whether blitting using Cogl.Framebuffer.blit is supported.

OGL_FEATURE_ID_EXT_PACKED_DEPTH_STENCIL: 14
OGL_FEATURE_ID_FENCE: 3
OGL_FEATURE_ID_FORMAT_CONVERSION: 21
OGL_FEATURE_ID_MAP_BUFFER_FOR_READ: 1

Whether cogl_buffer_map() is supported with CoglBufferAccess including read support.

OGL_FEATURE_ID_MAP_BUFFER_FOR_WRITE: 2

Whether cogl_buffer_map() is supported with CoglBufferAccess including write support.

OGL_FEATURE_ID_MESA_PACK_INVERT: 12
OGL_FEATURE_ID_OES_EGL_SYNC: 27
OGL_FEATURE_ID_OES_PACKED_DEPTH_STENCIL: 15
OGL_FEATURE_ID_PBOS: 13
OGL_FEATURE_ID_QUERY_FRAMEBUFFER_BITS: 22
OGL_FEATURE_ID_QUIRK_GENERATE_MIPMAP_NEEDS_FLUSH: 28
OGL_FEATURE_ID_READ_PIXELS_ANY_STRIDE: 20
OGL_FEATURE_ID_SAMPLER_OBJECTS: 19
OGL_FEATURE_ID_TEXTURE_2D_FROM_EGL_IMAGE: 11
OGL_FEATURE_ID_TEXTURE_EGL_IMAGE_EXTERNAL: 8
OGL_FEATURE_ID_TEXTURE_FORMAT_BGRA8888: 16
OGL_FEATURE_ID_TEXTURE_FORMAT_SIZED_RGBA: 17
OGL_FEATURE_ID_TEXTURE_HALF_FLOAT: 6

Support for half float formats

OGL_FEATURE_ID_TEXTURE_LOD_BIAS: 26
OGL_FEATURE_ID_TEXTURE_MAX_LEVEL: 25
OGL_FEATURE_ID_TEXTURE_NORM16: 7

Support for 16bpc formats

OGL_FEATURE_ID_TEXTURE_RG: 4

Support for Cogl.TextureComponents.RG as the internal components of a texture.

OGL_FEATURE_ID_TEXTURE_RGBA1010102: 5

Support for 10bpc RGBA formats

OGL_FEATURE_ID_TEXTURE_SWIZZLE: 24
OGL_FEATURE_ID_TIMESTAMP_QUERY: 10
OGL_FEATURE_ID_UNPACK_SUBIMAGE: 18
OGL_FEATURE_ID_UNSIGNED_INT_INDICES: 0

Set if Cogl.IndicesType.INT is supported in cogl_indices_new().