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

Commit 92fa6436 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sf: Rename app buffer count property"

parents 70f1cdcc c129c9b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ status_t BufferQueueConsumer::acquireBuffer(BufferItem* outBuffer,
        // be discarded based on them.
#ifdef QCOM_BSP
        char property[PROPERTY_VALUE_MAX];
        if (property_get("sf.default.app_buffer_count", property, NULL) > 0) {
        if (property_get("hw.sf.app_buff_count", property, NULL) > 0) {
           if (!mCore->mQueue[0].mIsAutoTimestamp && mCore->mDefaultMaxBufferCount < 3) {
              const BufferItem& bufferItem(mCore->mQueue[0]);
              nsecs_t desiredPresent = bufferItem.mTimestamp;
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ void Layer::onFirstRef() {

#ifdef QCOM_BSP
    char property[PROPERTY_VALUE_MAX];
    if (property_get("sf.default.app_buffer_count", property, NULL) > 0) {
    if (property_get("hw.sf.app_buff_count", property, NULL) > 0) {
        mSurfaceFlingerConsumer->setDefaultMaxBufferCount(atoi(property));
    }
#endif