Index: src/gpu/gl/GrGLGpu.h |
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h |
index 2387b44af61ff4d5915f75fe414d1f12b4e11cd7..dee201292e6576de533360e1451f82a30dc587bf 100644 |
--- a/src/gpu/gl/GrGLGpu.h |
+++ b/src/gpu/gl/GrGLGpu.h |
@@ -255,12 +255,16 @@ private: |
// 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); |
void flushStencil(const GrStencilSettings&); |
- void flushHWAAState(GrRenderTarget* rt, bool useHWAA); |
+ void flushHWAAState(GrRenderTarget* rt, bool useHWAA, bool stencilEnabled); |
bool configToGLFormats(GrPixelConfig config, |
bool getSizedInternal, |