GithubHelp home page GithubHelp logo

Comments (6)

notgull avatar notgull commented on September 28, 2024 1

For Win32, there isn't really a concept of a display. Some structures are thread local, but overall there is very little context for the windows. Leaving it empty is probably the right choice. I am not familiar with WinRT.

Web stuff is generally contextualized by the window/document, which is often cached. But given that it can be derived from anywhere it might not be worth it.

I don't know other platforms well enough to comment on them.

from raw-window-handle.

kchibisov avatar kchibisov commented on September 28, 2024 1

The documentation, as far as I could find it, says that you're allowed to pass EGL_DEFAULT_DISPLAY (i.e. a null-ptr) on Wayland too? So why are we restricting that?

you could try, but it'll fail.

from raw-window-handle.

kchibisov avatar kchibisov commented on September 28, 2024

Everything which is not implemented is not needed or doesn't exist as a concept. I remember discussing it with you on #matrix and I told that it's more about platforms having a concept of multiple display servers, so they need a way to distinguish between them, which is only an issue on platforms with the freedom to choose the display server.

from raw-window-handle.

madsmtm avatar madsmtm commented on September 28, 2024

I do remember too, I was just unsure if we were still missing something.

I guess I'll reword that section at some point then, and then close this issue.

from raw-window-handle.

madsmtm avatar madsmtm commented on September 28, 2024

The documentation, as far as I could find it, says that you're allowed to pass EGL_DEFAULT_DISPLAY (i.e. a null-ptr) on Wayland too? So why are we restricting that?

from raw-window-handle.

madsmtm avatar madsmtm commented on September 28, 2024

And it seems like HaikuOS just got the ability to pass a handle as well, although that doesn't really sound stable yet.

from raw-window-handle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.