eglGetDisplay() issue

This topic contains 2 replies, has 2 voices, and was last updated by  kuroneko 8 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29854

    kuroneko
    Member

    I run both the GLES1.x and 2.0 SDKs on my machine. The example code uses a win32 specific display ID (in fact it’s the device context from the native window handle). That works. What doesn’t work is EGL’s default display (EGL_DEFAULT_DISPLAY). GLES does work in the background but I don’t get any display in the window.

    So is there a workaround or am I stuck with this?

    Personally I think it’s a slightly broken implementation. If the device context is required (which is reasonable) then it can always be obtained from the window surface’s native window handle at the point dpy/ctx/srf are made current. So there is no reason that the default display shouldn’t generate output.

    Thanks

    #33222

    jacekc
    Member

    Sorry for very late response.

    Currently situation looks like the way you have described. So passing EGL_DEFAULT_DISPLAY may not work under Windows. This is known issue and will be subject to reimplementation in one of our next releases (Internally the bug report was filed , BRN28615). 

    Best regards,

    #33223

    kuroneko
    Member

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.