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

Commit 16855648 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: I2fb0aeb0ad95ac004b259c0a5d289bfd29a50fd6
parents 96a54994 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;