You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2017/01/28 00:41:24 UTC

[jira] [Created] (GUACAMOLE-187) Improve performance of layer/surface resize

Michael Jumper created GUACAMOLE-187:
----------------------------------------

             Summary: Improve performance of layer/surface resize
                 Key: GUACAMOLE-187
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-187
             Project: Guacamole
          Issue Type: Improvement
          Components: guacamole-common-js, guacamole-server
            Reporter: Michael Jumper
            Assignee: Michael Jumper


Resizing a layer is an expensive operation within the client, as it requires making a full copy of the contents of the canvas backing the layer. By the standard, the contents of the canvas tag must be cleared when the size is changed, thus the Guacamole client needs to save and restore the graphical state of the canvas prior to resizing.

Similarly, on the server, resizing a surface involves allocating enough space to hold the new image and copying the data over. For large surfaces, this can be expensive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)