Index: src/gpu/gl/GrGLGpu.h |
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h |
index d63c10500f09046b1666d91eba2b1c1439c7f46f..0173a23c48922cbd30d2df4aeb28efa9b3eb17fa 100644 |
--- a/src/gpu/gl/GrGLGpu.h |
+++ b/src/gpu/gl/GrGLGpu.h |
@@ -108,7 +108,6 @@ public: |
const GrPrimitiveProcessor&, |
const GrOptDrawState&, |
const GrProgramDesc::DescInfo&, |
- GrGpu::DrawType, |
const GrBatchTracker&) const SK_OVERRIDE; |
private: |
@@ -168,7 +167,9 @@ private: |
void setTextureUnit(int unitIdx); |
// Flushes state from GrOptDrawState to GL. Returns false if the state couldn't be set. |
- bool flushGLState(const DrawArgs&); |
+ // 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); |
// 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 |