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

Unified Diff: content/common/gpu/client/content_gl_context.h

Issue 9699125: Chromium implementation of discardBackbuffer WebGraphicsContext3D extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renaming extension for now, so its not mistaken for the standard one 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
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy.cc ('k') | content/common/gpu/client/content_gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/content_gl_context.h
diff --git a/content/common/gpu/client/content_gl_context.h b/content/common/gpu/client/content_gl_context.h
index 87f4b0704078047472d6ea0a900f6744431d576c..d410a1da5583f08680a239d76cb620a17f8acf8d 100644
--- a/content/common/gpu/client/content_gl_context.h
+++ b/content/common/gpu/client/content_gl_context.h
@@ -164,6 +164,9 @@ class ContentGLContext : public base::SupportsWeakPtr<ContentGLContext>,
// Sends an IPC message with the new state of surface visibility
bool SetSurfaceVisible(bool visibility);
+ bool DiscardBackbuffer();
+ bool EnsureBackbuffer();
+
// Register a callback to invoke whenever we recieve a new memory allocation.
void SetMemoryAllocationChangedCallback(
const base::Callback<void(const GpuMemoryAllocationForRenderer&)>&
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy.cc ('k') | content/common/gpu/client/content_gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698