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

Side by Side Diff: tools/LazyDecodeBitmap.h

Issue 19109002: Add the lazy decoder from PictureFlags to SkImageDecoder (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Move LazyDecodeBitmap to its own cpp/h. Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright 2006 The Android Open Source Project
scroggo 2013/07/15 18:02:41 2013
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef LazyDecodeBitmap_DEFINED
9 #define LazyDecodeBitmap_DEFINED
10
11 #include "SkTypes.h"
12 #include "SkBitmap.h"
scroggo 2013/07/15 18:02:41 SkBitmap can be forward-declared here, and include
sglez 2013/07/16 15:59:33 It compiles with just the forward declaration. Som
scroggo 2013/07/16 16:06:18 Although the forward declaration is enough to comp
13
scroggo 2013/07/15 18:02:41 Maybe add a comment here, explaining its purpose.
14 bool LazyDecodeBitmap(const void* buffer, size_t size, SkBitmap* bitmap);
scroggo 2013/07/15 18:02:41 This should go inside a class or namespace. It cou
15
16 #endif // LazyDecodeBitmap_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698