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

Side by Side Diff: include/codec/SkCodec.h

Issue 1385703002: SkScaledCodec should implement onRewind() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | include/codec/SkScaledCodec.h » ('j') | tests/CodexTest.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkCodec_DEFINED 8 #ifndef SkCodec_DEFINED
9 #define SkCodec_DEFINED 9 #define SkCodec_DEFINED
10 10
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 // Calling the virtual method also means we do not double count 470 // Calling the virtual method also means we do not double count
471 // countLines. 471 // countLines.
472 return this->onGetScanlines(storage.get(), countLines, 0); 472 return this->onGetScanlines(storage.get(), countLines, 0);
473 } 473 }
474 474
475 virtual SkCodec::Result onGetScanlines(void* dst, int countLines, 475 virtual SkCodec::Result onGetScanlines(void* dst, int countLines,
476 size_t rowBytes) { 476 size_t rowBytes) {
477 return kUnimplemented; 477 return kUnimplemented;
478 } 478 }
479 479
480 friend class SkScaledCodec;
480 }; 481 };
481 #endif // SkCodec_DEFINED 482 #endif // SkCodec_DEFINED
OLDNEW
« no previous file with comments | « no previous file | include/codec/SkScaledCodec.h » ('j') | tests/CodexTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698