rdp: Improve raw surfaces
authorHardening <rdp.effort@gmail.com>
Wed, 22 May 2013 21:40:20 +0000 (23:40 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 23 May 2013 01:54:00 +0000 (21:54 -0400)
commitfe36a13a8f010436a34cf05bdb000094224c3a1d
tree4dd93074bcbe8b0726c0b4e122b86e9e671e69b1
parentc39118be7ec9adac82ed41e87e5a4f85269f7392
rdp: Improve raw surfaces

This patch does miscellanous improvements with raw surfaces:
* some frames markers are sent to identify a single frame made of
multiple surface updates
* we send the dirty sub-rectangles instead of the full bouncing box
* the size of the fragmentation buffer is now honored, so that our big
surface updates don't look like a DoS
* the subtile and image flipping are done in one step (not requiring a
temporary tile)
* we don't care about the size of the dirty region and always use the
preferred codec for surface update
src/compositor-rdp.c