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

Unified Diff: include/gpu/GrSurface.h

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 | « include/gpu/GrRenderTarget.h ('k') | include/gpu/GrTextureAccess.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrSurface.h
diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h
index 28935009ce8caee78187405c3b50616d7d2e9aed..ea4fa707241bd7644c285b9e04fee81a394d1980 100644
--- a/include/gpu/GrSurface.h
+++ b/include/gpu/GrSurface.h
@@ -103,7 +103,7 @@ public:
* @return true if the read succeeded, false if not. The read can fail because of an unsupported
* pixel config.
*/
- bool writePixels(int left, int top, int width, int height,
+ bool writePixels(GrDrawContext* dc, int left, int top, int width, int height,
GrPixelConfig config,
const void* buffer,
size_t rowBytes = 0,
@@ -147,7 +147,7 @@ protected:
friend class GrSurfacePriv;
GrSurface(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc)
- : INHERITED(gpu, lifeCycle)
+ : INHERITED(gpu, lifeCycle, GrGpuResource::kSurface)
, fDesc(desc)
, fReleaseProc(NULL)
, fReleaseCtx(NULL)
« no previous file with comments | « include/gpu/GrRenderTarget.h ('k') | include/gpu/GrTextureAccess.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698