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

Unified Diff: content/renderer/gpu/command_buffer_proxy.h

Issue 7890046: Command to mark surface inactive, so gpu process can release resources. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated requested changes Created 9 years, 2 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/gpu/command_buffer_proxy.h
diff --git a/content/renderer/gpu/command_buffer_proxy.h b/content/renderer/gpu/command_buffer_proxy.h
index efb89fe9bd08dbdbf6f55b033a08f015afa823c5..bd695dd3fa07441964eaf5720bee735eafe9ab99 100644
--- a/content/renderer/gpu/command_buffer_proxy.h
+++ b/content/renderer/gpu/command_buffer_proxy.h
@@ -70,6 +70,8 @@ class CommandBufferProxy : public gpu::CommandBuffer,
// the task whether the echo succeeds or not.
bool Echo(const base::Closure& callback);
+ bool SetSurfaceVisible(bool visible);
mmocny 2011/10/13 21:48:43 TODO: add a comment here
+
// Reparent a command buffer. TODO(apatrick): going forward, the notion of
// the parent / child relationship between command buffers is going away in
// favor of the notion of surfaces that can be drawn to in one command buffer

Powered by Google App Engine
This is Rietveld 408576698