Commit Graph
48 Commits
Author SHA1 Message Date
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
Michael Jumper 4571135a08 More efficient layer implementation (job queue, rather than array + ids... should be less mem) 2011-02-20 13:20:17 -08:00
Michael Jumper 25fd42afea Fixed deadlock in layer 2011-02-15 18:46:02 -08:00
Michael Jumper fabeca7414 copyRect should be synchronized with source layer/buffer's updates (as it may not be finished drawing by the time a copy is issued) 2011-02-12 18:22:39 -08:00
Michael Jumper 0590170712 Added autosize to layer 2011-02-12 16:14:29 -08:00
Michael Jumper 0ad9127a68 True layer and buffer support (not stub) 2011-02-12 14:07:12 -08:00
Michael Jumper 3d3aad76c9 Stub implementation of layer/buffer support (initial compat for new version of protocol) 2011-02-12 01:35:32 -08:00
Michael Jumper 098a521a4b Initial commit 2011-01-22 22:08:14 -08:00