What is the relationship between EGL and OpenGL?

后端 未结 3 1037
攒了一身酷
攒了一身酷 2020-12-24 03:04

I\'m writing an implementation for OpenVG and OpenGL|ES in Go, both of which depend on the Khronos EGL API, supposedly to ease portability I guess.

I\'m writing an

3条回答
  •  悲&欢浪女
    2020-12-24 04:02

    There is no relationship between OpenGL and EGL. EGL generally does not run on desktops, and there is no ability to create a desktop OpenGL context through EGL.

    OpenGL contexts are instead created and managed by platform-specific APIs. On Windows, the WGL API is used. On X11-based platforms, GLX is used. And so forth.

    There was some noise last year from Khronos about creating a version of EGL that could work on the desktop and make OpenGL contexts, but thus far, nothing came of it.

提交回复
热议问题