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

Unified Diff: src/gpu/GrSurface.cpp

Issue 1225923010: Refugee from Dead Machine 4: MDB Monster Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Last update from dead machine Created 4 years, 8 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/GrStencilAttachment.h ('k') | src/gpu/GrTargetCommands.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrSurface.cpp
diff --git a/src/gpu/GrSurface.cpp b/src/gpu/GrSurface.cpp
index 382550e41fc43f512600a844758002984ab76fbf..18637513d36cec6d138f37c4dd2bfb584f0ddf5d 100644
--- a/src/gpu/GrSurface.cpp
+++ b/src/gpu/GrSurface.cpp
@@ -92,7 +92,7 @@ bool GrSurfacePriv::AdjustWritePixelParams(int surfaceWidth,
//////////////////////////////////////////////////////////////////////////////
-bool GrSurface::writePixels(int left, int top, int width, int height,
+bool GrSurface::writePixels(GrDrawContext* dc, int left, int top, int width, int height,
GrPixelConfig config, const void* buffer, size_t rowBytes,
uint32_t pixelOpsFlags) {
// go through context so that all necessary flushing occurs
@@ -100,7 +100,7 @@ bool GrSurface::writePixels(int left, int top, int width, int height,
if (nullptr == context) {
return false;
}
- return context->writeSurfacePixels(this, left, top, width, height, config, buffer, rowBytes,
+ return context->writeSurfacePixels(dc, this, left, top, width, height, config, buffer, rowBytes,
pixelOpsFlags);
}
« no previous file with comments | « src/gpu/GrStencilAttachment.h ('k') | src/gpu/GrTargetCommands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698