Loading libs/hwui/Properties.h +1 −1 Original line number Diff line number Diff line Loading @@ -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" Loading libs/hwui/renderthread/RenderThread.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
libs/hwui/Properties.h +1 −1 Original line number Diff line number Diff line Loading @@ -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" Loading
libs/hwui/renderthread/RenderThread.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading