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

Unified Diff: src/gpu/GrInOrderDrawBuffer.h

Issue 439853002: Replace op== with CombineIfPossible in GrDrawState. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 months 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
Index: src/gpu/GrInOrderDrawBuffer.h
diff --git a/src/gpu/GrInOrderDrawBuffer.h b/src/gpu/GrInOrderDrawBuffer.h
index b678518a5d26bd224774451ff79056dde1c82562..e923a4d9f4984ebf7c18f6ba991fa8e030a6439c 100644
--- a/src/gpu/GrInOrderDrawBuffer.h
+++ b/src/gpu/GrInOrderDrawBuffer.h
@@ -203,7 +203,7 @@ private:
// we lazily record state and clip changes in order to skip clips and states that have no
// effect.
egdaniel 2014/08/04 20:12:42 maybe update this comment since its now more than
bsalomon 2014/08/05 14:04:30 Done.
- bool needsNewState() const;
+ void recordStateIfNecessary();
bool needsNewClip() const;
// these functions record a command

Powered by Google App Engine
This is Rietveld 408576698