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

Commit 0929c097 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Surface: Do not copy back if front and back buffer are identical"

parents 9b8c084f add458fe
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1518,6 +1518,9 @@ static status_t copyBlt(
        const Region& reg,
        int *dstFenceFd)
{
    if (dst->getId() == src->getId())
        return OK;

    // src and dst with, height and format must be identical. no verification
    // is done here.
    status_t err;