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

Side by Side Diff: include/images/SkImageRef_GlobalPool.h

Issue 134163010: Refactor read and write buffers. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: original write flags were fine Created 6 years, 10 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
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2008 The Android Open Source Project 3 * Copyright 2008 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkImageRef_GlobalPool_DEFINED 10 #ifndef SkImageRef_GlobalPool_DEFINED
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 static void DumpPool(); 47 static void DumpPool();
48 48
49 protected: 49 protected:
50 virtual bool onDecode(SkImageDecoder* codec, SkStreamRewindable* stream, 50 virtual bool onDecode(SkImageDecoder* codec, SkStreamRewindable* stream,
51 SkBitmap* bitmap, SkBitmap::Config config, 51 SkBitmap* bitmap, SkBitmap::Config config,
52 SkImageDecoder::Mode mode); 52 SkImageDecoder::Mode mode);
53 53
54 virtual void onUnlockPixels(); 54 virtual void onUnlockPixels();
55 55
56 SkImageRef_GlobalPool(SkFlattenableReadBuffer&); 56 SkImageRef_GlobalPool(SkReadBuffer&);
57 57
58 private: 58 private:
59 typedef SkImageRef INHERITED; 59 typedef SkImageRef INHERITED;
60 }; 60 };
61 61
62 #endif 62 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698