Index: src/gpu/gl/GrGLGpu.h |
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h |
index 8dbf5936fb24049f8eb3ed7d1988d71f9dbb8dc2..396d488174dfdabdcf254c26815db1a15a818bc8 100644 |
--- a/src/gpu/gl/GrGLGpu.h |
+++ b/src/gpu/gl/GrGLGpu.h |
@@ -269,12 +269,16 @@ |
// ensures that such operations don't negatively interact with tracking bound textures. |
void setScratchTextureUnit(); |
+ // colocates all samples at pixel center for render target, if MSAA. |
+ // allows drawing coverage based AA shapes in MSAA mode. |
+ void setColocatedSampleLocations(GrRenderTarget* rt, bool useColocatedSampleLocations); |
+ |
// bounds is region that may be modified and therefore has to be resolved. |
// nullptr means whole target. Can be an empty rect. |
- void flushRenderTarget(GrGLRenderTarget*, const SkIRect* bounds, bool coCenterSamples = false); |
+ void flushRenderTarget(GrGLRenderTarget*, const SkIRect* bounds); |
void flushStencil(const GrStencilSettings&); |
- void flushHWAAState(GrRenderTarget* rt, bool useHWAA); |
+ void flushHWAAState(GrRenderTarget* rt, bool useHWAA, bool stencilEnabled); |
bool configToGLFormats(GrPixelConfig config, |
bool getSizedInternal, |