On 19.10.2016 01:40, Marek Olšák wrote:
* We can build upon this idea. I think the worst thing to do would be to add metadata handling to driver-agnostic userspace APIs. Really, driver-agnostic APIs shouldn't know about that, because they can't understand all the hw-specific information encoded in the metadata. Also, when you want to change the metadata format, you only have to update the affected drivers, not userspace APIs.
I don't fully agree with that. In a PRIME setting, where you have a compositor running on an integrated GPU and an application on a dGPU, there may well be a benefit to finding a tiling format that the dGPU can produce and the iGPU can consume. Admittedly I don't know whether that's actually possible today when they're from different vendors, but resigning ourselves to linear only for all time seems a bit pessimistic.
Nicolai _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel