| Index: content/common/gpu/client/gpu_memory_buffer_impl.h
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl.h b/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| index 5409c545c48a073f1f73b083d3d402e10f96f6dd..aa56cbf60404022136bc64112c44e3f5142d383d 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_H_
|
| #define CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_H_
|
|
|
| +#include <string>
|
| #include <vector>
|
|
|
| #include "base/callback.h"
|
| @@ -26,6 +27,12 @@ class CONTENT_EXPORT GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
|
|
|
| ~GpuMemoryBufferImpl() override;
|
|
|
| + // Gets the GPU memory buffer type with a given name.
|
| + static gfx::GpuMemoryBufferType GetNamedType(const std::string& name);
|
| +
|
| + // Gets the name of a GPU memory buffer type.
|
| + static const char* GetTypeName(gfx::GpuMemoryBufferType type);
|
| +
|
| // Gets system supported GPU memory buffer types. Preferred type at the front
|
| // of vector.
|
| static void GetSupportedTypes(std::vector<gfx::GpuMemoryBufferType>* types);
|
|
|