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

Unified Diff: content/renderer/pepper_platform_context_3d_impl.cc

Issue 7762013: Added GPU process "echo" IPC message. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/renderer/pepper_platform_context_3d_impl.cc
===================================================================
--- content/renderer/pepper_platform_context_3d_impl.cc (revision 98655)
+++ content/renderer/pepper_platform_context_3d_impl.cc (working copy)
@@ -111,11 +111,6 @@
return true;
}
-void PlatformContext3DImpl::SetSwapBuffersCallback(Callback0::Type* callback) {
- DCHECK(command_buffer_);
- command_buffer_->SetSwapBuffersCallback(callback);
-}
-
unsigned PlatformContext3DImpl::GetBackingTextureId() {
DCHECK(command_buffer_);
return parent_texture_id_;
@@ -134,6 +129,10 @@
context_lost_callback_.reset(callback);
}
+bool PlatformContext3DImpl::Echo(Task* task) {
+ return command_buffer_->Echo(task);
+}
+
void PlatformContext3DImpl::OnContextLost() {
DCHECK(command_buffer_);
« no previous file with comments | « content/renderer/pepper_platform_context_3d_impl.h ('k') | content/renderer/render_widget_fullscreen_pepper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698