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

Unified Diff: content/common/gpu/gpu_messages.h

Issue 9702081: Splitting GpuMemoryAllocation into two parts: for renderer and browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removing needless includes Created 8 years, 9 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: content/common/gpu/gpu_messages.h
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
index 04278dd2d67642c6e82063166053e077dd69b150..3d84471530df18ac14854eedef50813c5abe4f2b 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -119,10 +119,9 @@ IPC_STRUCT_TRAITS_BEGIN(content::GPUInfo)
#endif
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_TRAITS_BEGIN(GpuMemoryAllocation)
+IPC_STRUCT_TRAITS_BEGIN(GpuMemoryAllocationForRenderer)
IPC_STRUCT_TRAITS_MEMBER(gpu_resource_size_in_bytes)
- IPC_STRUCT_TRAITS_MEMBER(has_frontbuffer)
- IPC_STRUCT_TRAITS_MEMBER(has_backbuffer)
+ IPC_STRUCT_TRAITS_MEMBER(suggest_have_backbuffer)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle)
@@ -441,9 +440,13 @@ IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck)
// Send to stub on surface visibility change.
IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */)
+// Request that the GPU process create/destroy the surface backbuffer.
+IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_CreateBackbuffer)
piman 2012/03/15 20:14:32 Doing these as commands into the command buffer (l
mmocny 2012/03/15 20:39:27 Okay, I was undecided here, and I think you are co
+IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_DestroyBackbuffer)
+
// Sent to proxy when the gpu memory manager changes its memory allocation.
IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation,
- GpuMemoryAllocation /* allocation */)
+ GpuMemoryAllocationForRenderer /* allocation */)
//------------------------------------------------------------------------------
// Accelerated Video Decoder Messages

Powered by Google App Engine
This is Rietveld 408576698