]> git.proxmox.com Git - mirror_novnc.git/commit
rfb: Use the render queue for copyrect.
authorJoel Martin <github@martintribe.org>
Thu, 17 May 2012 16:19:07 +0000 (11:19 -0500)
committerJoel Martin <github@martintribe.org>
Thu, 17 May 2012 16:24:58 +0000 (11:24 -0500)
commit72a5596e50471039e16b49f6c15d0b02576cb7ae
treea3a074d02c7c0875aa3adbf5b3126f1d6a7a9c67
parent34d8b844ae225a4b1a20b79506be8f543bda9d10
rfb: Use the render queue for copyrect.

This will keep copyrect rendering actions in order with tight and tightPNG
rendering actions (otherwise you can get visual image corruption when
they are mixed together).

Warning:

RAW, RRE and HEXTILE still use immediate render commands so there is
still the risk of out-of-order rendering if RAW, RRE, and HEXTILE are
mixed with tight and tightPNG. Copyrect will work with either because
the renderQ_push function will render copyrects immediately if they
are the only thing being pushed on the queue.
include/display.js
include/rfb.js