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

Commit c129c9b6 authored by Ramakant Singh's avatar Ramakant Singh Committed by Gerrit - the friendly Code Review server
Browse files

sf: Rename app buffer count property

Renaming app buffer count property based on
naming convention of android.
CRs-Fixed: 764611

Change-Id: I6767deb5f87313cd3ea7c0fe1868bf65e0c4ded4
parent 70f1cdcc
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