Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24de83be authored by Brian Lindahl's avatar Brian Lindahl
Browse files

Add to AIDL field to LayerCommand to clear buffer slots

Bug: 262041682
Bug: 258196272
Test: presubmit
Change-Id: Ib1819ccc2b53036b8d47cfd4d3d87d6ec07af7c5
parent 0b687277
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -54,4 +54,5 @@ parcelable LayerCommand {
  @nullable android.hardware.graphics.composer3.PerFrameMetadata[] perFrameMetadata;
  @nullable android.hardware.graphics.composer3.PerFrameMetadataBlob[] perFrameMetadataBlob;
  @nullable android.hardware.graphics.common.Rect[] blockingRegion;
  @nullable int[] bufferSlotsToClear;
}
+7 −0
Original line number Diff line number Diff line
@@ -258,4 +258,11 @@ parcelable LayerCommand {
     * the screen.
     */
    @nullable Rect[] blockingRegion;

    /**
     * Specifies which buffer slots should be cleared of buffer references
     * because these buffers will no longer be used and the memory should
     * be freed.
     */
    @nullable int[] bufferSlotsToClear;
}