-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Improve UI performance with QOpenGLWidget. #1974
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
Closed
Closed
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
650114d
Replace usage of deprecated QGLWidget with QOpenGLWidget.
sgielen 893596b
Merge branch 'master' into qopenglwidget
rryan a4cdf99
Merge remote-tracking branch 'mixxxdj/master' into qopenglwidget2
rryan ad89986
Merge remote-tracking branch 'mixxxdj/master' into qopenglwidget2
rryan e6e2305
Fix method collision between WaveformWidgetAbstract and QOpenGLWidget.
rryan eb7b2b1
Fix more QGLWidget references that were added in 2.2.
rryan fe011ae
Remove WSpinny "No OpenGL" fallback.
rryan 793af64
Migrate GLSLWaveformRendererSignal to QtOpenGL.
rryan 6f0d70d
Remove checks that QWidget::windowHandle()->isExposed() for QtOpenGLW…
rryan 00b8e7c
Remove setAutoBufferSwap.
rryan 1fcc1b5
Replace QGLFormat::setDefaultFormat with QSurfaceFormat::setDefaultFo…
rryan 95933b1
Update OpenGL version detection to use QSurfaceFormat.
rryan 569a99f
Call QOpenGLWidget::resizeEvent from WSpinny::resizeEvent.
rryan 0d78720
Restructure the flow of rendering QOpenGLWidgets.
rryan a1a8857
Render widgets immediately via WaveformWidgetAbstract::renderOnNextTick.
rryan 98bd81e
Rename VSyncThread to RenderThread and delete some unused code.
rryan 05f5fb2
Use Qt 5-style connect function.
rryan d4bdd92
Disable the broken FormatKiloSeconds test.
rryan 76f9b1f
Merge remote-tracking branch 'upstream/master' into qopenglwidget
daschuer 4de038f
Fix and improve the OpenGL status info
daschuer bd90b75
Merge branch 'star-co' of https://github.com/ronso0/mixxx into qopeng…
daschuer 319d5fd
Merge pull request #15 from daschuer/qopenglwidget
rryan 35a11cc
Merge branch 'master' into qopenglwidget
rryan d9e434c
Update CMakeLists.txt to include added/removed files.
rryan c6ad608
Remove unused header inclusion.
rryan 2876411
Use a range-based for loop.
rryan f4500ac
Rename getAtNextSwap to getPlayPositionAtNextSwap to be more explicit.
rryan 99f6e5b
Fix mistakes made when merging.
rryan a1cc05d
No need to guard QWidget::update() with isVisible(), since update doe…
rryan 1e5cafb
Clarify and update some comments. Remove commented debugging printlines.
rryan 53f6e16
Restore QOpenGLWidget::makeCurrent() calls in constructors.
rryan 120976f
Move all OpenGL work out of constructors.
rryan 8644fc6
Revert "Restore QOpenGLWidget::makeCurrent() calls in constructors."
rryan ea9f91d
Rework WaveformWidgetFactory initialization so that it has access to …
rryan ada2b2a
Fix the Windows build with Qt 5.14.2.
JosepMaJAZ 6860728
Attempt to fix the AppVeyor build when mkdir fails due to %ENVIRONMEN…
rryan 44b2030
Use setFrameRate to set the configured FPS in WaveformWidgetFactory::…
rryan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,7 @@ | ||
| //#version 100 | ||
| #version 120 | ||
|
|
||
| void main(void) | ||
| { | ||
| gl_TexCoord[0] = gl_MultiTexCoord0; | ||
| gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -151,4 +151,5 @@ TEST_F(DurationUtilTest, FormatKiloSeconds) { | |
| } | ||
|
|
||
|
|
||
|
|
||
| } // anonymous namespace | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.