Skip to content

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

Merged
pmuetschard merged 3 commits intogoogle:masterfrom
pmuetschard:timing
Nov 3, 2017
Merged

Fixes various model loading timing issues when loading multiple captures.#1331
pmuetschard merged 3 commits intogoogle:masterfrom
pmuetschard:timing

Conversation

@pmuetschard
Copy link
Copy Markdown
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
Copy Markdown
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