class MsdMockBuffer

Defined at line 23 of file ../../src/graphics/magma/lib/magma_service/mock/mock_msd.h

These classes contain default implementations of msd_device_t functionality.

To override a specific function to contain test logic, inherit from the

desired class, override the desired function, and pass as the msd_abi object

Public Methods

void MsdMockBuffer (std::unique_ptr<magma::PlatformBuffer> platform_buf)

Defined at line 25 of file ../../src/graphics/magma/lib/magma_service/mock/mock_msd.h

MsdMockBuffer * cast (msd::Buffer * buf)

Defined at line 29 of file ../../src/graphics/magma/lib/magma_service/mock/mock_msd.h

magma::PlatformBuffer * platform_buffer ()

Defined at line 36 of file ../../src/graphics/magma/lib/magma_service/mock/mock_msd.h

void ~MsdMockBuffer ()

Defined at line 67 of file ../../src/graphics/magma/lib/magma_service/mock/mock_msd.cc