Skip to content

Allow child classes to configure the EGLDisplay.#9779

Open
haroonq wants to merge 5 commits intogoogle:mainfrom
haroonq:egl-init-display
Open

Allow child classes to configure the EGLDisplay.#9779
haroonq wants to merge 5 commits intogoogle:mainfrom
haroonq:egl-init-display

Conversation

@haroonq
Copy link
Contributor

@haroonq haroonq commented Mar 6, 2026

No description provided.

@pixelflinger pixelflinger requested review from poweifeng and z3moon March 6, 2026 17:06
@pixelflinger pixelflinger added the internal Issue/PR does not affect clients label Mar 6, 2026
@haroonq haroonq requested a review from pixelflinger March 6, 2026 23:58
PlatformEGL::ExternalImageEGL::~ExternalImageEGL() = default;

void PlatformEGL::setEglDisplay(EGLDisplay display) noexcept {
FILAMENT_CHECK_PRECONDITION(mEGLDisplay == EGL_NO_DISPLAY)
Copy link
Collaborator

Choose a reason for hiding this comment

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

you probably want to check that they don't pass EGL_NO_DISPLAY? Either we need to specifically allow it, or check for it.

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

Labels

internal Issue/PR does not affect clients

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants