[PATCH 0/3] RDP: OpenGL hardware acceleration

Olivier Blin olivier.blin at softathome.com
Thu Jul 6 10:06:12 UTC 2017


Hello,

Please find below a patchset to provide OpenGL hardware acceleration
in the RDP backend, for review and discussion.

This reuses the patch sent by DRC, with a small fix in gl-renderer to
support PIXMAN_x8r8g8b8. It fixes the black display that was
experienced with the RPD/GL patch.

Using a GL renderer dramatically improves performance of wayland-egl
clients. With a pixman renderer and shm surfaces, wayland-egl clients
would use slow software GL renderering.

There is still an issue: the buffers are flipped vertically with GL
renderer, since the RDP backend uses internally the convention from
pixman buffers.
Maybe a yflip/vflip parameter could be added to read_pixels() functions?
It should be easy to support in pixman-renderer, since it already does
a vflip internally.

This patchset also contains a memory leak, independent of the RDP/GL support.

Cheers

DRC (1):
  rdp-backend.so: OpenGL hardware acceleration

Olivier Blin (2):
  compositor-rdp: fix leak of frame bitmap in raw mode
  gl-renderer: read PIXMAN_x8r8g8b8 as GL_BGRA_EXT

 compositor/main.c          |  23 +++-
 configure.ac               |   4 +-
 libweston/compositor-rdp.c | 323 +++++++++++++++++++++++++++++++++++++++++++--
 libweston/compositor-rdp.h |  24 ++++
 libweston/gl-renderer.c    |   1 +
 5 files changed, 361 insertions(+), 14 deletions(-)

-- 
2.13.0



More information about the wayland-devel mailing list