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

Software Rendering #166

Open
4 of 6 tasks
christianparpart opened this issue Feb 9, 2021 · 4 comments
Open
4 of 6 tasks

Software Rendering #166

christianparpart opened this issue Feb 9, 2021 · 4 comments
Labels
enhancement New feature or request frontend Contour Terminal Emulator (GUI frontend)

Comments

@christianparpart
Copy link
Member

christianparpart commented Feb 9, 2021

Add an alternative to the OpenGLRenderer for Software based rendering

Should be usable by #161.

checklist

  • RenderTarget interface
  • OpenGLRenderTarget to inherit from interface
  • Extract all but OpenGL code away from QOpenGLWidget specialized class (TerminalWidget named currently)
  • config option for choosing initial render target
  • SoftwareRenderTarget
  • add config action switching render target by input mapping (shortcuts) at runtime

Should ideally support RGBA (for Software based rendering alternative to OpenGL) and RGB for simple unit testing of the screen rendering (text, complex unicode, images, emoji) .

@christianparpart christianparpart added this to the 0.4.0 milestone Jun 14, 2021
@christianparpart christianparpart added frontend Contour Terminal Emulator (GUI frontend) and removed GL terminal view labels Jun 24, 2021
@WSLUser
Copy link

WSLUser commented Jun 28, 2021

See microsoft/terminal#1263 for DirectWrite.

@data-man
Copy link
Contributor

https://blend2d.com ?

@christianparpart
Copy link
Member Author

Note to myself: Qt::AA_UseSoftwareOpenGL should do it, too, and can be mapped to a config setting.

  • Is this runtime-switchable? (don't think so)
  • Performance implications? Test how rendering performance changes (needs performance metrics first) :D

@christianparpart
Copy link
Member Author

Note to myself:

A QPainter based (software) renderer should be actually not harder than the OpenGL render target.

We have more and more users (to it seems) that are running on OpenGL 2.0 / 2.1 devices.

@christianparpart christianparpart removed this from the 2023-1 milestone Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend Contour Terminal Emulator (GUI frontend)
Projects
None yet
Development

No branches or pull requests

3 participants