Skip to content

add DRI createImageWithModifiers2

Lucas Stach requested to merge lynxeye/mesa:modifier-usage into main

This breaks out the new DRI interface from !3197 (merged), as we have consensus that having DRI usage flags in addition to the modifier is something we need to properly describe some use-cases and unlock some optimizations. It also adds a helper around the various ways we now have to create a DRI image to get rid of code duplication in the various winsys.

I hope that this is a suitable base for both !4460 (closed) and !7603 (merged).

cc @daniels @emersion

Edited by Lucas Stach

Merge request reports