Commit Graph

2233 Commits

Author SHA1 Message Date
Kovid Goyal
a4e7985fb0 Condition on negative refs as well as in the future we will use interleaved drawing for background opacity as well 2017-10-05 18:21:29 +05:30
Kovid Goyal
9bd231c4f9 Note that integers in the protocol are 32-bit 2017-10-05 18:15:10 +05:30
Kovid Goyal
7bf8b3c3c1 ... 2017-10-05 18:10:11 +05:30
Kovid Goyal
57a6d53a45 Document the image display protocol 2017-10-05 18:08:12 +05:30
Kovid Goyal
49aeae4aad Fix invocation of the image cat script as kitty icat 2017-10-05 17:19:17 +05:30
Kovid Goyal
664975b707 Show off kitty's graphics capabilities 2017-10-05 16:49:34 +05:30
Kovid Goyal
c3ab6ff780 Fix vertically inverted rendering of PNG 2017-10-04 23:38:36 +05:30
Kovid Goyal
6ad7260871 Dont compress PNG files 2017-10-04 23:26:15 +05:30
Kovid Goyal
e8f72c90f3 Add note about needing S key for PNG + compression 2017-10-04 23:25:27 +05:30
Kovid Goyal
75244b1416 ... 2017-10-04 23:07:59 +05:30
Kovid Goyal
952f0ad98c Accommodate the underpowered Apple lineup
macOS is missing glDrawArraysInstancedBaseInstance
2017-10-04 22:44:03 +05:30
Kovid Goyal
c726a15ed4 ... 2017-10-04 21:08:28 +05:30
Kovid Goyal
5d6af442c1 Correctly query num of cols/rows in icat 2017-10-04 20:06:07 +05:30
Kovid Goyal
596a392e68 micro optimization 2017-10-04 19:46:19 +05:30
Kovid Goyal
46bb482e96 Fix y-axis mapping incorrect for images 2017-10-04 19:34:34 +05:30
Kovid Goyal
e9bc64205e Code (not working) to draw graphics 2017-10-04 18:29:48 +05:30
Kovid Goyal
8f05f752af Code to update graphics buffer 2017-10-04 17:41:11 +05:30
Kovid Goyal
124a41643f Add a comment about the use of layout locations 2017-10-04 17:29:30 +05:30
Kovid Goyal
138a37ccac Start work on the graphics program 2017-10-04 17:22:00 +05:30
Kovid Goyal
e1650d5df7 Implement interleaved drawing of cells 2017-10-04 16:11:20 +05:30
Kovid Goyal
3f615666df Call grman_update_layers 2017-10-04 15:39:31 +05:30
Kovid Goyal
96a9d64bcb A spot of refactoring 2017-10-04 15:34:54 +05:30
Kovid Goyal
bd09e2ebf1 Allow re-using VAO objects between different types of cell program 2017-10-04 15:33:15 +05:30
Kovid Goyal
ad040271b9 Initialize uniforms for all cell program variants 2017-10-04 14:46:36 +05:30
Kovid Goyal
ead73c8209 Prepare for two stage rendering of cells 2017-10-04 14:15:51 +05:30
Kovid Goyal
b032130a20 A spot of refactoring 2017-10-04 10:56:44 +05:30
Kovid Goyal
c5837d4577 More work on the iamge cat utility. Make it useable as a standalone script 2017-10-04 10:22:31 +05:30
Kovid Goyal
1a8d9314fe Fix transmission of chunked compressed data 2017-10-04 10:19:25 +05:30
Kovid Goyal
9ccf9636ce Allow running icat script outside of kitty 2017-10-03 21:37:55 +05:30
Kovid Goyal
e56042c41a Graceful handling of errors from rsvg-convert 2017-10-03 21:31:47 +05:30
Kovid Goyal
72626279c2 Start work on image cat utility 2017-10-03 21:31:42 +05:30
Kovid Goyal
acc43ce9dc Handle T action with chunked transfer correctly 2017-10-03 20:34:48 +05:30
Kovid Goyal
c87dcdbe3c Tests for displaying graphics 2017-10-03 16:10:04 +05:30
Kovid Goyal
aec1612de2 API to enable image placement tests
Also fix cursor movement handling after graphics command
2017-10-02 10:35:51 +05:30
Kovid Goyal
7c488888a0 more work on displaying graphics 2017-10-01 20:17:48 +05:30
Kovid Goyal
6d960e4130 ... 2017-10-01 09:12:14 +05:30
Kovid Goyal
3cbc20005b Implement sending of image data to GPU 2017-10-01 09:04:46 +05:30
Kovid Goyal
e2a8115328 ... 2017-09-30 18:36:25 +05:30
Kovid Goyal
28ae99ed37 More work on displaying images 2017-09-30 14:46:17 +05:30
Kovid Goyal
e5898ad4b0 More work on displaying images 2017-09-30 13:51:52 +05:30
Kovid Goyal
b722bc809c More work on displaying images 2017-09-30 13:51:52 +05:30
Kovid Goyal
710d00674a Export the free texture function 2017-09-30 13:51:52 +05:30
Kovid Goyal
9078ca975e A spot of refactoring 2017-09-30 13:51:52 +05:30
Kovid Goyal
4f98d10caa Remove the requirement to specify sizes for PNG files 2017-09-30 13:51:52 +05:30
Kovid Goyal
9e5dbb45d4 Move the graphics protocol documentation to a separate file 2017-09-30 13:51:52 +05:30
Kovid Goyal
5e5065715e ... 2017-09-30 13:51:52 +05:30
Kovid Goyal
8be7679a38 grrr 2017-09-30 13:51:52 +05:30
Kovid Goyal
6297c9a719 ... 2017-09-30 13:51:52 +05:30
Kovid Goyal
933621b038 Better libpng error handling 2017-09-30 13:51:51 +05:30
Kovid Goyal
c31e608ff9 Tests for loading PNG images 2017-09-30 13:51:51 +05:30