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

Unified Diff: include/codec/SkCodec.h

Issue 1489163002: Add currScanline() getter to SkCodec API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years 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 | « no previous file | src/codec/SkCodec_libgif.cpp » ('j') | src/codec/SkCodec_libgif.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/codec/SkCodec.h
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index dffab6b3779207aeba99084810afb27d8416a097..41995acb05e66529f108c6cc3f4450a2f0d19310 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -519,6 +519,8 @@ protected:
const SkCodec::Options& options() const { return fOptions; }
+ int currScanline() const { return fCurrScanline; }
scroggo 2015/12/02 15:24:41 Add some comments? We now have: currScanline() ne
msarett 2015/12/02 15:45:05 Yes this is confusing will do.
+
virtual int onOutputScanline(int inputScanline) const;
private:
« no previous file with comments | « no previous file | src/codec/SkCodec_libgif.cpp » ('j') | src/codec/SkCodec_libgif.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698