| Index: src/gpu/gl/GrGLStencilAttachment.h
|
| diff --git a/src/gpu/gl/GrGLStencilAttachment.h b/src/gpu/gl/GrGLStencilAttachment.h
|
| index 3b89a5aa21123e1a16af4e3b3d93ac89b1aee66b..90a9a9149f0637e3dd911cb14211e9d8483bcbf6 100644
|
| --- a/src/gpu/gl/GrGLStencilAttachment.h
|
| +++ b/src/gpu/gl/GrGLStencilAttachment.h
|
| @@ -24,9 +24,8 @@ public:
|
| };
|
|
|
| struct IDDesc {
|
| - IDDesc() : fRenderbufferID(0), fLifeCycle(kCached_LifeCycle) {}
|
| + IDDesc() : fRenderbufferID(0) {}
|
| GrGLuint fRenderbufferID;
|
| - GrGpuResource::LifeCycle fLifeCycle;
|
| };
|
|
|
| GrGLStencilAttachment(GrGpu* gpu,
|
| @@ -34,7 +33,7 @@ public:
|
| int width, int height,
|
| int sampleCnt,
|
| const Format& format)
|
| - : GrStencilAttachment(gpu, idDesc.fLifeCycle, width, height, format.fStencilBits, sampleCnt)
|
| + : GrStencilAttachment(gpu, SkBudgeted::kYes, width, height, format.fStencilBits, sampleCnt)
|
| , fFormat(format)
|
| , fRenderbufferID(idDesc.fRenderbufferID) {
|
| this->registerWithCache();
|
| @@ -50,6 +49,7 @@ protected:
|
| // overrides of GrResource
|
| void onRelease() override;
|
| void onAbandon() override;
|
| + bool refsWrappedResources() const override { return false; }
|
| void setMemoryBacking(SkTraceMemoryDump* traceMemoryDump,
|
| const SkString& dumpName) const override;
|
|
|
|
|