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

Unified Diff: include/gpu/GrStagedProcessor.h

Issue 1273693003: fix for GrFragmentProcessor isEqual in GrPipeline (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrStagedProcessor.h
diff --git a/include/gpu/GrStagedProcessor.h b/include/gpu/GrStagedProcessor.h
index 170283102c1902e916cc23bf84d0191ae5c711bf..a9f23b485b10c8766482bbba2ed146d1ebe067a8 100644
--- a/include/gpu/GrStagedProcessor.h
+++ b/include/gpu/GrStagedProcessor.h
@@ -25,7 +25,7 @@ public:
const GrFragmentProcessor* processor() const { return fProc.get(); }
bool operator==(const GrStagedProcessor& that) const {
- return this->processor() == that.processor();
+ return this->processor()->isEqual(*that.processor());
}
bool operator!=(const GrStagedProcessor& that) const { return !(*this == that); }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698