#include <texture.h>
Public Member Functions | |
| TextureRegistry () | |
| void | RegisterTexture (const std::shared_ptr< Texture > &texture) |
| void | RegisterContextListener (uintptr_t id, std::weak_ptr< ContextListener > image) |
| void | UnregisterTexture (int64_t id) |
| void | UnregisterContextListener (uintptr_t id) |
| std::shared_ptr< Texture > | GetTexture (int64_t id) |
| void | OnGrContextCreated () |
| void | OnGrContextDestroyed () |
|
default |
| std::shared_ptr< Texture > flutter::TextureRegistry::GetTexture | ( | int64_t | id | ) |
Definition at line 93 of file texture.cc.
Referenced by flutter::testing::TEST(), flutter::testing::TEST(), and flutter::testing::TEST().
| void flutter::TextureRegistry::OnGrContextCreated | ( | ) |
Definition at line 52 of file texture.cc.
References image.
Referenced by flutter::testing::TEST(), and flutter::testing::TEST().
| void flutter::TextureRegistry::OnGrContextDestroyed | ( | ) |
Definition at line 74 of file texture.cc.
References image.
Referenced by flutter::testing::TEST(), and flutter::testing::TEST().
| void flutter::TextureRegistry::RegisterContextListener | ( | uintptr_t | id, |
| std::weak_ptr< ContextListener > | image | ||
| ) |
Definition at line 26 of file texture.cc.
Referenced by flutter::testing::TEST().
| void flutter::TextureRegistry::RegisterTexture | ( | const std::shared_ptr< Texture > & | texture | ) |
Definition at line 19 of file texture.cc.
References texture.
Referenced by flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), and flutter::testing::TEST().
| void flutter::TextureRegistry::UnregisterContextListener | ( | uintptr_t | id | ) |
Definition at line 47 of file texture.cc.
| void flutter::TextureRegistry::UnregisterTexture | ( | int64_t | id | ) |
Definition at line 38 of file texture.cc.
Referenced by flutter::testing::TEST(), flutter::testing::TEST(), flutter::testing::TEST(), and flutter::testing::TEST().