RE: [PATCH weston 6/7] gl-renderer: implement surface_copy_content

2015-02-19 Thread Tanibata, Nobuhiko (ADITJ/SWG)
> -Original Message- > From: wayland-devel > [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of > Pekka Paalanen > Sent: Friday, February 13, 2015 7:02 PM > To: wayland-devel@lists.freedesktop.org > Cc: Pekka Paalanen > Subject: [PATCH weston 6/7

[PATCH weston 6/7] gl-renderer: implement surface_copy_content

2015-02-13 Thread Pekka Paalanen
From: Pekka Paalanen Taking the easy way, always do a rendering pass when copying any real buffer or texture. Will handle YUV formats, and makes it easy to always return data the right y-direction up. All the FBO GL state is created and torn down on every invocation, so this is a pretty naive im