#ifndef GPU_COMMAND_BUFFER_COMMON_GPU_MEMORY_BUFFER_SUPPORT_H_
#define GPU_COMMAND_BUFFER_COMMON_GPU_MEMORY_BUFFER_SUPPORT_H_
#include "base/containers/enum_set.h"
#include "build/build_config.h"
#include "gpu/gpu_export.h"
#include "ui/gfx/buffer_types.h"
#include "ui/gfx/geometry/size.h"
namespace gpu {
GpuMemoryBufferFormatSet;
static_assert …;
static_assert …;
struct Capabilities;
GPU_EXPORT bool IsImageFromGpuMemoryBufferFormatSupported(
gfx::BufferFormat format,
const Capabilities& capabilities);
GPU_EXPORT bool IsImageSizeValidForGpuMemoryBufferFormat(
const gfx::Size& size,
gfx::BufferFormat format);
}
#endif