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

Unified Diff: src/gpu/batches/GrDiscardBatch.h

Issue 2299523004: Flush some non-substantive Ganesh changes (Closed)
Patch Set: Created 4 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 | « src/gpu/GrDrawContext.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/batches/GrDiscardBatch.h
diff --git a/src/gpu/batches/GrDiscardBatch.h b/src/gpu/batches/GrDiscardBatch.h
index 5dafe54f1189114920d5e76b4bfa2672b1692af3..92406bb14862bcd5e03cc74cb3d4da0ea274dd94 100644
--- a/src/gpu/batches/GrDiscardBatch.h
+++ b/src/gpu/batches/GrDiscardBatch.h
@@ -38,7 +38,7 @@ public:
private:
bool onCombineIfPossible(GrBatch* that, const GrCaps& caps) override {
- return fRenderTarget == that->cast<GrDiscardBatch>()->fRenderTarget;
+ return this->renderTargetUniqueID() == that->renderTargetUniqueID();
}
void onPrepare(GrBatchFlushState*) override {}
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698