| Index: include/gpu/GrContext.h
|
| diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
|
| index c6dd2d75631af38fdef00e2a933c144e11b90680..b83df457431ca0cfb57bfdf8d2130be7c3f91e0f 100644
|
| --- a/include/gpu/GrContext.h
|
| +++ b/include/gpu/GrContext.h
|
| @@ -34,6 +34,7 @@ class GrPath;
|
| class GrPathRenderer;
|
| class GrResourceEntry;
|
| class GrResourceCache2;
|
| +class GrStencilBuffer;
|
| class GrTestTarget;
|
| class GrTextContext;
|
| class GrTextureParams;
|
| @@ -889,6 +890,13 @@ 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*,
|
|
|