| Index: gpu/command_buffer/service/image_factory.h
|
| diff --git a/gpu/command_buffer/service/image_factory.h b/gpu/command_buffer/service/image_factory.h
|
| index c27c24594ac950eee25c88ac51989b2f2ac582e6..cfa4cef27f0f6195c7608edbba5f1b0f1ad99348 100644
|
| --- a/gpu/command_buffer/service/image_factory.h
|
| +++ b/gpu/command_buffer/service/image_factory.h
|
| @@ -15,32 +15,11 @@ class GLImage;
|
| }
|
|
|
| namespace gpu {
|
| -struct Capabilities;
|
|
|
| class GPU_EXPORT ImageFactory {
|
| public:
|
| ImageFactory();
|
|
|
| - // Returns a valid GpuMemoryBuffer format given a valid internalformat as
|
| - // defined by CHROMIUM_gpu_memory_buffer_image.
|
| - static gfx::BufferFormat DefaultBufferFormatForImageFormat(
|
| - unsigned internalformat);
|
| -
|
| - // Returns true if |internalformat| is compatible with |format|.
|
| - static bool IsImageFormatCompatibleWithGpuMemoryBufferFormat(
|
| - unsigned internalformat,
|
| - gfx::BufferFormat format);
|
| -
|
| - // Returns true if |format| is supported by |capabilities|.
|
| - static bool IsGpuMemoryBufferFormatSupported(
|
| - gfx::BufferFormat format,
|
| - const Capabilities& capabilities);
|
| -
|
| - // Returns true if |size| is valid for |format|.
|
| - static bool IsImageSizeValidForGpuMemoryBufferFormat(
|
| - const gfx::Size& size,
|
| - gfx::BufferFormat format);
|
| -
|
| // Creates a GLImage instance for GPU memory buffer identified by |handle|.
|
| // |client_id| should be set to the client requesting the creation of instance
|
| // and can be used by factory implementation to verify access rights.
|
|
|