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

Unified Diff: chrome/renderer/render_thread.cc

Issue 1328001: Added command buffer implementation of WebGL which runs in the sandbox.... (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
Index: chrome/renderer/render_thread.cc
===================================================================
--- chrome/renderer/render_thread.cc (revision 42776)
+++ chrome/renderer/render_thread.cc (working copy)
@@ -703,6 +703,14 @@
Send(new ViewHostMsg_EstablishGpuChannel());
}
+GpuChannelHost* RenderThread::EstablishGpuChannelSync() {
+ EstablishGpuChannel();
+ Send(new ViewHostMsg_SynchronizeGpu());
+ // TODO(kbr): the GPU channel is still in the unconnected state at this point.
+ // Need to figure out whether it is really safe to return it.
+ return gpu_channel_.get();
+}
+
GpuChannelHost* RenderThread::GetGpuChannel() {
if (!gpu_channel_.get())
return NULL;

Powered by Google App Engine
This is Rietveld 408576698