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

Side by Side Diff: blimp/client/feature/compositor/blimp_image_decoder.h

Issue 1982893002: [blimp] Add SkPicture caching support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from vmpstr, including adding //cc/blimp Created 4 years, 6 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_IMAGE_DECODER_H_ 5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_IMAGE_DECODER_H_
6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_IMAGE_DECODER_H_ 6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_IMAGE_DECODER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 class SkBitmap; 10 class SkBitmap;
11 11
12 namespace blimp { 12 namespace blimp {
13 namespace client { 13 namespace client {
14 14
15 // BlimpImageDecoder is an implementation of SkPicture::InstallPixelRefProc 15 // DecodeBlimpImage is an implementation of SkPicture::InstallPixelRefProc
16 // which is used by the client to decode WebP images that are part of an 16 // which is used by the client to decode WebP images that are part of an
17 // SkPicture. 17 // SkPicture.
18 bool BlimpImageDecoder(const void* input, size_t input_size, SkBitmap* bitmap); 18 bool DecodeBlimpImage(const void* input, size_t input_size, SkBitmap* bitmap);
19 19
20 } // namespace client 20 } // namespace client
21 } // namespace blimp 21 } // namespace blimp
22 22
23 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_IMAGE_DECODER_H_ 23 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_IMAGE_DECODER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698