-
Notifications
You must be signed in to change notification settings - Fork 326
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
Update Perfetto & UI to show vulkan debug markers in the properties pane #3697
Conversation
gapic/src/main/com/google/gapid/perfetto/models/SliceTrack.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
gapic/src/main/com/google/gapid/perfetto/models/SliceTrack.java
Outdated
Show resolved
Hide resolved
gapic/src/main/com/google/gapid/perfetto/models/SliceTrack.java
Outdated
Show resolved
Hide resolved
gapic/src/main/com/google/gapid/perfetto/models/SliceTrack.java
Outdated
Show resolved
Hide resolved
gapic/src/main/com/google/gapid/perfetto/models/SliceTrack.java
Outdated
Show resolved
Hide resolved
gapic/src/main/com/google/gapid/perfetto/views/GpuQueuePanel.java
Outdated
Show resolved
Hide resolved
gapic/src/main/com/google/gapid/perfetto/models/SliceTrack.java
Outdated
Show resolved
Hide resolved
f6eb510
to
4083f8a
Compare
gapic/src/main/com/google/gapid/perfetto/models/SliceTrack.java
Outdated
Show resolved
Hide resolved
gapic/src/main/com/google/gapid/perfetto/views/SliceSelectionView.java
Outdated
Show resolved
Hide resolved
gapic/src/main/com/google/gapid/perfetto/views/SliceSelectionView.java
Outdated
Show resolved
Hide resolved
dfdc73e
to
c855d25
Compare
gapic/src/main/com/google/gapid/perfetto/views/SliceSelectionView.java
Outdated
Show resolved
Hide resolved
gapic/src/main/com/google/gapid/perfetto/views/SliceSelectionView.java
Outdated
Show resolved
Hide resolved
private final String table; | ||
private final long trackId; | ||
protected final String table; | ||
protected final long trackId; |
There was a problem hiding this comment.
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.
gapic/src/main/com/google/gapid/perfetto/views/SliceSelectionView.java
Outdated
Show resolved
Hide resolved
gapic/src/main/com/google/gapid/perfetto/views/SliceSelectionView.java
Outdated
Show resolved
Hide resolved
} | ||
} | ||
|
||
public static class RenderStageInfo { |
There was a problem hiding this comment.
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".
There was a problem hiding this comment.
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
c855d25
to
a32810d
Compare
@@ -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", |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
…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
The debug markers are now direct fields in the gpu_slice table and this
requires some UI changes to be shown properly.
Bug: 140590067