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

Update Perfetto & UI to show vulkan debug markers in the properties pane #3697

Merged

Conversation

silence-do-good
Copy link
Contributor

The debug markers are now direct fields in the gpu_slice table and this
requires some UI changes to be shown properly.

Bug: 140590067

Copy link
Contributor

@lpy lpy left a comment

Choose a reason for hiding this comment

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

Looks good to me overall, would like Pascal to do another sanity check on the UI.

private final String table;
private final long trackId;
protected final String table;
protected final long trackId;
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's reorder these to put protected and private together

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think its better to have all the queries together for a neater look. But I can reorder them if needed.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, let's not impose arbitrary ordering.

@silence-do-good silence-do-good force-pushed the RemoveFrameBufferHandle branch 4 times, most recently from f6eb510 to 4083f8a Compare January 28, 2020 01:16
@silence-do-good silence-do-good force-pushed the RemoveFrameBufferHandle branch 2 times, most recently from dfdc73e to c855d25 Compare January 28, 2020 20:21
private final String table;
private final long trackId;
protected final String table;
protected final long trackId;
Copy link
Member

Choose a reason for hiding this comment

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

Yes, let's not impose arbitrary ordering.

}
}

public static class RenderStageInfo {
Copy link
Member

Choose a reason for hiding this comment

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

I know you've been going the rounds about this name, so ignore this if you are tired of renaming this:

I don't like the name "Render Stages". It's not standard. We should call it VulkanInfo or maybe ApiInfo. Definitely change the label in the UI to not mention "Render Stages".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed it to Vulkan Info in the UI for now.. Leaving the class name as is and can be changed later.

The debug markers are now direct fields in the gpu_slice table and this
requires some UI changes to be shown properly.

Bug: 140590067
@silence-do-good silence-do-good force-pushed the RemoveFrameBufferHandle branch from c855d25 to a32810d Compare January 29, 2020 19:44
@@ -163,7 +163,7 @@ def gapid_dependencies(android = True, mingw = True, locals = {}):
name = "perfetto",
locals = locals,
remote = "https://android.googlesource.com/platform/external/perfetto",
commit = "975bbd74e6b1d7da8dbdaaeec9191fb28471ed2c",
commit = "15c8c3e5af6e843dfcaf036333b7ccdfbb1b725f",
Copy link
Member

Choose a reason for hiding this comment

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

Please also update the shallow_since, so it doesn't warn on builds.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll update it separately in a different patch as I'm not sure how to do it. I'm merging this now since stellama is blocked on this and needs the patch urgently.

@silence-do-good silence-do-good merged commit 11bd2b9 into google:master Jan 30, 2020
pmuetschard pushed a commit to pmuetschard/gapid that referenced this pull request Jan 31, 2020
…ane (google#3697)

Update Perfetto & UI to show vulkan debug markers in selection view

The debug markers are now direct fields in the gpu_slice table and this
requires some UI changes to be shown properly.

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

Successfully merging this pull request may close these issues.

6 participants