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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_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: webkit/gpu/webgraphicscontext3d_in_process_impl.h
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_impl.h
index a26a6babc1cb26cd75ed5b6f427fcf7bb6b88250..22926868bb61330647f2551bb4ead42292386a86 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.h
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.h
@@ -107,6 +107,9 @@ class WebGraphicsContext3DInProcessImpl : public WebGraphicsContext3D {
virtual void setVisibilityCHROMIUM(bool visible);
+ virtual void discardFramebufferEXT();
+ virtual void ensureFramebufferCHROMIUM();
+
virtual void setMemoryAllocationChangedCallbackCHROMIUM(
WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback) { }

Powered by Google App Engine
This is Rietveld 408576698