Commit Graph
57 Commits
Author SHA1 Message Date
Michael Jumper 5dfd49bce3 Re-license guacamole-common-js as MIT. 2014-01-01 16:04:57 -08:00
Michael Jumper f1c4187f77 Ensure layers are painted properly in Chrome when GPU compositing is enabled. 2013-12-06 15:33:05 -08:00
Michael Jumper c71ea434c9 Minor performance enhancements - do NOT take thumbnails every 1000ms, and only use transfer function if not NOP and not a simple copy. 2013-11-06 15:32:41 -08:00
Michael Jumper 4a0003b53d Fix jsdoc comments. 2013-09-02 17:41:25 -07:00
Michael Jumper 8f94b1000f Do not automatically flush layers. Add flush() function. Flush automatically on sync. 2013-07-28 00:50:24 -07:00
Michael Jumper c874fb7817 #320: Ensure source rectangle of transfer and copy is clipped to source canvas bounds. 2013-05-12 22:31:00 -07:00
Michael Jumper 3862a84014 Fix call to addEventListener (ticket #210). 2012-11-07 14:54:02 -08:00
Michael Jumper c6d12ebac0 Implement video playback in layer. 2012-10-25 14:29:57 -07:00
Michael Jumper 21fb1e92bb Fix jsdoc, add missing documentation. 2012-08-11 12:52:30 -07:00
Michael Jumper 041f22563c Revert fixes for iPad #90 due to performance regression - can avoid bug in libguac-client-rdp and friends until it is fixed upstream. 2012-04-05 15:29:55 -07:00
Michael Jumper 6e835dacdc More efficient blocking, leveraging the now-necessary image data copy. 2012-04-03 02:35:32 -07:00
Michael Jumper 9e1d2b2442 Fix iPad synchronization issue (ticket #90). 2012-04-03 02:18:47 -07:00
Michael Jumper cc6c2671ac Refactor arc to include drawing direction. 2012-03-13 18:59:57 -07:00
Michael Jumper 88e897dcd2 Refactored to more reasonable path operations. 2012-03-12 17:04:29 -07:00
Michael Jumper 6cffafad6a Reset internal stack state when stack automatically reset from resize. 2012-03-11 22:13:10 -07:00
Michael Jumper 66d3973cdc Fix reset() to properly reset EVERYTHING. 2012-03-11 21:30:00 -07:00
Michael Jumper 56facdb6b2 Implemented remaining operations as possible. 2012-03-11 21:00:08 -07:00
Michael Jumper aa1e467791 Refactor rect, rename copyRect -> copy, add several necessary operations, remove unused functions. 2012-03-11 20:16:36 -07:00
Michael Jumper 5eb316a3ba Transfer functions on abstract pixels. 2012-02-27 13:23:07 -08:00
Michael Jumper ceb94ba4c3 Actually DRAW image data. 2012-02-27 12:36:25 -08:00
Michael Jumper 02e1333e58 Initial refactor of raster operations to real transfer functions. 2012-02-27 12:23:38 -08:00
Michael Jumper 6bfa0d7ea1 Use transfer function within copy, if set. 2012-02-27 11:35:02 -08:00
Michael Jumper 7011f650c5 Implement raster operations as transfer functions, rename setChannelMask to setCompositeOperation, supporting both channel masks and binary raster operations. 2012-02-27 11:20:25 -08:00
Michael Jumper 3019b4d5cd Layer should preserve composite operation through resize. 2012-02-15 12:26:56 -08:00
Michael Jumper 663a3544ce Wrong location for declaration. 2012-02-14 23:07:39 -08:00
Michael Jumper 8cd1b3a857 Added pre-defined channel mask constants. Setting cursor layer to Guacamole.Layer.SRC. 2012-02-14 22:58:52 -08:00
Michael Jumper 0209bf448a Synchronize layers properly in copy. 2012-01-30 00:53:13 -08:00
Michael Jumper 684dcdd33f Properly block source layer until copy to destination is complete. 2012-01-26 11:48:19 -08:00
Michael Jumper 0281657078 Added Task.unblock(), updated block check and update handling mechanism. 2012-01-12 10:48:31 -08:00
Michael Jumper e776fbfcec Fix race condition where the source of a copy operation may be altered before the destination is drawn to (thus the copy may not always copy what we THINK it should be copying, especially if many buffers are repeatedly used and quickly discarded). 2012-01-10 23:06:28 -08:00
Michael Jumper 0a4931cb41 Copying from a buffer with no width/height should not fail. Hard exceptions in handlers causes layer task handling to stall. 2012-01-10 11:37:10 -08:00
Michael Jumper 935088d9d4 Relicensed as Mozilla/LGPL/GPL. 2011-12-04 17:15:18 -08:00
Michael Jumper b7a5cc7013 Fixed layer resize(), avoid multiple handlePengingTasks() calls 2011-08-18 18:00:45 -07:00
Michael Jumper 6c41eb5aad Alpha for rgba() is from 0.0 to 1.0, not 0 to 255. 2011-08-09 16:08:18 -07:00
Michael Jumper d0155cdf52 Rect and clip instructions. 2011-07-21 15:16:19 -07:00
Michael Jumper 3684bc5522 Fixed type error in copy rect of Layer. 2011-07-07 23:28:06 -07:00
Michael Jumper aea01a5cdb Better mouse state object, more JSDoc, cleanup. 2011-07-07 23:19:19 -07:00
Michael Jumper 867e64637f Fixed autosize -> layer.autosize. 2011-07-06 15:33:11 -07:00
Michael Jumper 649d873373 Finished JSDoc of Layer, more cleanup. 2011-07-06 14:39:50 -07:00
Michael Jumper 086192f414 More JSDoc, renamed Update to Task, fixed wording. 2011-07-06 13:14:40 -07:00
Michael Jumper c7b880d1bc More JSDoc. 2011-07-05 23:08:34 -07:00
Michael Jumper 3e65c46204 JSDoc + namespace, some cleanup. 2011-07-05 22:13:45 -07:00
Michael Jumper fbce63ea64 Removed keymap (merged into keyboard), fixed JS semicolons, etc. 2011-07-03 15:32:06 -07:00
Michael Jumper 64224d0937 Fixed copyrect: although synchronization was properly established, draw jobs were not properly reserved in the destination layer, so draw operations would NOT block (synchronized on source only), resulting in draw race conditions. In a copy, the destination layer should block until the source layer is ready. 2011-04-02 23:53:30 -07:00
Michael Jumper 8a6595e2db Fixed typo in copy. 2011-04-01 01:58:41 -07:00
Michael Jumper 3beb7ec1f0 Added channel mask. 2011-03-30 00:29:44 -07:00
Michael Jumper 4f656c2e94 Revert "Added busy handlers for layer, implemented ready instruction handling in client"
This reverts commit 7c3ceb1245a5e2a838811c10599b47b1578a5cf9.
2011-03-06 17:02:18 -08:00
Michael Jumper de352e7dff Added busy handlers for layer, implemented ready instruction handling in client 2011-03-05 14:47:50 -08:00
Michael Jumper 22f6c24f9b Fixed error in call to redrawCursor() and layer 2011-03-02 17:21:26 -08:00
Michael Jumper 4d1717146f Fixed layer positioning. 2011-02-20 13:50:22 -08:00