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

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

Issue 2078483002: Start using GrGpuCommandBuffer in GrDrawTarget. (Closed) Base URL: https://skia.googlesource.com/skia.git@memoryWAR
Patch Set: review nits Created 4 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
Index: src/gpu/batches/GrDrawPathBatch.h
diff --git a/src/gpu/batches/GrDrawPathBatch.h b/src/gpu/batches/GrDrawPathBatch.h
index 7e695d83df6c0232202024c39170d9f4e09e20e2..2a85617d4dbc0a40f22cd4e1c4df555c5d516918 100644
--- a/src/gpu/batches/GrDrawPathBatch.h
+++ b/src/gpu/batches/GrDrawPathBatch.h
@@ -84,7 +84,7 @@ private:
bool onCombineIfPossible(GrBatch* t, const GrCaps& caps) override { return false; }
- void onDraw(GrBatchFlushState* state) override;
+ void onDraw(GrBatchFlushState* state, GrGpuCommandBuffer* buffer) override;
GrPendingIOResource<const GrPath, kRead_GrIOType> fPath;
@@ -177,7 +177,7 @@ private:
bool onCombineIfPossible(GrBatch* t, const GrCaps& caps) override;
- void onDraw(GrBatchFlushState* state) override;
+ void onDraw(GrBatchFlushState* state, GrGpuCommandBuffer* buffer) override;
struct Draw {
void set(const InstanceData* instanceData, SkScalar x, SkScalar y) {

Powered by Google App Engine
This is Rietveld 408576698