Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
impeller
playground
image
backends
skia
compressed_image_skia.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter 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 FLUTTER_IMPELLER_PLAYGROUND_IMAGE_BACKENDS_SKIA_COMPRESSED_IMAGE_SKIA_H_
6
#define FLUTTER_IMPELLER_PLAYGROUND_IMAGE_BACKENDS_SKIA_COMPRESSED_IMAGE_SKIA_H_
7
8
#include "flutter/fml/macros.h"
9
#include "
impeller/playground/image/compressed_image.h
"
10
11
namespace
impeller
{
12
13
class
CompressedImageSkia
final :
public
CompressedImage
{
14
public
:
15
static
std::shared_ptr<CompressedImage>
Create
(
16
std::shared_ptr<const fml::Mapping> allocation);
17
18
explicit
CompressedImageSkia
(std::shared_ptr<const fml::Mapping> allocation);
19
20
~CompressedImageSkia
()
override
;
21
22
// |CompressedImage|
23
DecompressedImage
Decode
()
const override
;
24
25
private
:
26
CompressedImageSkia
(
const
CompressedImageSkia
&) =
delete
;
27
28
CompressedImageSkia
& operator=(
const
CompressedImageSkia
&) =
delete
;
29
};
30
31
}
// namespace impeller
32
33
#endif
// FLUTTER_IMPELLER_PLAYGROUND_IMAGE_BACKENDS_SKIA_COMPRESSED_IMAGE_SKIA_H_
Create
static sk_sp< Effect > Create()
Definition
RefCntTest.cpp:117
impeller::CompressedImageSkia
Definition
compressed_image_skia.h:13
impeller::CompressedImageSkia::~CompressedImageSkia
~CompressedImageSkia() override
impeller::CompressedImageSkia::Decode
DecompressedImage Decode() const override
Definition
compressed_image_skia.cc:34
impeller::CompressedImage
Definition
compressed_image.h:19
impeller::DecompressedImage
Definition
decompressed_image.h:17
compressed_image.h
impeller
Definition
texture.h:18
Generated on Fri Apr 26 2024 06:14:11 for Flutter Engine by
1.9.8