diff options
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index 396d488174..8dbf5936fb 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -269,16 +269,12 @@ 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 flushRenderTarget(GrGLRenderTarget*, const SkIRect* bounds, bool coCenterSamples = false); void flushStencil(const GrStencilSettings&); - void flushHWAAState(GrRenderTarget* rt, bool useHWAA, bool stencilEnabled); + void flushHWAAState(GrRenderTarget* rt, bool useHWAA); bool configToGLFormats(GrPixelConfig config, bool getSizedInternal, |