#include <image_decoder.h>
Definition at line 24 of file image_decoder.h.
◆ ImageResult
◆ ~ImageDecoder()
flutter::ImageDecoder::~ImageDecoder |
( |
| ) |
|
|
virtualdefault |
◆ ImageDecoder()
Definition at line 43 of file image_decoder.cc.
50 weak_factory_(this) {
53 << "The image decoder must be created & collected on the UI thread.";
54}
std::shared_ptr< fml::ConcurrentTaskRunner > concurrent_task_runner_
fml::WeakPtr< IOManager > io_manager_
fml::RefPtr< fml::TaskRunner > GetUITaskRunner() const
virtual bool RunsTasksOnCurrentThread()
#define FML_DCHECK(condition)
◆ Decode()
◆ GetWeakPtr()
Definition at line 58 of file image_decoder.cc.
58 {
59 return weak_factory_.GetWeakPtr();
60}
◆ Make()
Definition at line 15 of file image_decoder.cc.
20 {
21#if IMPELLER_SUPPORTS_RENDERING
23 return std::make_unique<ImageDecoderImpeller>(
24 runners,
25 std::move(concurrent_task_runner),
26 std::move(io_manager),
28 gpu_disabled_switch);
29 }
30#endif
31#if !SLIMPELLER
32 return std::make_unique<ImageDecoderSkia>(
33 runners,
34 std::move(concurrent_task_runner),
35 std::move(io_manager)
36 );
37#else
39 return nullptr;
40#endif
41}
#define FML_LOG(severity)
◆ concurrent_task_runner_
◆ io_manager_
◆ runners_
The documentation for this class was generated from the following files: