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

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

Issue 1985863002: Incorporate BlobChannel into Blimp image encode/decode pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-helium
Patch Set: fix gn dependency warning & rebase 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_CLIENT_IMAGE_SERIALIZATION_PROCESSOR_H_
6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_CLIENT_IMAGE_SERIALIZATION_PROCESSOR_H_
7
8 #include "base/macros.h"
9 #include "cc/proto/image_serialization_processor.h"
10 #include "third_party/skia/include/core/SkPicture.h"
11
12 class SkPixelSerializer;
13
14 namespace blimp {
15 namespace client {
16
17 // ClientImageSerializationProcessor provides functionality to deserialize Skia
18 // images.
19 class ClientImageSerializationProcessor
20 : public cc::ImageSerializationProcessor {
21 public:
22 ClientImageSerializationProcessor();
23 ~ClientImageSerializationProcessor();
24
25 // cc::ImageSerializationProcessor implementation.
26 SkPixelSerializer* GetPixelSerializer() override;
27 SkPicture::InstallPixelRefProc GetPixelDeserializer() override;
28
29 private:
30 SkPicture::InstallPixelRefProc pixel_deserializer_;
31
32 DISALLOW_COPY_AND_ASSIGN(ClientImageSerializationProcessor);
33 };
34
35 } // namespace client
36 } // namespace blimp
37
38 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_CLIENT_IMAGE_SERIALIZATION_PROCESSOR_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698