Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: src/gpu/GrClipMaskManager.h

Issue 712223002: Combine similar DrawPaths calls in GrInOrderDrawBuffer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « expectations/gm/ignored-tests.txt ('k') | src/gpu/GrInOrderDrawBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrClipMaskManager.h
diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
index cde718a605ceb760b617a4a2bac922adc6a56e78..e2824cee91b593a2855fe3046f530a0562904763 100644
--- a/src/gpu/GrClipMaskManager.h
+++ b/src/gpu/GrClipMaskManager.h
@@ -50,11 +50,11 @@ public:
struct ScissorState {
ScissorState() : fEnabled(false) {}
void set(const SkIRect& rect) { fRect = rect; fEnabled = true; }
- bool operator==(const ScissorState& other) {
+ bool operator==(const ScissorState& other) const {
return fEnabled == other.fEnabled &&
(false == fEnabled || fRect == other.fRect);
}
- bool operator!=(const ScissorState& other) { return !(*this == other); }
+ bool operator!=(const ScissorState& other) const { return !(*this == other); }
bool fEnabled;
SkIRect fRect;
};
« no previous file with comments | « expectations/gm/ignored-tests.txt ('k') | src/gpu/GrInOrderDrawBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698