Skip to content

Commit 66a5557

Browse files
committed
perfetto: Add disable_client_drawn_radii and reported_radii to SF layers proto
This change adds two fields to LayerProto: - disable_client_drawn_radii: indicates if client-drawn corner radii are disabled. - reported_radii: corner radius reported by SurfaceFlinger to the client.
1 parent 0f2624f commit 66a5557

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

protos/perfetto/trace/android/surfaceflinger_layers.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,12 @@ message LayerProto {
259259

260260
// "True" corner radii of the layer computed by SurfaceFlinger.
261261
optional CornerRadiiProto effective_radii = 67;
262+
263+
// Whether the client drawn radii are disabled
264+
optional bool disable_client_drawn_radii = 68;
265+
266+
// Corner radius reported by SF to client.
267+
optional CornerRadiiProto reported_radii = 69;
262268
}
263269

264270
message PositionProto {

protos/perfetto/trace/perfetto_trace.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7066,6 +7066,12 @@ message LayerProto {
70667066

70677067
// "True" corner radii of the layer computed by SurfaceFlinger.
70687068
optional CornerRadiiProto effective_radii = 67;
7069+
7070+
// Whether the client drawn radii are disabled
7071+
optional bool disable_client_drawn_radii = 68;
7072+
7073+
// Corner radius reported by SF to client.
7074+
optional CornerRadiiProto reported_radii = 69;
70697075
}
70707076

70717077
message PositionProto {

0 commit comments

Comments
 (0)