Commit Graph

  • 836e9d98b4 Forgot to actually switch grman on buffer switch Kovid Goyal 2017-10-07 10:12:16 +05:30
  • d5088a3e5b Do image clipping using OpenGL rather than on the CPU Kovid Goyal 2017-10-07 10:08:26 +05:30
  • 3a344d86fe Add graphics protocol detection to icat.py Kovid Goyal 2017-10-07 09:01:31 +05:30
  • 6a65f23f98 Add a a=q mode for querying without storing image data Kovid Goyal 2017-10-06 23:43:42 +05:30
  • 9e284442e8 ... Kovid Goyal 2017-10-06 23:11:14 +05:30
  • 135358423c Remove use of random data in the tests Kovid Goyal 2017-10-06 22:52:50 +05:30
  • 31173245f8 Send ACKs to client when displaying images by id Kovid Goyal 2017-10-06 22:39:17 +05:30
  • ad5a276ddb Fix test broken by clipping of images to screen area Kovid Goyal 2017-10-06 22:34:21 +05:30
  • 4bc852e615 A spot of refacatoring Kovid Goyal 2017-10-06 21:36:54 +05:30
  • d4e493727e Clip all rendered images to screen boundaries Kovid Goyal 2017-10-06 21:22:52 +05:30
  • 8d3ec7451b typo Kovid Goyal 2017-10-06 21:14:39 +05:30
  • 652e1084bc ... Kovid Goyal 2017-10-06 21:10:45 +05:30
  • a9d31541c1 Implement clipped scrolling of images when in page area mode Kovid Goyal 2017-10-06 21:08:10 +05:30
  • 480645877a Clear graphics when switching to the alternate screen buffer Kovid Goyal 2017-10-05 23:01:47 +05:30
  • 600bff73d6 Off-by-one for image visibility testing Kovid Goyal 2017-10-05 22:54:52 +05:30
  • 1c9612bd55 Turn on LTO for release builds Kovid Goyal 2017-10-05 21:18:21 +05:30
  • 259e01e879 Add test for deleting images after they scroll off Kovid Goyal 2017-10-05 21:14:56 +05:30
  • 240c9b5d8b A spot of refactoring Kovid Goyal 2017-10-05 20:54:45 +05:30
  • 689227dce4 Scroll images with text Kovid Goyal 2017-10-05 20:23:32 +05:30
  • a4e7985fb0 Condition on negative refs as well as in the future we will use interleaved drawing for background opacity as well Kovid Goyal 2017-10-05 18:21:29 +05:30
  • 9bd231c4f9 Note that integers in the protocol are 32-bit Kovid Goyal 2017-10-05 18:15:10 +05:30
  • 7bf8b3c3c1 ... Kovid Goyal 2017-10-05 18:10:11 +05:30
  • 57a6d53a45 Document the image display protocol Kovid Goyal 2017-10-05 18:08:12 +05:30
  • 49aeae4aad Fix invocation of the image cat script as kitty icat Kovid Goyal 2017-10-05 17:19:17 +05:30
  • 664975b707 Show off kitty's graphics capabilities Kovid Goyal 2017-10-05 16:49:34 +05:30
  • c3ab6ff780 Fix vertically inverted rendering of PNG Kovid Goyal 2017-10-04 23:38:36 +05:30
  • 6ad7260871 Dont compress PNG files Kovid Goyal 2017-10-04 23:26:15 +05:30
  • e8f72c90f3 Add note about needing S key for PNG + compression Kovid Goyal 2017-10-04 23:25:27 +05:30
  • 75244b1416 ... Kovid Goyal 2017-10-04 23:07:59 +05:30
  • 952f0ad98c Accommodate the underpowered Apple lineup Kovid Goyal 2017-10-04 21:54:59 +05:30
  • c726a15ed4 ... Kovid Goyal 2017-10-04 21:08:28 +05:30
  • 5d6af442c1 Correctly query num of cols/rows in icat Kovid Goyal 2017-10-04 20:06:07 +05:30
  • 596a392e68 micro optimization Kovid Goyal 2017-10-04 19:46:19 +05:30
  • 46bb482e96 Fix y-axis mapping incorrect for images Kovid Goyal 2017-10-04 19:34:34 +05:30
  • e9bc64205e Code (not working) to draw graphics Kovid Goyal 2017-10-04 18:29:48 +05:30
  • 8f05f752af Code to update graphics buffer Kovid Goyal 2017-10-04 17:41:11 +05:30
  • 124a41643f Add a comment about the use of layout locations Kovid Goyal 2017-10-04 17:29:30 +05:30
  • 138a37ccac Start work on the graphics program Kovid Goyal 2017-10-04 17:22:00 +05:30
  • e1650d5df7 Implement interleaved drawing of cells Kovid Goyal 2017-10-04 16:11:20 +05:30
  • 3f615666df Call grman_update_layers Kovid Goyal 2017-10-04 15:39:31 +05:30
  • 96a9d64bcb A spot of refactoring Kovid Goyal 2017-10-04 15:34:54 +05:30
  • bd09e2ebf1 Allow re-using VAO objects between different types of cell program Kovid Goyal 2017-10-04 15:33:15 +05:30
  • ad040271b9 Initialize uniforms for all cell program variants Kovid Goyal 2017-10-04 14:46:36 +05:30
  • ead73c8209 Prepare for two stage rendering of cells Kovid Goyal 2017-10-04 14:15:51 +05:30
  • b032130a20 A spot of refactoring Kovid Goyal 2017-10-04 10:56:44 +05:30
  • c5837d4577 More work on the iamge cat utility. Make it useable as a standalone script Kovid Goyal 2017-10-04 10:22:31 +05:30
  • 1a8d9314fe Fix transmission of chunked compressed data Kovid Goyal 2017-10-04 10:19:25 +05:30
  • 9ccf9636ce Allow running icat script outside of kitty Kovid Goyal 2017-10-03 21:37:55 +05:30
  • e56042c41a Graceful handling of errors from rsvg-convert Kovid Goyal 2017-10-03 21:29:06 +05:30
  • 72626279c2 Start work on image cat utility Kovid Goyal 2017-10-03 21:20:18 +05:30
  • acc43ce9dc Handle T action with chunked transfer correctly Kovid Goyal 2017-10-03 20:34:48 +05:30
  • c87dcdbe3c Tests for displaying graphics Kovid Goyal 2017-10-03 16:10:04 +05:30
  • aec1612de2 API to enable image placement tests Kovid Goyal 2017-10-02 10:35:51 +05:30
  • 7c488888a0 more work on displaying graphics Kovid Goyal 2017-10-01 20:17:48 +05:30
  • 6d960e4130 ... Kovid Goyal 2017-10-01 09:12:14 +05:30
  • 3cbc20005b Implement sending of image data to GPU Kovid Goyal 2017-10-01 09:04:46 +05:30
  • e2a8115328 ... Kovid Goyal 2017-09-30 18:36:25 +05:30
  • 28ae99ed37 More work on displaying images Kovid Goyal 2017-09-30 14:46:17 +05:30
  • e5898ad4b0 More work on displaying images Kovid Goyal 2017-09-29 10:00:21 +05:30
  • b722bc809c More work on displaying images Kovid Goyal 2017-09-29 09:29:15 +05:30
  • 710d00674a Export the free texture function Kovid Goyal 2017-09-29 07:53:13 +05:30
  • 9078ca975e A spot of refactoring Kovid Goyal 2017-09-29 07:21:53 +05:30
  • 4f98d10caa Remove the requirement to specify sizes for PNG files Kovid Goyal 2017-09-29 06:52:53 +05:30
  • 9e5dbb45d4 Move the graphics protocol documentation to a separate file Kovid Goyal 2017-09-29 06:36:04 +05:30
  • 5e5065715e ... Kovid Goyal 2017-09-28 21:40:28 +05:30
  • 8be7679a38 grrr Kovid Goyal 2017-09-28 21:40:13 +05:30
  • 6297c9a719 ... Kovid Goyal 2017-09-28 20:26:44 +05:30
  • 933621b038 Better libpng error handling Kovid Goyal 2017-09-28 20:26:06 +05:30
  • c31e608ff9 Tests for loading PNG images Kovid Goyal 2017-09-28 20:03:26 +05:30
  • 671bcafee5 Dont carry the fd around Kovid Goyal 2017-09-28 17:39:32 +05:30
  • c01f009e42 Remove sz requirement and implement proper fix for failure to mmap shm objects on OS X. Apparently they have to be mapped shared. Kovid Goyal 2017-09-28 17:34:22 +05:30
  • dbd7ec5b27 Allow specifying the offset and size for reading data from files Kovid Goyal 2017-09-28 17:09:57 +05:30
  • 898136dbdc Free the mapped file early if possible Kovid Goyal 2017-09-28 16:58:28 +05:30
  • ef91f9dc8f Use fstat to get SHM file size instead of seeking Kovid Goyal 2017-09-28 16:48:08 +05:30
  • bfd7675639 ... Kovid Goyal 2017-09-28 16:34:34 +05:30
  • b644d4620a OS X does not support write() with shared memory Kovid Goyal 2017-09-28 16:29:12 +05:30
  • 03dd6e0490 Test for image loading from shared memory Kovid Goyal 2017-09-28 16:11:28 +05:30
  • dfca991173 Test for loading image data from file Kovid Goyal 2017-09-28 14:18:54 +05:30
  • 13c4c605b3 Prevent loading of too large PNG images Kovid Goyal 2017-09-28 13:53:12 +05:30
  • 8e5c4b6f7a Require data size to be sent for PNG format Kovid Goyal 2017-09-28 13:50:28 +05:30
  • d0d769f26b Test for zlib de-compression Kovid Goyal 2017-09-28 13:20:48 +05:30
  • 558b208edd Fix compressed key not being parsed Kovid Goyal 2017-09-28 13:18:46 +05:30
  • 35acb1497a Fix chunked loading of images Kovid Goyal 2017-09-28 13:01:13 +05:30
  • 8cd1f76d2b Framework for testing loading of images Kovid Goyal 2017-09-28 12:40:55 +05:30
  • f0ee728b94 Fix failing flake Kovid Goyal 2017-09-28 11:23:53 +05:30
  • b4a96428f3 DRYer Kovid Goyal 2017-09-28 11:15:53 +05:30
  • 7d6d8efc26 ... Kovid Goyal 2017-09-28 10:47:06 +05:30
  • f3ee3784f7 Fix longjmp handling when calling libpng Kovid Goyal 2017-09-28 10:45:31 +05:30
  • 7da08d37d2 File to host graphics tests Kovid Goyal 2017-09-28 09:33:53 +05:30
  • 23c2bdb6f0 Dont silently wrap too large ids, instead ignore the graphics command Kovid Goyal 2017-09-28 08:32:48 +05:30
  • 7736629bc4 Fix graphics id not going upto UINT32_MAX Kovid Goyal 2017-09-28 08:20:53 +05:30
  • 204bd97198 Nicer error responses on bad graphics data Kovid Goyal 2017-09-28 08:08:06 +05:30
  • 2786976c63 ... Kovid Goyal 2017-09-27 20:23:35 +05:30
  • 7567f96a34 Python API to get image data from gr. manager for tests Kovid Goyal 2017-09-27 20:18:41 +05:30
  • cf33ef8666 ... Kovid Goyal 2017-09-27 19:32:48 +05:30
  • 9860ed544f Respond to load commands when an id is present Kovid Goyal 2017-09-27 18:27:36 +05:30
  • 9601ed79f1 Travis build fixes Kovid Goyal 2017-09-27 18:07:48 +05:30
  • e5b5fb2773 fmt defaults to RGBA and ignore add commands for images with no width/height Kovid Goyal 2017-09-27 17:53:46 +05:30
  • 01fb9436dd Code to read compressed and PNG encoded image data Kovid Goyal 2017-09-27 17:31:11 +05:30
  • df1e06ec2c DRYer Kovid Goyal 2017-09-27 14:25:23 +05:30