You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by mike-jumper <gi...@git.apache.org> on 2017/01/28 03:26:53 UTC

[GitHub] incubator-guacamole-client pull request #113: GUACAMOLE-187: Reduce cost of ...

GitHub user mike-jumper opened a pull request:

    https://github.com/apache/incubator-guacamole-client/pull/113

    GUACAMOLE-187: Reduce cost of layer resize.

    This change reduces the overall cost of resizing a layer by:
    
    1. Resizing only in 64-pixel increments, relying on the containing `<div>` to clip to the requested size.
    2. Performing the full save/restore of image state only if there actually *is* image state to save (resizing a brand new layer is expensive otherwise).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mike-jumper/incubator-guacamole-client layer-perf

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-guacamole-client/pull/113.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #113
    
----
commit 7f176d0dd15f7c10cebc67d78737c640fb850c45
Author: Michael Jumper <mj...@apache.org>
Date:   2016-10-08T04:14:17Z

    GUACAMOLE-187: Reduce the number of full canvas copies that occur when continuously resizing a layer.

commit 053f34a54d9e283042592a6492b7bd300d2c3a19
Author: Michael Jumper <mj...@apache.org>
Date:   2016-10-08T06:08:51Z

    GUACAMOLE-187: Only preserve canvas contents during resize if there are contents to preserve.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-guacamole-client pull request #113: GUACAMOLE-187: Reduce cost of ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-guacamole-client/pull/113


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---