| OLD | NEW |
| 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 #include "blimp/engine/renderer/engine_image_serialization_processor.h" | 5 #include "blimp/engine/renderer/engine_image_serialization_processor.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
| 15 #include "base/trace_event/trace_event.h" | 15 #include "base/trace_event/trace_event.h" |
| 16 #include "blimp/common/blob_cache/id_util.h" | 16 #include "blimp/common/blob_cache/id_util.h" |
| 17 #include "blimp/common/compositor/webp_decoder.h" | |
| 18 #include "blimp/common/proto/blob_cache.pb.h" | 17 #include "blimp/common/proto/blob_cache.pb.h" |
| 19 #include "content/public/renderer/render_frame.h" | 18 #include "content/public/renderer/render_frame.h" |
| 20 #include "third_party/libwebp/webp/encode.h" | 19 #include "third_party/libwebp/webp/encode.h" |
| 21 #include "third_party/skia/include/core/SkData.h" | 20 #include "third_party/skia/include/core/SkData.h" |
| 22 #include "third_party/skia/include/core/SkPicture.h" | 21 #include "third_party/skia/include/core/SkPicture.h" |
| 23 #include "third_party/skia/include/core/SkPixelSerializer.h" | 22 #include "third_party/skia/include/core/SkPixelSerializer.h" |
| 24 #include "third_party/skia/include/core/SkUnPreMultiply.h" | 23 #include "third_party/skia/include/core/SkUnPreMultiply.h" |
| 25 | 24 |
| 26 namespace blimp { | 25 namespace blimp { |
| 27 namespace { | 26 namespace { |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 return pixel_serializer_.get(); | 226 return pixel_serializer_.get(); |
| 228 } | 227 } |
| 229 | 228 |
| 230 SkPicture::InstallPixelRefProc | 229 SkPicture::InstallPixelRefProc |
| 231 EngineImageSerializationProcessor::GetPixelDeserializer() { | 230 EngineImageSerializationProcessor::GetPixelDeserializer() { |
| 232 return nullptr; | 231 return nullptr; |
| 233 } | 232 } |
| 234 | 233 |
| 235 } // namespace engine | 234 } // namespace engine |
| 236 } // namespace blimp | 235 } // namespace blimp |
| OLD | NEW |