#include <mocks.h>
|
| MockTexture (const TextureDescriptor &desc) |
|
| MOCK_METHOD (void, SetLabel,(std::string_view label),(override)) |
|
| MOCK_METHOD (bool, IsValid,(),(const, override)) |
|
| MOCK_METHOD (ISize, GetSize,(),(const, override)) |
|
| MOCK_METHOD (bool, OnSetContents,(const uint8_t *contents, size_t length, size_t slice),(override)) |
|
| MOCK_METHOD (bool, OnSetContents,(std::shared_ptr< const fml::Mapping > mapping, size_t slice),(override)) |
|
| Texture (int64_t id) |
|
virtual | ~Texture () |
|
virtual void | Paint (PaintContext &context, const SkRect &bounds, bool freeze, const DlImageSampling sampling)=0 |
|
virtual void | MarkNewFrameAvailable ()=0 |
|
virtual void | OnTextureUnregistered ()=0 |
|
int64_t | Id () |
|
| ContextListener () |
|
| ~ContextListener () |
|
virtual void | OnGrContextCreated ()=0 |
|
virtual void | OnGrContextDestroyed ()=0 |
|
Definition at line 177 of file mocks.h.
◆ MockTexture()
◆ MOCK_METHOD() [1/5]
impeller::testing::MockTexture::MOCK_METHOD |
( |
bool |
, |
|
|
IsValid |
, |
|
|
() |
, |
|
|
(const, override) |
|
|
) |
| |
◆ MOCK_METHOD() [2/5]
impeller::testing::MockTexture::MOCK_METHOD |
( |
bool |
, |
|
|
OnSetContents |
, |
|
|
(const uint8_t *contents, size_t length, size_t slice) |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [3/5]
impeller::testing::MockTexture::MOCK_METHOD |
( |
bool |
, |
|
|
OnSetContents |
, |
|
|
(std::shared_ptr< const fml::Mapping > mapping, size_t slice) |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [4/5]
impeller::testing::MockTexture::MOCK_METHOD |
( |
ISize |
, |
|
|
GetSize |
, |
|
|
() |
, |
|
|
(const, override) |
|
|
) |
| |
◆ MOCK_METHOD() [5/5]
impeller::testing::MockTexture::MOCK_METHOD |
( |
void |
, |
|
|
SetLabel |
, |
|
|
(std::string_view label) |
, |
|
|
(override) |
|
|
) |
| |
The documentation for this class was generated from the following file: