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

Unified Diff: chrome/renderer/gpu_channel_host.h

Issue 1136006: Calling OpenGL from the renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « chrome/renderer/ggl/ggl.cc ('k') | chrome/renderer/gpu_channel_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/gpu_channel_host.h
===================================================================
--- chrome/renderer/gpu_channel_host.h (revision 42644)
+++ chrome/renderer/gpu_channel_host.h (working copy)
@@ -9,6 +9,8 @@
#include "base/hash_tables.h"
#include "chrome/common/message_router.h"
+#include "gfx/native_widget_types.h"
+#include "gfx/size.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_sync_channel.h"
@@ -52,8 +54,14 @@
virtual bool Send(IPC::Message* msg);
// Create and connect to a command buffer in the GPU process.
- CommandBufferProxy* CreateCommandBuffer();
+ CommandBufferProxy* CreateViewCommandBuffer(gfx::NativeViewId view);
+ // Create and connect to a command buffer in the GPU process.
+ CommandBufferProxy* CreateOffscreenCommandBuffer(CommandBufferProxy* parent,
+ const gfx::Size& size,
+ uint32 parent_texture_id);
+
+
// Destroy a command buffer created by this channel.
void DestroyCommandBuffer(CommandBufferProxy* command_buffer);
« no previous file with comments | « chrome/renderer/ggl/ggl.cc ('k') | chrome/renderer/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698