Skip to content

EGL_EXT_yuv_surface: moot attributes have no effect#223

Open
kusma wants to merge 1 commit intoKhronosGroup:mainfrom
kusma:yuv-surface
Open

EGL_EXT_yuv_surface: moot attributes have no effect#223
kusma wants to merge 1 commit intoKhronosGroup:mainfrom
kusma:yuv-surface

Conversation

@kusma
Copy link
Copy Markdown

@kusma kusma commented Apr 20, 2026

The attributes EGL_YUV_DEPTH_RANGE_EXT and EGL_YUV_CSC_STANDARD_EXT does not affect anything that EGL would care about. These attributes instead encodes information that each client API would have to know in order to access the data in these surfaces.

...However, the only client-api specification that uses these (GL_EXT_YUV_target) leaves this up to the fragment shader, so these attributes has no effect.

There's also not anything to match against here; color-space and ranges are typically not a part of a pixel-format specification.

The attributes EGL_YUV_DEPTH_RANGE_EXT and EGL_YUV_CSC_STANDARD_EXT
does not affect anything that EGL would care about. These attributes
instead encodes information that each client API would have to know
in order to access the data in these surfaces.

...However, the only client-api specification that uses these
(GL_EXT_YUV_target) leaves this up to the fragment shader, so these
attributes has no effect.

There's also not anything to match against here; color-space and ranges
are typically not a part of a pixel-format specification.
Copy link
Copy Markdown
Contributor

@stonesthrow stonesthrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with saying they have no effect. But I don't think we should remove any enums, they are part of API, they need to continue in the header file.

Sections: Version number and Issues will need updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants