History | View | Annotate | Download (3.4 kB)
vnc: return the number of rectangles
Some encodings like tight supports tiling (spliting inmultiple sub-rectangles). So we needed a way to tellvnc_update_client() how much rectangles are in the buffer.
zlib, raw and hextile always send a full rectangle....
vnc: split encoding in specific files
This will allow to implement new encodings (tight, zrle, ..)in a cleaner way. This may hurt performances, because somefunctions like vnc_convert_pixel are not static anymore, butshould not be a problem with gcc 4.5 and the new -flto....