Skip to content

context_angle: remove the D3D9 renderer - #18328

Open
JuliusBairaktaris wants to merge 1 commit into
mpv-player:masterfrom
JuliusBairaktaris:angle-d3d9-define
Open

context_angle: remove the D3D9 renderer#18328
JuliusBairaktaris wants to merge 1 commit into
mpv-player:masterfrom
JuliusBairaktaris:angle-d3d9-define

Conversation

@JuliusBairaktaris

@JuliusBairaktaris JuliusBairaktaris commented Aug 1, 2026

Copy link
Copy Markdown

ANGLE removed its D3D9 backend along with EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE, so context_angle.c no longer builds against current ANGLE headers.

CI does not catch it because the mingw job installs no ANGLE headers, so egl-angle auto-detects to disabled and the file is never built.

Also drops the d3d9 value of --angle-renderer and its documentation. Verified the file still compiles with -Degl-angle-win32=enabled against current headers.

Copilot AI review requested due to automatic review settings August 1, 2026 03:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@CounterPillow

Copy link
Copy Markdown
Contributor

? why vendor the constant when the backend was removed, whatever it's used for won't work

ANGLE removed its D3D9 backend along with
EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE, so context_angle.c no longer builds
against current ANGLE headers.

Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
@JuliusBairaktaris

Copy link
Copy Markdown
Author

Fair point, dropped the backend instead of vendoring the constant. Also removes the option value and its documentation.

Verified context_angle.c still compiles with -Degl-angle-win32=enabled against current ANGLE headers.

@JuliusBairaktaris JuliusBairaktaris changed the title context_angle: define EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE if missing context_angle: remove the D3D9 renderer Aug 1, 2026
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.

3 participants