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

Unified Diff: src/gpu/gl/GrGLGpu.h

Issue 1270583003: Move some parts of onReadPixels up to GrGpu readPixels. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: nit Created 5 years, 5 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/gl/GrGLGpu.h
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h
index 5724107223b862831bef67d9ca85234889557343..b9903bbb824e261a21be5635553df48918177b06 100644
--- a/src/gpu/gl/GrGLGpu.h
+++ b/src/gpu/gl/GrGLGpu.h
@@ -142,7 +142,8 @@ private:
int width, int height,
GrPixelConfig,
void* buffer,
- size_t rowBytes) override;
+ size_t rowBytes,
+ size_t tightRowBytes) override;
bool onWritePixels(GrSurface*,
int left, int top, int width, int height,

Powered by Google App Engine
This is Rietveld 408576698