Re: KMS/DRM context for the GL/GLES renderer
"sigmaris" <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
Yes, if you're talking about rendering 2D using SDL's built-in renderers, it would need to use the OpenGL renderer as there's no support for blitting pixels directly to a GBM surface. In theory, the driver could choose between creating KMS "dumb buffers" which can be blitted to, or GBM surfaces which can be drawn to using EGL + OpenGL, but right now it only creates a GBM surface and so can only support rendering using EGL + OpenGL. It was originally based on the Raspberry Pi dispmanx driver which has the same approach & limitations. _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org