Skip to content

Explore GPU rendering in the editor #162445

Closed

Description

@Tyriar

I did an exploration recently into using webgl in the editor by forking/integrating xterm.js' renderer into monaco. The results look very promising, here is a summary:

  • There are big wins to FPS/scrolling performance and overall smoothness of the application, especially for average/old hardware.
  • We could introduce an experimental renderer and progressively "upgrade" parts of Monaco as needed
  • Regardless of whether we pursue GPU acceleration, we should fine tune input latency performance Optimize editor for input latency #161622

Exploration branch: https://github.com/microsoft/vscode/tree/tyriar/webgl_monaco

Activity

  1. added
    feature-request
    editor-rendering
    on Sep 30, 2022
  2. added this to the On Deck milestone on Sep 30, 2022
  3. Tyriar commented on Dec 13, 2023

    @Tyriar
    ContributorAuthor

    Closing as the exploration was done, we may or may not do this in the future. The main concern is it's a lot of effort to create and maintain given my experience doing the terminal renderer. Especially since monaco relies on a lot of DOM functionality and accessibility is a big headache when using canvas.

  4. locked and limited conversation to collaborators on Jan 28, 2024
  5. Tyriar commented on Jul 8, 2024

    @Tyriar
    ContributorAuthor

    New issue for this feature: #221145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

editor-renderingfeature-requestperf

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions