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

Commit c1abd732 authored by Helen Parsons's avatar Helen Parsons Committed by Android (Google) Code Review
Browse files

Merge "SF: Allow triple buffering on values above 3"

parents dba34b72 48eb5659
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ using namespace android::hardware::configstore;
using namespace android::hardware::configstore::V1_0;

static bool useTripleFramebuffer = getInt64< ISurfaceFlingerConfigs,
        &ISurfaceFlingerConfigs::maxFrameBufferAcquiredBuffers>(2) == 3;
        &ISurfaceFlingerConfigs::maxFrameBufferAcquiredBuffers>(2) >= 3;

#if !defined(EGL_EGLEXT_PROTOTYPES) || !defined(EGL_ANDROID_swap_rectangle)
// Dummy implementation in case it is missing.