#include "gpu/command_buffer/service/shared_memory_region_wrapper.h"
#include "gpu/ipc/common/gpu_memory_buffer_impl_shared_memory.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace gpu {
namespace {
gfx::GpuMemoryBufferHandle CreateGpuMemoryBuffer(const gfx::Size& size,
gfx::BufferFormat format) { … }
TEST(SharedMemoryRegionWrapperTest, SinglePlaneRGBA_8888) { … }
TEST(SharedMemoryRegionWrapperTest, MultiPlaneY_UV_420) { … }
TEST(SharedMemoryRegionWrapperTest, MultiPlaneY_V_U_420) { … }
TEST(SharedMemoryRegionWrapperTest, BufferTooSmallWrongFormat) { … }
TEST(SharedMemoryRegionWrapperTest, BufferTooSmallWrongSize) { … }
}
}