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

Commit 7629df63 authored by Ady Abraham's avatar Ady Abraham Committed by Automerger Merge Worker
Browse files

Merge "SF: always preallocate the client composition buffers" into sc-dev am: a8f9cdbc

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15071036

Change-Id: I05994c502bd87643987863a1d3064aea2e42e755
parents ac142333 a8f9cdbc
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2665,9 +2665,7 @@ sp<DisplayDevice> SurfaceFlinger::setupNewDisplayDeviceInternal(

    sp<DisplayDevice> display = getFactory().createDisplayDevice(creationArgs);

    if (maxFrameBufferAcquiredBuffers >= 3) {
    nativeWindowSurface->preallocateBuffers();
    }

    ColorMode defaultColorMode = ColorMode::NATIVE;
    Dataspace defaultDataSpace = Dataspace::UNKNOWN;