Loading libs/gui/BLASTBufferQueue.cpp +3 −5 Original line number Diff line number Diff line Loading @@ -939,11 +939,9 @@ public: auto gbp = getIGraphicBufferProducer(); std::thread allocateThread([reqWidth, reqHeight, gbp = getIGraphicBufferProducer(), reqFormat = mReqFormat, reqUsage = mReqUsage]() { if (com_android_graphics_libgui_flags_allocate_buffer_priority()) { androidSetThreadName("allocateBuffers"); pid_t tid = gettid(); androidSetThreadPriority(tid, ANDROID_PRIORITY_DISPLAY); } gbp->allocateBuffers(reqWidth, reqHeight, reqFormat, reqUsage); Loading libs/gui/libgui_flags.aconfig +0 −11 Original line number Diff line number Diff line Loading @@ -119,14 +119,3 @@ flag { bug: "340934031" is_fixed_read_only: true } # wb_media_migration flag { name: "allocate_buffer_priority" namespace: "wear_system_health" description: "Boost priority for buffer allocation" bug: "399701430" metadata { purpose: PURPOSE_BUGFIX } is_fixed_read_only: true } # allocate_buffer_priority Loading
libs/gui/BLASTBufferQueue.cpp +3 −5 Original line number Diff line number Diff line Loading @@ -939,11 +939,9 @@ public: auto gbp = getIGraphicBufferProducer(); std::thread allocateThread([reqWidth, reqHeight, gbp = getIGraphicBufferProducer(), reqFormat = mReqFormat, reqUsage = mReqUsage]() { if (com_android_graphics_libgui_flags_allocate_buffer_priority()) { androidSetThreadName("allocateBuffers"); pid_t tid = gettid(); androidSetThreadPriority(tid, ANDROID_PRIORITY_DISPLAY); } gbp->allocateBuffers(reqWidth, reqHeight, reqFormat, reqUsage); Loading
libs/gui/libgui_flags.aconfig +0 −11 Original line number Diff line number Diff line Loading @@ -119,14 +119,3 @@ flag { bug: "340934031" is_fixed_read_only: true } # wb_media_migration flag { name: "allocate_buffer_priority" namespace: "wear_system_health" description: "Boost priority for buffer allocation" bug: "399701430" metadata { purpose: PURPOSE_BUGFIX } is_fixed_read_only: true } # allocate_buffer_priority