| Index: gpu/command_buffer/client/gpu_memory_buffer_factory.h
|
| diff --git a/gpu/command_buffer/client/gpu_memory_buffer_factory.h b/gpu/command_buffer/client/gpu_memory_buffer_factory.h
|
| index db15743d7b6cd4ef87904a4b89c8e11e1b8c6895..bdaf590452f2b271571b6ba8f79dcac52ca36021 100644
|
| --- a/gpu/command_buffer/client/gpu_memory_buffer_factory.h
|
| +++ b/gpu/command_buffer/client/gpu_memory_buffer_factory.h
|
| @@ -10,17 +10,29 @@
|
|
|
| namespace gpu {
|
|
|
| +namespace gles2 {
|
| +class ImageManager;
|
| +}
|
| +
|
| // Getter and setter for a GpuMemoryBuffer factory for the current process.
|
| // Currently it is only used for Android Webview where both browser and
|
| // renderer are within the same process.
|
|
|
| // It is not valid to call this method before the setter is called.
|
| -const GpuMemoryBuffer::Creator& GetProcessDefaultGpuMemoryBufferFactory();
|
| +GLES2_IMPL_EXPORT const GpuMemoryBuffer::Creator&
|
| + GetProcessDefaultGpuMemoryBufferFactory();
|
|
|
| // It is illegal to call the setter more than once.
|
| GLES2_IMPL_EXPORT void SetProcessDefaultGpuMemoryBufferFactory(
|
| const GpuMemoryBuffer::Creator& factory);
|
|
|
| +// It is not valid to call this method before the setter is called.
|
| +GLES2_IMPL_EXPORT gles2::ImageManager* GetProcessDefaultImageManager();
|
| +
|
| +// It is illegal to call the setter more than once.
|
| +GLES2_IMPL_EXPORT void SetProcessDefaultImageManager(
|
| + gles2::ImageManager* image_manager);
|
| +
|
| } // namespace gpu
|
|
|
| #endif // GPU_COMMAND_BUFFER_CLIENT_GPU_MEMORY_BUFFER_FACTORY_H_
|
|
|