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

Unified Diff: content/common/gpu/client/command_buffer_proxy_impl.cc

Issue 9910004: Implement Discard and EnsureBackbufferCHROMIUM using command buffer instead of IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/client/command_buffer_proxy_impl.cc
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.cc b/content/common/gpu/client/command_buffer_proxy_impl.cc
index fa6c25ff779d8c32972fd50d8f22ad9e67b6d2b6..fd57d2fb55080148f669c98c0c4bea728358fed0 100644
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc
@@ -376,20 +376,6 @@ bool CommandBufferProxyImpl::SetSurfaceVisible(bool visible) {
return Send(new GpuCommandBufferMsg_SetSurfaceVisible(route_id_, visible));
}
-bool CommandBufferProxyImpl::DiscardBackbuffer() {
- if (last_state_.error != gpu::error::kNoError)
- return false;
-
- return Send(new GpuCommandBufferMsg_DiscardBackbuffer(route_id_));
-}
-
-bool CommandBufferProxyImpl::EnsureBackbuffer() {
- if (last_state_.error != gpu::error::kNoError)
- return false;
-
- return Send(new GpuCommandBufferMsg_EnsureBackbuffer(route_id_));
-}
-
bool CommandBufferProxyImpl::SetParent(
CommandBufferProxy* parent_command_buffer,
uint32 parent_texture_id) {
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.h ('k') | content/common/gpu/client/content_gl_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698