| Index: src/gpu/gl/GrGLStencilAttachment.h
|
| diff --git a/src/gpu/gl/GrGLStencilAttachment.h b/src/gpu/gl/GrGLStencilAttachment.h
|
| index 3b89a5aa21123e1a16af4e3b3d93ac89b1aee66b..f578bf80b1fae4a5704df90afcb29108d6bf05d2 100644
|
| --- a/src/gpu/gl/GrGLStencilAttachment.h
|
| +++ b/src/gpu/gl/GrGLStencilAttachment.h
|
| @@ -24,20 +24,19 @@ public:
|
| };
|
|
|
| struct IDDesc {
|
| - IDDesc() : fRenderbufferID(0), fLifeCycle(kCached_LifeCycle) {}
|
| + IDDesc() : fRenderbufferID(0) {}
|
| GrGLuint fRenderbufferID;
|
| - GrGpuResource::LifeCycle fLifeCycle;
|
| };
|
|
|
| GrGLStencilAttachment(GrGpu* gpu,
|
| - const IDDesc& idDesc,
|
| - int width, int height,
|
| - int sampleCnt,
|
| - const Format& format)
|
| - : GrStencilAttachment(gpu, idDesc.fLifeCycle, width, height, format.fStencilBits, sampleCnt)
|
| + const IDDesc& idDesc,
|
| + int width, int height,
|
| + int sampleCnt,
|
| + const Format& format)
|
| + : GrStencilAttachment(gpu, width, height, format.fStencilBits, sampleCnt)
|
| , fFormat(format)
|
| , fRenderbufferID(idDesc.fRenderbufferID) {
|
| - this->registerWithCache();
|
| + this->registerWithCache(SkBudgeted::kYes);
|
| }
|
|
|
| GrGLuint renderbufferID() const {
|
|
|