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

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

Issue 9699125: Chromium implementation of discardBackbuffer WebGraphicsContext3D extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New naming: discardFramebufferEXT and ensureFramebufferCHROMIUM 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/webgraphicscontext3d_command_buffer_impl.h
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index dd0620a79ba73ec1f33d970e9f2fc95243d7429b..0232edaa8d889f0905a527b4ca89641dd9437e69 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -443,6 +443,9 @@ class WebGraphicsContext3DCommandBufferImpl
virtual void setVisibilityCHROMIUM(bool visible);
+ virtual void discardFramebufferEXT();
apatrick_chromium 2012/03/16 19:37:56 This one takes some arguments.
mmocny 2012/03/16 20:25:20 How closely should I duplicate the original argume
apatrick_chromium 2012/03/16 21:08:19 I think for the purposes of this patch, just make
+ virtual void ensureFramebufferCHROMIUM();
+
virtual void setMemoryAllocationChangedCallbackCHROMIUM(
WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback);

Powered by Google App Engine
This is Rietveld 408576698