Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index 429c9c843927c1bbed41e079735ee3cdb636de60..d8558ad1f1bf67c19bba931cf4743e19a99242e7 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -478,7 +478,8 @@ private: |
// width and height may be larger than rt (if underlying API allows it). |
// Should attach the SB to the RT. Returns false if compatible sb could |
// not be created. |
- virtual bool createStencilBufferForRenderTarget(GrRenderTarget*, int width, int height) = 0; |
+ virtual bool createStencilBufferForRenderTarget(GrRenderTarget*, bool budgeted, |
reed1
2015/01/20 13:54:36
Why not keep the enum that was created for this, r
Kimmo Kinnunen
2015/01/20 14:05:48
So it's consistent with the call that does the sam
bsalomon
2015/01/21 14:18:18
I'm slightly hesitant to start depending on an enu
|
+ int width, int height) = 0; |
// attaches an existing SB to an existing RT. |
virtual bool attachStencilBufferToRenderTarget(GrStencilBuffer*, GrRenderTarget*) = 0; |
@@ -487,7 +488,7 @@ private: |
virtual void clearStencil(GrRenderTarget* target) = 0; |
// Given a rt, find or create a stencil buffer and attach it |
- bool attachStencilBufferToRenderTarget(GrRenderTarget* target); |
+ bool attachStencilBufferToRenderTarget(GrRenderTarget* target, bool budgeted); |
virtual void didAddGpuTraceMarker() = 0; |
virtual void didRemoveGpuTraceMarker() = 0; |