[Mesa-dev] [PATCH 0/6] Support for 10 bpc EGLSurface

Kristian Høgsberg krh at bitplanet.net
Sun Sep 15 00:16:42 PDT 2013


Hi,

This little series adds support for creating EGLSurfaces with color buffers
using the ARGB2101010 pixel format.  We the new KMS addFB2 ioctl we can
create KMS framebuffers with that format and this series ends up adding
the pixel format to gbm so we can generate buffers with that format.

The first two patches make sure we don't advertise ARGB2101010 configs that
you can use with an ARGB8888 X window.  The X visual to EGL config
matching just compares visual depth and EGL config buffer size, and they're
both 32 bits for those two pixel formats.  Unless we match on the
pixel layout, we will advertise EGLConfigs with 10 bpc that you can use
with a ARGB8888 X window.

With this patch series, I can run weston on KMS in 10 bpc, but anything that
uses gbm will benefit from this.  We also add support for 10 bpc
GLX pixmaps and pbuffers.

Kristian



More information about the mesa-dev mailing list