Index: src/gpu/gl/GrGpuGL.h |
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h |
index 3d84188b1924e81573a86a94890bac1cec780fd6..a8a9727b32160faf984f5b8c1da155418a9434e8 100644 |
--- a/src/gpu/gl/GrGpuGL.h |
+++ b/src/gpu/gl/GrGpuGL.h |
@@ -443,7 +443,15 @@ |
} |
} fHWBlendState; |
- TriState fMSAAEnabled; |
+ struct { |
+ TriState fMSAAEnabled; |
+ TriState fSmoothLineEnabled; |
+ void invalidate() { |
+ fMSAAEnabled = kUnknown_TriState; |
+ fSmoothLineEnabled = kUnknown_TriState; |
+ } |
+ } fHWAAState; |
+ |
GrGLProgram::MatrixState fHWProjectionMatrixState; |