Cogl.FeatureID

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.has_feature or Cogl.has_features.

Since 1.10

FeatureID.OGL_FEATURE_ID_TEXTURE_NPOT_BASIC

The hardware supports non power of two textures, but you also need to check the Cogl.FeatureID.ogl_feature_id_texture_npot_mipmap and Cogl.FeatureID.ogl_feature_id_texture_npot_repeat features to know if the hardware supports npot texture mipmaps or repeat modes other than Cogl.PipelineWrapMode.clamp_to_edge respectively.

FeatureID.OGL_FEATURE_ID_TEXTURE_NPOT_MIPMAP

Mipmapping is supported in conjuntion with non power of two textures.

FeatureID.OGL_FEATURE_ID_TEXTURE_NPOT_REPEAT

Repeat modes other than Cogl.PipelineWrapMode.clamp_to_edge are supported by the hardware.

FeatureID.OGL_FEATURE_ID_TEXTURE_NPOT

Non power of two textures are supported by the hardware. This is a equivalent to the Cogl.FeatureID.ogl_feature_id_texture_npot_basic, Cogl.FeatureID.ogl_feature_id_texture_npot_mipmap and Cogl.FeatureID.ogl_feature_id_texture_npot_repeat features combined.

FeatureID.OGL_FEATURE_ID_TEXTURE_RECTANGLE

Support for rectangular textures with non-normalized texture coordinates.

FeatureID.OGL_FEATURE_ID_TEXTURE_3D

3D texture support

FeatureID.OGL_FEATURE_ID_GLSL

GLSL support

FeatureID.OGL_FEATURE_ID_ARBFP

ARBFP support

FeatureID.OGL_FEATURE_ID_OFFSCREEN

Offscreen rendering support

FeatureID.OGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE

Multisample support for offscreen framebuffers

FeatureID.OGL_FEATURE_ID_ONSCREEN_MULTIPLE

Multiple onscreen framebuffers supported.

FeatureID.OGL_FEATURE_ID_UNSIGNED_INT_INDICES

Set if Cogl.IndicesType.int is supported in Cogl.Indices.new.

FeatureID.OGL_FEATURE_ID_DEPTH_RANGE

cogl_pipeline_set_depth_range() support

FeatureID.OGL_FEATURE_ID_POINT_SPRITE

Whether Cogl.Pipeline.prototype.set_layer_point_sprite_coords_enabled is supported.

FeatureID.OGL_FEATURE_ID_MAP_BUFFER_FOR_READ

Whether Cogl.buffer_map is supported with CoglBufferAccess including read support.

FeatureID.OGL_FEATURE_ID_MAP_BUFFER_FOR_WRITE

Whether Cogl.buffer_map is supported with CoglBufferAccess including write support.

FeatureID.OGL_FEATURE_ID_MIRRORED_REPEAT

Whether Cogl.PipelineWrapMode.mirrored_repeat is supported.

FeatureID.OGL_FEATURE_ID_SWAP_BUFFERS_EVENT

Available if the window system supports reporting an event for swap buffer completions.

FeatureID.OGL_FEATURE_ID_GLES2_CONTEXT

Whether creating new GLES2 contexts is suported.

FeatureID.OGL_FEATURE_ID_DEPTH_TEXTURE

Whether Cogl.Framebuffer support rendering the depth buffer to a texture.

FeatureID.OGL_FEATURE_ID_PRESENTATION_TIME

Whether frame presentation time stamps will be recorded in Cogl.FrameInfo objects.

FeatureID.OGL_FEATURE_ID_FENCE
FeatureID.OGL_FEATURE_ID_PER_VERTEX_POINT_SIZE

Whether cogl_point_size_in can be used as an attribute to set a per-vertex point size.

FeatureID.OGL_FEATURE_ID_TEXTURE_RG

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

FeatureID.OGL_FEATURE_ID_BUFFER_AGE

Available if the age of Cogl.Onscreen back buffers are tracked and so Cogl.Onscreen.prototype.get_buffer_age can be expected to return age values other than 0.