Move reduceOpsTaskSplitting property to Properties.h

Bug: 183612348
Change-Id: I26ebb6898e88715b9bd5e6f89f934d843efd49c5
This commit is contained in:
Adlai Holler
2021-03-25 16:53:56 +00:00
parent dfc7d4cc7b
commit 5636cdeea4
3 changed files with 7 additions and 6 deletions

View File

@@ -162,6 +162,12 @@ enum DebugLevel {
*/
#define PROPERTY_IS_EMULATOR "ro.boot.qemu"
/**
* Turns on the Skia GPU option "reduceOpsTaskSplitting" which improves GPU
* efficiency but may increase VRAM consumption. Default is "false".
*/
#define PROPERTY_REDUCE_OPS_TASK_SPLITTING "renderthread.skia.reduceopstasksplitting"
///////////////////////////////////////////////////////////////////////////////
// Misc
///////////////////////////////////////////////////////////////////////////////

View File

@@ -20,6 +20,7 @@
#include "CanvasContext.h"
#include "DeviceInfo.h"
#include "EglManager.h"
#include "Properties.h"
#include "Readback.h"
#include "RenderProxy.h"
#include "VulkanManager.h"

View File

@@ -38,12 +38,6 @@
#include "thread/ThreadBase.h"
#include "utils/TimeUtils.h"
/**
* (Bool) Turns on the Skia GPU option "reduceOpsTaskSplitting" which improves GPU
* efficiency but may increase VRAM consumption. Default is false.
*/
#define PROPERTY_REDUCE_OPS_TASK_SPLITTING "renderthread.skia.reduceopstasksplitting"
namespace android {
class Bitmap;