| Index: src/gpu/gl/GrGLGpu.h
|
| diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h
|
| index 807ed8788e00414a4fd016c3a03ed18c9c465c4c..8054db923bfa51217b333fa922f65738feed931f 100644
|
| --- a/src/gpu/gl/GrGLGpu.h
|
| +++ b/src/gpu/gl/GrGLGpu.h
|
| @@ -168,7 +168,8 @@ private:
|
| // Flushes state from GrPipeline to GL. Returns false if the state couldn't be set.
|
| // TODO we only have need to know if this is a line draw for flushing AA state on some buggy
|
| // hardware. Evaluate if this is really necessary anymore
|
| - bool flushGLState(const DrawArgs&, bool isLineDraw);
|
| + bool flushGLState(const DrawArgs&, bool isLineDraw,
|
| + GrSampleConfig sampleConfig = kUnified_GrSampleConfig);
|
|
|
| // Sets up vertex attribute pointers and strides. On return indexOffsetInBytes gives the offset
|
| // an into the index buffer. It does not account for drawInfo.startIndex() but rather the start
|
| @@ -270,7 +271,8 @@ private:
|
| void setViewport(const GrGLIRect& viewport);
|
|
|
| void flushStencil(const GrStencilSettings&);
|
| - void flushHWAAState(GrRenderTarget* rt, bool useHWAA, bool isLineDraw);
|
| + void flushHWAAState(GrRenderTarget* rt, bool useHWAA, bool isLineDraw,
|
| + GrSampleConfig sampleConfig = kUnified_GrSampleConfig);
|
|
|
| bool configToGLFormats(GrPixelConfig config,
|
| bool getSizedInternal,
|
|
|