Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor GPU: Add viewport render strategy #238487

Merged
merged 9 commits into from
Jan 22, 2025
Merged

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Jan 22, 2025

Fixes #227108 (up to 2000 columns)
Fixes #227091

This adds a new "render strategy" that is designed to only renders the data in the viewport that is switched to dynamically when line count or column count is too large for the full file render strategy. Ideally this would only do the viewport from scroll x/y, but instead the whole line is uploaded and it supports up to 2000 character lines for now as doing it this way requires no changes to the shader.

@Tyriar Tyriar added this to the January 2025 milestone Jan 22, 2025
@Tyriar Tyriar self-assigned this Jan 22, 2025
@Tyriar Tyriar changed the title Tyriar/227108 viewport render strat Editor GPU: Add viewport render strategy Jan 22, 2025
@Tyriar Tyriar marked this pull request as ready for review January 22, 2025 19:19
@Tyriar Tyriar enabled auto-merge January 22, 2025 19:19
@Tyriar Tyriar merged commit 8d4588f into main Jan 22, 2025
8 checks passed
@Tyriar Tyriar deleted the tyriar/227108_viewport_render_strat branch January 22, 2025 19:33
legomushroom pushed a commit that referenced this pull request Jan 22, 2025
…er_strat

Editor GPU: Add viewport render strategy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants