Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
index e04e9e2141c39f58930ce37241af00014f9fdd5a..32472ad3791146312ac97d0116a56b46bd580e9c 100644 |
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
@@ -102,6 +102,9 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl |
virtual void bufferData(WGC3Denum target, WGC3Dsizeiptr size, |
const void* data, WGC3Denum usage); |
+ virtual void imageBufferDataCHROMIUM(WGC3Denum target, |
+ WGC3Dsizei width, |
+ WGC3Dsizei height); |
virtual void bufferSubData(WGC3Denum target, WGC3Dintptr offset, |
WGC3Dsizeiptr size, const void* data); |
@@ -556,6 +559,9 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl |
// instead of going through WebGraphicsContext3D. |
void ClearContext(); |
+ void CreateImageForGpuMemoryBuffer(WGC3Dsizei width, WGC3Dsizei height); |
+ void DeleteImageForGpuMemoryBuffer(); |
+ void DeleteImageForGpuMemoryBuffer(WebGLId id); |
bool is_offscreen_; |
// Only used when not offscreen. |