cogl: Remove unused COGL_FEATURE_ID_ONSCREEN_MULTIPLE
https://gitlab.gnome.org/GNOME/mutter/merge_requests/866
This commit is contained in:
parent
3076895e98
commit
34a38827b7
3 changed files with 0 additions and 8 deletions
|
@ -179,8 +179,6 @@ cogl_is_context (void *object);
|
||||||
* texture.
|
* texture.
|
||||||
* @COGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE: Multisample support for
|
* @COGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE: Multisample support for
|
||||||
* offscreen framebuffers
|
* offscreen framebuffers
|
||||||
* @COGL_FEATURE_ID_ONSCREEN_MULTIPLE: Multiple onscreen framebuffers
|
|
||||||
* supported.
|
|
||||||
* @COGL_FEATURE_ID_UNSIGNED_INT_INDICES: Set if
|
* @COGL_FEATURE_ID_UNSIGNED_INT_INDICES: Set if
|
||||||
* %COGL_INDICES_TYPE_UNSIGNED_INT is supported in
|
* %COGL_INDICES_TYPE_UNSIGNED_INT is supported in
|
||||||
* cogl_indices_new().
|
* cogl_indices_new().
|
||||||
|
@ -206,7 +204,6 @@ cogl_is_context (void *object);
|
||||||
typedef enum _CoglFeatureID
|
typedef enum _CoglFeatureID
|
||||||
{
|
{
|
||||||
COGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE,
|
COGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE,
|
||||||
COGL_FEATURE_ID_ONSCREEN_MULTIPLE,
|
|
||||||
COGL_FEATURE_ID_UNSIGNED_INT_INDICES,
|
COGL_FEATURE_ID_UNSIGNED_INT_INDICES,
|
||||||
COGL_FEATURE_ID_MAP_BUFFER_FOR_READ,
|
COGL_FEATURE_ID_MAP_BUFFER_FOR_READ,
|
||||||
COGL_FEATURE_ID_MAP_BUFFER_FOR_WRITE,
|
COGL_FEATURE_ID_MAP_BUFFER_FOR_WRITE,
|
||||||
|
|
|
@ -387,8 +387,6 @@ _cogl_winsys_egl_context_init (CoglContext *context,
|
||||||
event_filter_cb,
|
event_filter_cb,
|
||||||
context);
|
context);
|
||||||
|
|
||||||
COGL_FLAGS_SET (context->features,
|
|
||||||
COGL_FEATURE_ID_ONSCREEN_MULTIPLE, TRUE);
|
|
||||||
COGL_FLAGS_SET (context->winsys_features,
|
COGL_FLAGS_SET (context->winsys_features,
|
||||||
COGL_WINSYS_FEATURE_MULTIPLE_ONSCREEN,
|
COGL_WINSYS_FEATURE_MULTIPLE_ONSCREEN,
|
||||||
TRUE);
|
TRUE);
|
||||||
|
|
|
@ -832,9 +832,6 @@ update_winsys_features (CoglContext *context, GError **error)
|
||||||
|
|
||||||
context->feature_flags |= glx_renderer->legacy_feature_flags;
|
context->feature_flags |= glx_renderer->legacy_feature_flags;
|
||||||
|
|
||||||
COGL_FLAGS_SET (context->features,
|
|
||||||
COGL_FEATURE_ID_ONSCREEN_MULTIPLE, TRUE);
|
|
||||||
|
|
||||||
if (glx_renderer->glXCopySubBuffer || context->glBlitFramebuffer)
|
if (glx_renderer->glXCopySubBuffer || context->glBlitFramebuffer)
|
||||||
{
|
{
|
||||||
CoglGpuInfo *info = &context->gpu;
|
CoglGpuInfo *info = &context->gpu;
|
||||||
|
|
Loading…
Reference in a new issue