class CommandBufferHelper

Defined at line 18 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

a class to create and own the command buffer were trying to execute

Public Members

static const uint32_t kNumResources
static const uint32_t kWaitSemaphoreCount
static const uint32_t kSignalSemaphoreCount

Public Methods

std::unique_ptr<CommandBufferHelper> Create ()

Defined at line 20 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

uint32_t BufferSize ()

Defined at line 59 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

std::vector<msd::MagmaSystemBuffer *> & resources ()

Defined at line 61 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

std::vector<msd::Buffer *> & msd_resources ()

Defined at line 62 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

msd::Context * ctx ()

Defined at line 64 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

msd::MagmaSystemDevice * dev ()

Defined at line 65 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

msd::MagmaSystemConnection * connection ()

Defined at line 66 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

msd::Semaphore ** msd_wait_semaphores ()

Defined at line 68 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

msd::Semaphore ** msd_signal_semaphores ()

Defined at line 69 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

magma_exec_command_buffer * abi_cmd_buf ()

Defined at line 71 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

uint64_t * abi_wait_semaphore_ids ()

Defined at line 73 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

uint64_t * abi_signal_semaphore_ids ()

Defined at line 75 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

magma_exec_resource * abi_resources ()

Defined at line 77 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

void set_command_buffer_flags (uint64_t flags)

Defined at line 79 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

uint64_t get_command_buffer_flags ()

Defined at line 80 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

bool Execute ()

Defined at line 82 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

void ProcessNotifications ()

Defined at line 94 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

bool ExecuteAndWait ()

Defined at line 96 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

void NotificationChannelSend (cpp20::span<uint8_t> data)

msd::NotificationHandler implementation.

Defined at line 108 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

void ContextKilled ()

Defined at line 109 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

void PerformanceCounterReadCompleted (const msd::PerfCounterResult & result)

Defined at line 110 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h

async_dispatcher_t * GetAsyncDispatcher ()

Defined at line 111 of file ../../src/graphics/magma/lib/magma_service/test_util/command_buffer_helper_cpp.h