Merge "Move reduceOpsTaskSplitting property to Properties.h" into sc-dev

This commit is contained in:
Adlai Holler
2021-03-25 18:41:35 +00:00
committed by Android (Google) Code Review
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;