[Mesa-dev] [PATCH v4 0/5] EGL_KHR_partial_update support

Erik Faye-Lund erik.faye-lund at collabora.com
Wed Jul 3 09:52:06 UTC 2019


On Tue, 2019-06-25 at 18:37 +0200, Boris Brezillon wrote:
> This is an attempt at resurrecting Daniel's MR [1] which was already
> resurrecting Harish's EGL_KHR_partial_update series [2]. This version
> implements Marek's suggestion to pass the set_damage_region()
> directly
> to the gallium driver and let it decide how to handle the request.
> Some
> drivers might just calculate the damage extent (as done in Daniel's
> initial proposal and in the panfrost implementation), others might do
> extra optimizations like trying to reduce the area we're supposed to
> reload (only valid for tile-based rendering) even further.
> 
> This patch series has been tested with weston (see Daniel's MR[3]) on
> panfrost. Note that the panfrost implementation is rather simple
> (just
> limits the rendering area to the damage extent and picks the biggest
> damage rect as the only damage region) but we can improve it if we
> feel
> the need.
> 
> Any feedback and suggestions on how to do it better are welcome.
> 

I haven't looked at the panfrost end of it, but the overall approach
seems solid to me, and it solves the issue I had with the initial
approach.



More information about the mesa-dev mailing list