diff options
author | 2015-01-16 07:32:33 -0800 | |
---|---|---|
committer | 2015-01-16 07:32:33 -0800 | |
commit | afe3005be3392e43bc51eb7eb2017eefaed85ad1 (patch) | |
tree | 3b96ec2e3249a928a0e876140bec3bf3e9dbb13f /include/gpu/GrGpuResource.h | |
parent | b50ced703030dfbda4fc3ef5e6ec9a52fc0405f8 (diff) |
Require budget decision when creating a RenderTarget SkSurface.
Restructure SkGpuDevice creation:
*SkSurfaceProps are optional.
*Use SkSurfaceProps to communicate DF text rather than a flag.
*Tell SkGpuDevice::Create whether RT comes from cache or not.
Review URL: https://codereview.chromium.org/848903004
Diffstat (limited to 'include/gpu/GrGpuResource.h')
-rw-r--r-- | include/gpu/GrGpuResource.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h index 44c4ba0082..750ec6a440 100644 --- a/include/gpu/GrGpuResource.h +++ b/include/gpu/GrGpuResource.h @@ -262,6 +262,7 @@ private: bool setContentKey(const GrResourceKey& contentKey); void notifyIsPurgable() const; void removeScratchKey(); + void makeBudgeted(); #ifdef SK_DEBUG friend class GrGpu; // for assert in GrGpu to access getGpu |