Loading libs/gui/BufferQueueConsumer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading services/surfaceflinger/Layer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
libs/gui/BufferQueueConsumer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading
services/surfaceflinger/Layer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading