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

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

Issue 6992010: Added proxy / stub pair for GPU surfaces. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.h
===================================================================
--- content/common/gpu/gpu_channel.h (revision 86313)
+++ content/common/gpu/gpu_channel.h (working copy)
@@ -15,6 +15,7 @@
#include "base/process.h"
#include "build/build_config.h"
#include "content/common/gpu/gpu_command_buffer_stub.h"
+#include "content/common/gpu/gpu_surface_stub.h"
#include "content/common/message_router.h"
#include "ipc/ipc_sync_channel.h"
#include "ui/gfx/native_widget_types.h"
@@ -112,6 +113,10 @@
int32* route_id);
void OnDestroyCommandBuffer(int32 route_id);
+ void OnCreateOffscreenSurface(const gfx::Size& size,
+ int* route_id);
+ void OnDestroySurface(int route_id);
+
void OnCreateVideoDecoder(int32 decoder_host_id,
const std::vector<uint32>& configs);
void OnDestroyVideoDecoder(int32 decoder_id);
@@ -139,6 +144,10 @@
#if defined(ENABLE_GPU)
typedef IDMap<GpuCommandBufferStub, IDMapOwnPointer> StubMap;
StubMap stubs_;
+
+ typedef IDMap<GpuSurfaceStub, IDMapOwnPointer> SurfaceMap;
+ SurfaceMap surfaces_;
+
std::set<int32> latched_routes_;
#endif // defined (ENABLE_GPU)
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698