Skip to content

hwdec_d3d11egl: EGL_EXT_device_query is client extension - #11142

Closed
wnoun wants to merge 1 commit into
mpv-player:masterfrom
wnoun:angle-win
Closed

hwdec_d3d11egl: EGL_EXT_device_query is client extension#11142
wnoun wants to merge 1 commit into
mpv-player:masterfrom
wnoun:angle-win

Conversation

@wnoun

@wnoun wnoun commented Jan 13, 2023

Copy link
Copy Markdown
Contributor

close #10212

gl->es == 200) ||
!gl_check_extension(exts, "EGL_EXT_device_query") ||
!(gl_check_extension(client_exts, "EGL_EXT_device_query") ||
gl_check_extension(exts, "EGL_EXT_device_query")) ||

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

if its a client extension why keep the second check?

@jeeb jeeb Jan 15, 2023

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If I understand the comments in #10212 correctly, before November 2020 ANGLE exposed this in the old location, while current binaries like the one I just tested this with (https://github.com/google/gfbuild-angle/releases/tag/github%2Fgoogle%2Fgfbuild-angle%2Ff810e998993290f049bbdad4fae975e4867100ad) expose it in the new location.

This PR seems to attempt to support both ages of libraries.

edit: My slight personal opinion is that since it's already been two years and the new location seems to be the technically correct one, we might as well switch to supporting the new version only at this point?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

supporting old version is trivial work. some users may use outdated angle provided by framework(eg. qt?)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems to have gotten completely lost but given that's been yet another two years, I think only supporting the new location at this point is the way to go.

@Dudemanguy

Copy link
Copy Markdown
Member

I assume this is still an actual issue. Any takers? @kasper93 ?

@Dudemanguy

Dudemanguy commented Jul 31, 2026

Copy link
Copy Markdown
Member

#18326 (now merged) is exactly the same as this. Not sure why this never got merged. Sorry about that. Closing.

@Dudemanguy Dudemanguy closed this Jul 31, 2026
@kasper93

Copy link
Copy Markdown
Member

Oh, my bad. I had no recollection about this PR. Sorry, for pushing my version, but I did it completely separately.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hwdec_d3d11egl.c fails to init with current versions of ANGLE

5 participants