| Index: content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h b/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h
|
| index 01628f2c5c9f49a7f30ca3d4034eaf1912f595a8..820a30c02e8d16b9ef640ca7237d3b09a2b60821 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h
|
| @@ -11,13 +11,14 @@ struct ANativeWindow;
|
|
|
| namespace content {
|
|
|
| -// Provides implementation of a GPU memory buffer based on a surface texture id.
|
| +// Implementation of GPU memory buffer based on SurfaceTextures.
|
| class GpuMemoryBufferImplSurfaceTexture : public GpuMemoryBufferImpl {
|
| public:
|
| - GpuMemoryBufferImplSurfaceTexture(gfx::Size size, unsigned internalformat);
|
| + GpuMemoryBufferImplSurfaceTexture(const gfx::Size& size,
|
| + unsigned internalformat);
|
| virtual ~GpuMemoryBufferImplSurfaceTexture();
|
|
|
| - bool Initialize(gfx::GpuMemoryBufferHandle handle);
|
| + bool InitializeFromHandle(gfx::GpuMemoryBufferHandle handle);
|
|
|
| static bool IsFormatSupported(unsigned internalformat);
|
| static int WindowFormat(unsigned internalformat);
|
|
|