Commit Graph

8 Commits (df9ca2e0ce839c53699fd6b9e12d3a84e8ac013b)

Author SHA1 Message Date
Pierre Ossman 073737c8ac Handle empty rects from the server
These are very pointless for the server to send, but not a violation of
the protocol so we need to be able to handle them. We've seen this
happen in real world scenarios a few times.
4 years ago
Pierre Ossman ae1bc396bf Standardise on a single blit function
Keep everything simpler by always blitting in the same pixel format.
It's up to the decoders to convert if they need to.
4 years ago
Pierre Ossman c7a7ce70be Fix bad BasicCompression check in Tight decoder 4 years ago
Niko Lehto 9ca647667b Split api of inflate
Added ability to read data chunk wise.
4 years ago
Niko Lehto b690ae4c2d Move error handling to Inflate class
Every call wants this check so this should be done inside the class.
4 years ago
Niko Lehto 0b19961b06 Remove unused inflate argument
The value true was an invalid flush argument so it was in practice
unused.
4 years ago
Samuel Mannehed 0dcb896920 Update copyright to 2019 for modified files 4 years ago
matt 408c005d3e Initial commit 5 years ago