class Context

Defined at line 196 of file ../../src/graphics/magma/include/lib/magma_service/msd.h

This represents a single hardware context that may execute commands. Calls are made on the

context's connection thread.

Public Methods

void ~Context ()

Defined at line 12 of file ../../src/graphics/magma/include/lib/magma_service/msd.cc

magma_status_t MsdExecuteCommandBufferWithResources (magma_command_buffer * command_buffer, magma_exec_resource * exec_resources, Buffer ** buffers, Semaphore ** wait_semaphores, Semaphore ** signal_semaphores)

Deprecated.

Executes a command buffer given associated set of resources and semaphores.

|command_buffer| is the command buffer to be executed

|exec_resources| describe the associated resources

|buffers| are the buffers referenced the ids in |exec_resource|, in the same order

|wait_semaphores| are the semaphores that must be signaled before starting command buffer

execution

|signal_semaphores| are the semaphores to be signaled upon completion of the command buffer

Defined at line 208 of file ../../src/graphics/magma/include/lib/magma_service/msd.h

magma_status_t MsdExecuteCommandBuffers (std::vector<magma_exec_command_buffer> & command_buffers, std::vector<magma_exec_resource> & resources, std::vector<Buffer *> & buffers, std::vector<Semaphore *> & wait_semaphores, std::vector<Semaphore *> & signal_semaphores)

Defined at line 216 of file ../../src/graphics/magma/include/lib/magma_service/msd.h

magma_status_t MsdExecuteInlineCommand (magma_inline_command_buffer * command, Semaphore ** semaphores)

Executes a buffer of commands. `semaphores` is a set of semaphores that may be used by the

commands; the exact usage is driver-dependent.

Defined at line 225 of file ../../src/graphics/magma/include/lib/magma_service/msd.h