<feed xmlns='http://www.w3.org/2005/Atom'>
<title>r-alacritty.git/alacritty/src/display, branch experimental</title>
<subtitle>My custom-patched version of alacritty.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/'/>
<entry>
<title>Add configurable crosshairs to Alacritty.</title>
<updated>2021-10-09T05:00:53+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2021-10-09T05:00:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=52f6fd90867881300aa64034dc2c698c3fda1f34'/>
<id>52f6fd90867881300aa64034dc2c698c3fda1f34</id>
<content type='text'>
This allows the user to put semitransparent rectangles around the
current cursor line and column, á la Vim's cursor line/column, but
for the whole terminal.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows the user to put semitransparent rectangles around the
current cursor line and column, á la Vim's cursor line/column, but
for the whole terminal.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'betaboon/graphics' into experimental</title>
<updated>2021-10-05T20:36:31+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2021-10-05T20:36:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=7a209fa45f1f4d07cb4a885e8ea3d03e47cf48ae'/>
<id>7a209fa45f1f4d07cb4a885e8ea3d03e47cf48ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a dotted underline feature and changed the undercurl feature to be</title>
<updated>2021-09-28T05:45:48+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2021-09-28T05:45:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=505bbdb0aa09350a2c52ede96cbacc6e9cf084a2'/>
<id>505bbdb0aa09350a2c52ede96cbacc6e9cf084a2</id>
<content type='text'>
more antialiased.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
more antialiased.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add overline attribute.</title>
<updated>2021-09-15T18:13:09+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2021-09-15T18:13:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=843583e2246a2404999b6c36293d7966cfb84334'/>
<id>843583e2246a2404999b6c36293d7966cfb84334</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added ability to set the special color for the undercur and underlines using the standard ANSI code 59</title>
<updated>2021-09-15T07:18:33+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2021-09-15T07:08:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=2ded77656793f340440fe0efb54119697bb22a1a'/>
<id>2ded77656793f340440fe0efb54119697bb22a1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a rudimentary undercurl to Alacritty. Currently does not support setting the color. That is the next task</title>
<updated>2021-09-15T06:12:07+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2021-09-15T06:12:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=d2b578e011d62311125033d895060986a96d3c88'/>
<id>d2b578e011d62311125033d895060986a96d3c88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Sixel support</title>
<updated>2021-08-17T13:44:40+00:00</updated>
<author>
<name>Ayose</name>
<email>ayosec@gmail.com</email>
</author>
<published>2021-03-10T20:21:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=0fd3793a963015e8f91021e35dbb2169d15c3211'/>
<id>0fd3793a963015e8f91021e35dbb2169d15c3211</id>
<content type='text'>
Fixes #910
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #910
</pre>
</div>
</content>
</entry>
<entry>
<title>Add option to apply opacity to all background colors</title>
<updated>2021-08-16T11:49:14+00:00</updated>
<author>
<name>Kirill Chibisov</name>
<email>contact@kchibisov.com</email>
</author>
<published>2021-08-16T11:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=c24d7dfd0d2d8849f0398d7cb1a65d6562ee7a0d'/>
<id>c24d7dfd0d2d8849f0398d7cb1a65d6562ee7a0d</id>
<content type='text'>
In some cases it could be desired to apply 'background_opacity'
to all background colors instead of just 'colors.primary.background',
thus adding an 'colors.opaque_background_colors' option to control that.

Fixes #741.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some cases it could be desired to apply 'background_opacity'
to all background colors instead of just 'colors.primary.background',
thus adding an 'colors.opaque_background_colors' option to control that.

Fixes #741.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix clippy warnings</title>
<updated>2021-07-03T03:06:52+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>contact@christianduerr.com</email>
</author>
<published>2021-07-03T03:06:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=4dd70ba3a155d1eebe38bcd5a5c4c03ca09f2fea'/>
<id>4dd70ba3a155d1eebe38bcd5a5c4c03ca09f2fea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve rendering performance</title>
<updated>2021-05-22T22:48:43+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>contact@christianduerr.com</email>
</author>
<published>2021-05-22T22:48:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=3c61e075fef7b02ae0d043e4a4e664b8bc7221e9'/>
<id>3c61e075fef7b02ae0d043e4a4e664b8bc7221e9</id>
<content type='text'>
This PR combines a couple of optimizations to drastically reduce the
time it takes to gather everything necessary for rendering Alacritty's
terminal grid.

To help with the iteration over the grid, the `DisplayIter` which made
heavy use of dynamic dispatch has been replaced with a simple addition
to the `GridIterator` which also had the benefit of making the code a
little easier to understand.

The hints/search check for each cell was always performing an array
lookup before figuring out that the cell is not part of a hint or
search. Since the general case is that the cell is neither part of hints
or search, they've been wrapped in an `Option` to make verifying their
activity a simple `is_some()` check.

For some reason the compiler was also struggling with the `cursor`
method of the `RenderableContent`. Since the iterator is explicitly
drained, the performance took a hit of multiple milliseconds for a
single branch. Our implementation does never reach the case where
draining the iterator would be necessary, so this sanity check has just
been replaced with a `debug_assert`.

Overall this has managed to reduce the time it takes to collect all
renderable content from ~7-8ms in my large grid test to just ~3-4ms.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR combines a couple of optimizations to drastically reduce the
time it takes to gather everything necessary for rendering Alacritty's
terminal grid.

To help with the iteration over the grid, the `DisplayIter` which made
heavy use of dynamic dispatch has been replaced with a simple addition
to the `GridIterator` which also had the benefit of making the code a
little easier to understand.

The hints/search check for each cell was always performing an array
lookup before figuring out that the cell is not part of a hint or
search. Since the general case is that the cell is neither part of hints
or search, they've been wrapped in an `Option` to make verifying their
activity a simple `is_some()` check.

For some reason the compiler was also struggling with the `cursor`
method of the `RenderableContent`. Since the iterator is explicitly
drained, the performance took a hit of multiple milliseconds for a
single branch. Our implementation does never reach the case where
draining the iterator would be necessary, so this sanity check has just
been replaced with a `debug_assert`.

Overall this has managed to reduce the time it takes to collect all
renderable content from ~7-8ms in my large grid test to just ~3-4ms.</pre>
</div>
</content>
</entry>
</feed>
