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

Unified Diff: src/gpu/GrDrawState.h

Issue 16406006: Improve batching of drawBitmap* calls (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Addressed code review issues Created 7 years, 6 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
« no previous file with comments | « include/gpu/GrEffectStage.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawState.h
===================================================================
--- src/gpu/GrDrawState.h (revision 9486)
+++ src/gpu/GrDrawState.h (working copy)
@@ -1062,7 +1062,7 @@
return false;
}
for (int i = 0; i < kNumStages; ++i) {
- if (!fStages[i].isEqual(state.fStages[i])) {
+ if (!fStages[i].isEqual(state.fStages[i], state.hasLocalCoordAttribute())) {
return false;
}
}
« no previous file with comments | « include/gpu/GrEffectStage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698