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

Fixes various model loading timing issues when loading multiple captures. #1331

Merged
merged 3 commits into from
Nov 3, 2017

Conversation

pmuetschard
Copy link
Member

@pmuetschard pmuetschard commented Nov 3, 2017

  • Fixes the "hanging shader view" bug.
    When selecting a command at a point in the trace where all shaders have been created, then opening/capturing another trace, will cause the shader view to stop updating itself, unless a command is selected in the (new) trace before all shaders were created.
  • Fixes an issue with the filmstrip when opening multiple captures.
    The timeline model did not reset itself when opening a new capture, but delayed the reset until the contexts were loaded. This caused the filmstrip to be in a bad state in the time between the new capture being loaded and the contexts of the new capture being loaded. At best this caused the old thumbnails to re-appear and at worst an error dialog, if the selection would be out of bounds in the new capture.
  • Reset the atom tree model when a new capture is loaded.

When selecting a command at a point in the trace where all shaders have
been created, then opening/capturing another trace, will cause the shader
view to stop updating itself, unless a command is selected in the (new)
trace before all shaders were created.

Fixes google#1195
Fixes google#1309
The timeline model did not reset itself when opening a new capture, but
delayed the reset until the contexts were loaded. This caused the
filmstrip to be in a bad state in the time between the new capture being
loaded and the contexts of the new capture being loaded. At best this
caused the old thumbnails to re-appear and at worst an error dialog, if
the selection would be out of bounds in the new capture.
Copy link
Contributor

@ben-clayton ben-clayton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants