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

Unified Diff: src/gpu/GrProcOptInfo.cpp

Issue 1293583002: Introduce GrBatch subclasses GrDrawBatch and GrVertexBatch to prepare for non-drawing batches (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove duplicated fields in GrVertexBatch 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 | « src/gpu/GrProcOptInfo.h ('k') | src/gpu/GrReorderCommandBuilder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrProcOptInfo.cpp
diff --git a/src/gpu/GrProcOptInfo.cpp b/src/gpu/GrProcOptInfo.cpp
index 17b42b6a4926c32c0ad487eb92f1e2af767148af..e56fb743a68857d002c3ba31d44d347cceb16563 100644
--- a/src/gpu/GrProcOptInfo.cpp
+++ b/src/gpu/GrProcOptInfo.cpp
@@ -11,7 +11,7 @@
#include "batches/GrBatch.h"
-void GrProcOptInfo::calcColorWithBatch(const GrBatch* batch,
+void GrProcOptInfo::calcColorWithBatch(const GrDrawBatch* batch,
const GrFragmentStage* stages,
int stageCount) {
GrInitInvariantOutput out;
@@ -20,7 +20,7 @@ void GrProcOptInfo::calcColorWithBatch(const GrBatch* batch,
this->internalCalc(stages, stageCount, batch->willReadFragmentPosition());
}
-void GrProcOptInfo::calcCoverageWithBatch(const GrBatch* batch,
+void GrProcOptInfo::calcCoverageWithBatch(const GrDrawBatch* batch,
const GrFragmentStage* stages,
int stageCount) {
GrInitInvariantOutput out;
« no previous file with comments | « src/gpu/GrProcOptInfo.h ('k') | src/gpu/GrReorderCommandBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698