| Index: ui/gfx/gpu_memory_buffer.h
|
| diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h
|
| index 423dcf617e78c6f142296a52e1c534ade9cad29e..288f8e77717d18fdf730f21433e747d96958f903 100644
|
| --- a/ui/gfx/gpu_memory_buffer.h
|
| +++ b/ui/gfx/gpu_memory_buffer.h
|
| @@ -65,6 +65,8 @@ class GFX_EXPORT GpuMemoryBuffer {
|
| public:
|
| virtual ~GpuMemoryBuffer() {}
|
|
|
| + virtual void* GetIOSurface() = 0;
|
| +
|
| // Maps each plane of the buffer into the client's address space so it can be
|
| // written to by the CPU. This call may block, for instance if the GPU needs
|
| // to finish accessing the buffer or if CPU caches need to be synchronized.
|
|
|