#include <mocks.h>
|
| MockCommandBuffer (std::weak_ptr< const Context > context) |
|
| MOCK_METHOD (bool, IsValid,(),(const, override)) |
|
| MOCK_METHOD (void, SetLabel,(const std::string &label),(const, override)) |
|
| MOCK_METHOD (std::shared_ptr< BlitPass >, OnCreateBlitPass,(),(override)) |
|
| MOCK_METHOD (bool, OnSubmitCommands,(CompletionCallback callback),(override)) |
|
| MOCK_METHOD (void, OnWaitUntilScheduled,(),(override)) |
|
| MOCK_METHOD (std::shared_ptr< ComputePass >, OnCreateComputePass,(),(override)) |
|
| MOCK_METHOD (std::shared_ptr< RenderPass >, OnCreateRenderPass,(RenderTarget render_target),(override)) |
|
Public Member Functions inherited from impeller::CommandBuffer |
virtual | ~CommandBuffer () |
|
virtual bool | IsValid () const =0 |
|
virtual void | SetLabel (const std::string &label) const =0 |
|
void | WaitUntilScheduled () |
| Force execution of pending GPU commands. More...
|
|
std::shared_ptr< RenderPass > | CreateRenderPass (const RenderTarget &render_target) |
| Create a render pass to record render commands into. More...
|
|
std::shared_ptr< BlitPass > | CreateBlitPass () |
| Create a blit pass to record blit commands into. More...
|
|
std::shared_ptr< ComputePass > | CreateComputePass () |
| Create a compute pass to record compute commands into. More...
|
|
Definition at line 109 of file mocks.h.
◆ MockCommandBuffer()
impeller::testing::MockCommandBuffer::MockCommandBuffer |
( |
std::weak_ptr< const Context > |
context | ) |
|
|
inlineexplicit |
Definition at line 111 of file mocks.h.
CommandBuffer(std::weak_ptr< const Context > context)
◆ MOCK_METHOD() [1/7]
impeller::testing::MockCommandBuffer::MOCK_METHOD |
( |
bool |
, |
|
|
IsValid |
, |
|
|
() |
, |
|
|
(const, override) |
|
|
) |
| |
◆ MOCK_METHOD() [2/7]
◆ MOCK_METHOD() [3/7]
impeller::testing::MockCommandBuffer::MOCK_METHOD |
( |
std::shared_ptr< BlitPass > |
, |
|
|
OnCreateBlitPass |
, |
|
|
() |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [4/7]
impeller::testing::MockCommandBuffer::MOCK_METHOD |
( |
std::shared_ptr< ComputePass > |
, |
|
|
OnCreateComputePass |
, |
|
|
() |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [5/7]
impeller::testing::MockCommandBuffer::MOCK_METHOD |
( |
std::shared_ptr< RenderPass > |
, |
|
|
OnCreateRenderPass |
, |
|
|
(RenderTarget render_target) |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [6/7]
impeller::testing::MockCommandBuffer::MOCK_METHOD |
( |
void |
, |
|
|
OnWaitUntilScheduled |
, |
|
|
() |
, |
|
|
(override) |
|
|
) |
| |
◆ MOCK_METHOD() [7/7]
impeller::testing::MockCommandBuffer::MOCK_METHOD |
( |
void |
, |
|
|
SetLabel |
, |
|
|
(const std::string &label) |
, |
|
|
(const, override) |
|
|
) |
| |
The documentation for this class was generated from the following file: