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

Unified Diff: src/gpu/GrPipeline.h

Issue 2316413003: Remove ability to skip coord transform comparison in pipeline comparison. (Closed)
Patch Set: Created 4 years, 3 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 | « src/gpu/GrFragmentProcessor.cpp ('k') | src/gpu/GrPipeline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPipeline.h
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h
index 8c2f538e27c6bb276c0e9cb3b8da84d71e2220ce..6366e8050f866991f05e24a5fa2ca277543f89ad 100644
--- a/src/gpu/GrPipeline.h
+++ b/src/gpu/GrPipeline.h
@@ -79,7 +79,7 @@ public:
* to combine draws. Therefore we take a param that indicates whether coord transforms should be
* compared."
*/
- static bool AreEqual(const GrPipeline& a, const GrPipeline& b, bool ignoreCoordTransforms);
+ static bool AreEqual(const GrPipeline& a, const GrPipeline& b);
/**
* Allows a GrBatch subclass to determine whether two GrBatches can combine. This is a stricter
@@ -88,9 +88,8 @@ public:
*/
static bool CanCombine(const GrPipeline& a, const SkRect& aBounds,
const GrPipeline& b, const SkRect& bBounds,
- const GrCaps& caps,
- bool ignoreCoordTransforms = false) {
- if (!AreEqual(a, b, ignoreCoordTransforms)) {
+ const GrCaps& caps) {
+ if (!AreEqual(a, b)) {
return false;
}
if (a.xferBarrierType(caps)) {
« no previous file with comments | « src/gpu/GrFragmentProcessor.cpp ('k') | src/gpu/GrPipeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698