[PATCH weston] compositor-fbdev: Drop intermediate shadow buffer

Pekka Paalanen ppaalanen at gmail.com
Mon Dec 7 01:55:01 PST 2015


On Fri,  4 Dec 2015 19:20:12 -0600
Derek Foreman <derekf at osg.samsung.com> wrote:

> From: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> 
> Currently the fbdev compositor has its own shadow buffer when rendering
> with pixman, causing the following copies to occur:
> 
> [pixman shadow buffer] -> [fbdev shadow buffer] -> [fbdev hardware]
> 
> As the pixman render already does all output translation when
> compositing the intermediate shadow buffer really isn't needed, so drop
> it.
> 
> As a side-effect this fixes updating the fbdev hardware for outputs not
> starting at 0x0.
> 
> Signed-off-by: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> ---
> 
> Pekka and I were talking about this earlier and remembered seeing this patch.
> 
> I thought it had already landed, but apparently not.
> 
> All I've done is rebase it, will try to get around to reviewing it next week
> as the pixman renderer is still uselessly allocating an extra shadow buffer.

You mean the fbdev-backend? ;-)

Will be good to remove a useless copy in the fbdev case indeed.


>  src/compositor-fbdev.c | 68 +++-----------------------------------------------
>  1 file changed, 3 insertions(+), 65 deletions(-)

Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

But I didn't test it.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151207/d796982f/attachment.sig>


More information about the wayland-devel mailing list