Skip to content

[EGL] Use eglGetProcAddress instead of NativeLibrary.TryGetExport - #21392

Merged
MrJul merged 1 commit into
masterfrom
fixes/egl-use-get-proc-address
May 18, 2026
Merged

MrJul merged 1 commit into
masterfrom
fixes/egl-use-get-proc-address

Conversation

@kekekeks

Copy link
Copy Markdown
Member

According to the spec, "For functions that are queryable with eglGetProcAddress, implementations MAY choose to also export those functions statically from the object libraries implementing those functions. However, portable clients cannot rely on this behavior. ".

We've been relying on that "may". It's not a guarantee especially for extension functions

@avaloniaui-bot

Copy link
Copy Markdown

You can test this PR using the following package version. 12.1.999-cibuild0065521-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@MrJul MrJul left a comment

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.

LGTM!

@MrJul
MrJul enabled auto-merge May 18, 2026 15:00
@MrJul
MrJul added this pull request to the merge queue May 18, 2026
Merged via the queue into master with commit bb1598d May 18, 2026
12 checks passed
@MrJul
MrJul deleted the fixes/egl-use-get-proc-address branch May 18, 2026 18:45
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.

3 participants