Igalia / cog

WPE launcher and webapp container
MIT License
236 stars 61 forks source link

drm: Detect if drivers support buffer modifiers #694

Closed aperezdc closed 6 months ago

aperezdc commented 7 months ago

Use drmGetCap() in the DRM modesetting renderer to detect whether framebuffers can be created with modifiers, instead of always trying to use them and falling back to avoid them.