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

Unified Diff: include/gpu/GrContext.h

Issue 747043004: Use scratch keys for stencil buffers. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comment Created 6 years, 1 month 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: include/gpu/GrContext.h
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index b83df457431ca0cfb57bfdf8d2130be7c3f91e0f..c6dd2d75631af38fdef00e2a933c144e11b90680 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -34,7 +34,6 @@ class GrPath;
class GrPathRenderer;
class GrResourceEntry;
class GrResourceCache2;
-class GrStencilBuffer;
class GrTestTarget;
class GrTextContext;
class GrTextureParams;
@@ -890,13 +889,6 @@ public:
void addGpuTraceMarker(const GrGpuTraceMarker* marker);
void removeGpuTraceMarker(const GrGpuTraceMarker* marker);
- /**
- * Stencil buffers add themselves to the cache using addStencilBuffer. findStencilBuffer is
- * called to check the cache for a SB that matches an RT's criteria.
- */
- void addStencilBuffer(GrStencilBuffer* sb);
- GrStencilBuffer* findAndRefStencilBuffer(int width, int height, int sampleCnt);
-
GrPathRenderer* getPathRenderer(
const GrDrawTarget* target,
const GrDrawState*,
« no previous file with comments | « expectations/gm/Test-Win8-ShuttleA-GTX660-x86_64-Release/expected-results.json ('k') | include/gpu/GrGpuResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698