Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h

Issue 14456004: GPU client side changes for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Incorporate code reviews Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 28e96d5b450bbce1d106369dd64fcbf55aeda6c1..89d78647d9c0804b8f7a8d74074058708dbf2d95 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
@@ -403,6 +403,7 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
virtual void deleteBuffer(WebGLId);
virtual void deleteFramebuffer(WebGLId);
+ virtual void deleteImageBuffer(WebGLId);
virtual void deleteProgram(WebGLId);
virtual void deleteRenderbuffer(WebGLId);
virtual void deleteShader(WebGLId);
@@ -474,6 +475,8 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
virtual void texStorage2DEXT(
WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat,
WGC3Dint width, WGC3Dint height);
+ virtual void createGpuMemoryBuffer2DCHROMIUM(
+ WGC3Duint image_id, WGC3Dint width, WGC3Dint height);
virtual WebGLId createQueryEXT();
virtual void deleteQueryEXT(WebGLId query);
@@ -562,7 +565,6 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
// instead of going through WebGraphicsContext3D.
void ClearContext();
-
bool is_offscreen_;
// Only used when not offscreen.
gfx::AcceleratedWidget window_;

Powered by Google App Engine
This is Rietveld 408576698