Skip to content

Commit 28594d9

Browse files
authored
Merge pull request #7861 from JohnVeness/gpu
2 parents 7003886 + ffe915d commit 28594d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release-notes/v1_96.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,10 +704,10 @@ This is still early and not ready to test out, but we wanted to share some detai
704704

705705
* The GPU renderer is using WebGPU behind the scenes.
706706
* We're focusing currently on feature parity and correctness over performance.
707-
* There's a fallback mechanism when GPU acceleration is enabled that allows lines to "fallback" to DOM rendering when it's not fully supported. This means that we can self-host early on and currently incompatible lines will show using the DOM approach instead. Some examples of lines that currently fallback lines over 200 characters, lines with certain monaco decorations (eg. fading unused variables), lines that wrap, and so on.
707+
* There's a fallback mechanism when GPU acceleration is enabled that allows lines to "fallback" to DOM rendering when it's not fully supported. This means that we can self-host early on and currently incompatible lines will show using the DOM approach instead. Some examples of lines that currently fallback: lines over 200 characters, lines with certain Monaco decorations (e.g. fading unused variables), lines that wrap, and so on.
708708
* Monaco's inline decorations which allow styling the actual elements containing the characters posed a big challenge for this feature as they are styled using CSS. The approach we're using to support most inline decorations without breaking or changing API is to detect the CSS attached to these decorations and then support a subset of common CSS properties, falling back if not all styles are supported.
709709

710-
Here's a screenshot of the feature in action, note the yellow line in the gutter tells us what lines are using fallback rendering. This particular case uses fallback rendering due to the `dontShow` parameter having an inline decoration as it's unused:
710+
Here's a screenshot of the feature in action. Note the yellow line in the gutter tells us what lines are using fallback rendering. This particular case uses fallback rendering due to the `dontShow` parameter having an inline decoration as it's unused:
711711

712712
![GPU rendering looks mostly the same as DOM rendering currently, a yellow line appears for lines rendered via the DOM](images/1_96/editor-gpu.png)
713713

0 commit comments

Comments
 (0)