Gjsify LogoGjsify Logo

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().

Index

Enumeration Members

OGL_FEATURE_ID_ARBFP: number

ARBFP support

OGL_FEATURE_ID_BUFFER_AGE: number

Available if the age of #CoglOnscreen back buffers are tracked and so cogl_onscreen_get_buffer_age() can be expected to return age values other than 0.

OGL_FEATURE_ID_DEPTH_RANGE: number

cogl_pipeline_set_depth_range() support

OGL_FEATURE_ID_DEPTH_TEXTURE: number

Whether #CoglFramebuffer support rendering the depth buffer to a texture.

OGL_FEATURE_ID_FENCE: number
OGL_FEATURE_ID_GLES2_CONTEXT: number

Whether creating new GLES2 contexts is suported.

OGL_FEATURE_ID_GLSL: number

GLSL support

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_MIRRORED_REPEAT: number

Whether %COGL_PIPELINE_WRAP_MODE_MIRRORED_REPEAT is supported.

OGL_FEATURE_ID_OFFSCREEN: number

Offscreen rendering support

OGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE: number

Multisample support for offscreen framebuffers

OGL_FEATURE_ID_ONSCREEN_MULTIPLE: number

Multiple onscreen framebuffers supported.

OGL_FEATURE_ID_PER_VERTEX_POINT_SIZE: number

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

OGL_FEATURE_ID_POINT_SPRITE: number

Whether cogl_pipeline_set_layer_point_sprite_coords_enabled() is supported.

OGL_FEATURE_ID_PRESENTATION_TIME: number

Whether frame presentation time stamps will be recorded in #CoglFrameInfo objects.

OGL_FEATURE_ID_SWAP_BUFFERS_EVENT: number

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

OGL_FEATURE_ID_TEXTURE_3D: number

3D texture support

OGL_FEATURE_ID_TEXTURE_NPOT: number

Non power of two textures are supported by the hardware. This is a equivalent to the %COGL_FEATURE_ID_TEXTURE_NPOT_BASIC, %COGL_FEATURE_ID_TEXTURE_NPOT_MIPMAP and %COGL_FEATURE_ID_TEXTURE_NPOT_REPEAT features combined.

OGL_FEATURE_ID_TEXTURE_NPOT_BASIC: number

The hardware supports non power of two textures, but you also need to check the %COGL_FEATURE_ID_TEXTURE_NPOT_MIPMAP and %COGL_FEATURE_ID_TEXTURE_NPOT_REPEAT features to know if the hardware supports npot texture mipmaps or repeat modes other than %COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE respectively.

OGL_FEATURE_ID_TEXTURE_NPOT_MIPMAP: number

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

OGL_FEATURE_ID_TEXTURE_NPOT_REPEAT: number

Repeat modes other than %COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE are supported by the hardware.

OGL_FEATURE_ID_TEXTURE_RECTANGLE: number

Support for rectangular textures with non-normalized texture coordinates.

OGL_FEATURE_ID_TEXTURE_RG: number

Support for %COGL_TEXTURE_COMPONENTS_RG as the internal components of a texture.

OGL_FEATURE_ID_UNSIGNED_INT_INDICES: number

Set if %COGL_INDICES_TYPE_UNSIGNED_INT is supported in cogl_indices_new().

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method