Comments (9)
I'm aware about this technique but my understanding is that it's significantly slower than using a glyph atlas. The reason games use mesh shaders (or the more venerable, but patented Slug library) is because games require text to be drawn in a size according to their distance to the camera. Do you disagree? Are mesh shaders actually faster for our use case?
from terminal.
I'll be closing this issue for now. The good news is that I do have future improvements in mind when it comes to text rendering: In particular, I'm hoping to one day implement a "tiled deferred shading" renderer with a compute shader. The reason I didn't chose this approach for the current AtlasEngine is because this app needs to work reasonably well on some particularly bad hardware. Older Intel iGPUs don't have good support for compute shaders, but I'm worried that this is most of our users.
Yes, I'm using it, and if I switch to Direct2D, the stuttering improves, but there is still a slight stutter.
Do you by any chance use an Intel GPU?
from terminal.
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Closed similar issues:
- Graphics Improvement: Update to DXGI 1.6 (#6437), similarity score: 0.77
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from terminal.
I don't know anything about the low-level details of this 😅, you certainly know more about it than I do. But I was extremely impressed with the original WebGL demo of this, zooming and panning without any stuttering. Windows Terminal only achieves the same smoothness when scrolling vertically via trackpad.
from terminal.
Wow yeah that demo is definitely really cool, especially when using Alt+Mouse. The author does note though:
This technique is harder on the GPU than atlas textures but avoids the need to use the CPU to render at runtime when a required glyph size is missing.
Since we mostly scroll text if anything, and don't really zoom or scale a lot, I think atlases may still have the best performance.
Windows Terminal only achieves the same smoothness when scrolling vertically via trackpad.
Do you mean to say that zooming is slow/stuttery for you? If so, I'm assuming this is when you use the newer AtlasEngine text renderer, right?
from terminal.
Do you mean to say that zooming is slow/stuttery for you? If so, I'm assuming this is when you use the newer AtlasEngine text renderer, right?
The AtlasEngine option disappeared in WT Canary, I guess Direct3D11 is the AtlasEngine. Yes, I'm using it, and if I switch to Direct2D, the stuttering improves, but there is still a slight stutter.
from terminal.
Do you by any chance use an Intel GPU?
I'm using RTX3080. Intel UHD750 is laggy running anything on 4K monitors.
from terminal.
Do you use G-SYNC? If so, what happens if you disable that?
from terminal.
Do you use G-SYNC? If so, what happens if you disable that?
I disabled GSYNC, enabled it on only makes it worse.
from terminal.
Related Issues (20)
- [Windows Terminal]: Selected state of controls present in 'Find' is not visible properly in dark mode. HOT 3
- [WCAG 2.2] [Windows Terminal - Multiple Tab]: No single pointer alternative is provided to move the tabs. HOT 5
- [Windows Terminal - Settings - Startup]: No number is shown for the 'Launch size' and 'Launch parameters' group controls by 'Show numbers' command of Voice Access. HOT 2
- [Windows Terminal - Settings]: In dark mode, Luminosity ratio for 'Reset to inherited value' icon is '2.6:1', which is less than required '3:1'. HOT 2
- ClosePseudoConsole does not close the process handle to conhost HOT 3
- Arabic rendered as Left to Right HOT 2
- error 2147942487 HOT 3
- Allow remapping of experimental.repositionCursorWithMouse to use key bindings such as Alt + Left Click HOT 2
- The Thai language displays incorrectly in the Windows terminal. HOT 2
- [Windows Terminal]: Name of the current tab is not visible in high contrast desert theme.
- [Windows Terminal - Command Palette]: 'Shortcut keys' in 'Command Palette' are not visible in high contrast themes for focused or hovered rows.
- [Windows Terminal - Settings]: 'Settings' tab does not open in high contrast 'Aquatic' or 'Desert' themes.
- [Windows Terminal - Settings - Defaults]: Unable to navigate 'Font face' suggestions using keyboard in Appearance settings. HOT 1
- [
- keybindings marked deprecated in preview $schema HOT 3
- Terminal runs as an administrator but no response HOT 2
- Starting Admin PowerShell Terminal window via taskbar right-click opens multiple windows HOT 1
- Command line "-F" (fullscreen) in an already running instance? HOT 4
- changing the app name independently of the language settings HOT 1
- Clipboard gets overridden when pasting to a tab with a previous selection with right click or Shift+Insert, when copy-on-select is enabled HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terminal.