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

don't use opengl for all windows #2721

Closed
totaam opened this issue Apr 8, 2020 · 4 comments
Closed

don't use opengl for all windows #2721

totaam opened this issue Apr 8, 2020 · 4 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Apr 8, 2020

Issue migrated from trac ticket # 2721

component: client | priority: major | resolution: fixed

2020-04-08 14:32:49: antoine created the issue


The point of using opengl for rendering windows is the performance: we take advantage of the GPU for painting YUV directly, we can handle repaints very quickly.

For many types of windows, this is not particularly useful: tooltips, menus don't last long enough do benefit. There can be many small windows, we don't need to register an opengl contect for every one of them.
And in some cases it can actually be detrimental (crashes: #2669).

@totaam
Copy link
Collaborator Author

totaam commented Apr 8, 2020

2020-04-08 14:34:34: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Apr 8, 2020

2020-04-08 14:34:34: antoine set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Apr 8, 2020

2020-04-08 14:34:34: antoine commented


Done in r26044.

@totaam totaam closed this as completed Apr 8, 2020
@totaam
Copy link
Collaborator Author

totaam commented Apr 18, 2020

2020-04-18 16:15:32: antoine commented


See also: #2735 (skip using opengl for 'text' windows)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant