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

Enumeration Members

OGL_FEATURE_ID_ALPHA_TEXTURES: number
OGL_FEATURE_ID_BLIT_FRAMEBUFFER: number

Whether blitting using Cogl.Framebuffer.blit is supported.

OGL_FEATURE_ID_EXT_PACKED_DEPTH_STENCIL: number
OGL_FEATURE_ID_FENCE: number
OGL_FEATURE_ID_FORMAT_CONVERSION: number
OGL_FEATURE_ID_MAP_BUFFER_FOR_READ: number

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

OGL_FEATURE_ID_MAP_BUFFER_FOR_WRITE: number

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

OGL_FEATURE_ID_MESA_PACK_INVERT: number
OGL_FEATURE_ID_OES_EGL_SYNC: number
OGL_FEATURE_ID_OES_PACKED_DEPTH_STENCIL: number
OGL_FEATURE_ID_PBOS: number
OGL_FEATURE_ID_QUERY_FRAMEBUFFER_BITS: number
OGL_FEATURE_ID_QUIRK_GENERATE_MIPMAP_NEEDS_FLUSH: number
OGL_FEATURE_ID_READ_PIXELS_ANY_STRIDE: number
OGL_FEATURE_ID_SAMPLER_OBJECTS: number
OGL_FEATURE_ID_TEXTURE_2D_FROM_EGL_IMAGE: number
OGL_FEATURE_ID_TEXTURE_EGL_IMAGE_EXTERNAL: number
OGL_FEATURE_ID_TEXTURE_FORMAT_BGRA8888: number
OGL_FEATURE_ID_TEXTURE_FORMAT_SIZED_RGBA: number
OGL_FEATURE_ID_TEXTURE_HALF_FLOAT: number

Support for half float formats

OGL_FEATURE_ID_TEXTURE_LOD_BIAS: number
OGL_FEATURE_ID_TEXTURE_MAX_LEVEL: number
OGL_FEATURE_ID_TEXTURE_NORM16: number

Support for 16bpc formats

OGL_FEATURE_ID_TEXTURE_RG: number

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

OGL_FEATURE_ID_TEXTURE_RGBA1010102: number

Support for 10bpc RGBA formats

OGL_FEATURE_ID_TEXTURE_SWIZZLE: number
OGL_FEATURE_ID_TIMESTAMP_QUERY: number
OGL_FEATURE_ID_UNPACK_SUBIMAGE: number
OGL_FEATURE_ID_UNSIGNED_INT_INDICES: number

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