[Mesa-dev] [RFC] EGL extension for additional DRM_BUFFER_FORMATs

Dave Airlie airlied at gmail.com
Mon Feb 6 19:57:28 UTC 2017


>
>>
>> On 26.01.2017 12:50, Nicolai Hähnle wrote:
>> > Hi all,
>> >
>> > this is mostly motivated by the need to support more screen depths than
>> > just 24/32-bit RGB in Glamor. The extension is simple enough, just adding
>> > three more enums that are accepted.
>> >
>> > I _think_ every DRI driver that exposes EGL_MESA_drm_image should be able
>> > to support this new extension as well, since EGL_MESA_drm_image requires
>> > DRI image version 10 to be enabled, and the corresponding
>> > __DRI_IMAGE_FORMAT_* values have been there since DRI image version 5, but
>> > do let me know if that thinking is wrong.
>> >
>> > I'd like to land at least the first patch relatively quickly, to avoid future
>> > enum clashes. Internally, we had already accidentally used an enum that is
>> > used by one of the WL extensions, since those are not in the EGL registry...
>> >
>> > Please review / provide feedback!

I just saw this, EGL_MESA_drm_image is really not a good place to start,

we have two specs instead,
EGL_EXT_image_dma_buf_import.
EGL_MESA_image_dma_buf_export

does one of those not cover this?

Dave.


More information about the mesa-dev mailing list