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

Commit 35428969 authored by Leon Scroggins's avatar Leon Scroggins Committed by Automerger Merge Worker
Browse files

Merge "Always use Skia reduceOpsTaskSplitting" into sc-dev am: 49c3b39d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14251195

Change-Id: Ifdfdd3e2abd9798c47a0d3a4fb6b373ea2b7e0ca
parents 9847065c 49c3b39d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -178,7 +178,7 @@ enum DebugLevel {

/**
 * Turns on the Skia GPU option "reduceOpsTaskSplitting" which improves GPU
 * efficiency but may increase VRAM consumption. Default is "false".
 * efficiency but may increase VRAM consumption. Default is "true".
 */
#define PROPERTY_REDUCE_OPS_TASK_SPLITTING "renderthread.skia.reduceopstasksplitting"

+1 −1
Original line number Diff line number Diff line
@@ -275,7 +275,7 @@ void RenderThread::requireVkContext() {
void RenderThread::initGrContextOptions(GrContextOptions& options) {
    options.fPreferExternalImagesOverES3 = true;
    options.fDisableDistanceFieldPaths = true;
    if (android::base::GetBoolProperty(PROPERTY_REDUCE_OPS_TASK_SPLITTING, false)) {
    if (android::base::GetBoolProperty(PROPERTY_REDUCE_OPS_TASK_SPLITTING, true)) {
        options.fReduceOpsTaskSplitting = GrContextOptions::Enable::kYes;
    } else {
        options.fReduceOpsTaskSplitting = GrContextOptions::Enable::kNo;