Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: src/gpu/GrStencilAttachment.h

Issue 1862043002: Refactor to separate backend object lifecycle and GpuResource budget decision (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase and small fixes Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrStencilAttachment.h
diff --git a/src/gpu/GrStencilAttachment.h b/src/gpu/GrStencilAttachment.h
index 2faa7b6b039d48205ffde381f09e72444274e3fa..5b7ae6375040079fe8e7713e3a14283b98257551 100644
--- a/src/gpu/GrStencilAttachment.h
+++ b/src/gpu/GrStencilAttachment.h
@@ -52,9 +52,9 @@ public:
GrUniqueKey* key);
protected:
- GrStencilAttachment(GrGpu* gpu, LifeCycle lifeCycle, int width, int height, int bits,
+ GrStencilAttachment(GrGpu* gpu, int width, int height, int bits,
int sampleCnt)
- : GrGpuResource(gpu, lifeCycle)
+ : GrGpuResource(gpu)
, fWidth(width)
, fHeight(height)
, fBits(bits)

Powered by Google App Engine
This is Rietveld 408576698