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

Commit 3b4a75e1 authored by Surbhi Kadam's avatar Surbhi Kadam
Browse files

Add CornerRadiiCallback to BLASTBufferQueue

This adds a callback the client can register to receive
corner radii computed for the layer so that rounding can be done
in the client. The effective corner radii are computed when
the corner radius is updated and populated in SurfaceStats which are
sent with TransactionCallback. Also adds a clientCrop parameter to
setClientDrawnCornerRadius call for client to pass the crop they are
using for rounding

Bug: 372620947
Flag:com.android.graphics.surfaceflinger.flags.set_client_drawn_corner_radii
Test: presubmit; atest SurfaceFlinger_test libsurfaceflinger_unittest libgui_test
Change-Id: I10be3cfd0d55f7bfe972cbfa450da3a283ff85a4
parent 82e7d4aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment