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

Unified Diff: app/gfx/gl/gl_context.h

Issue 5987004: Map the render process's glBindFramebuffer(0) to the context's backing FBO.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 | « no previous file | app/gfx/gl/gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/gfx/gl/gl_context.h
===================================================================
--- app/gfx/gl/gl_context.h (revision 69790)
+++ app/gfx/gl/gl_context.h (working copy)
@@ -45,6 +45,10 @@
// Set swap interval. This context must be current.
virtual void SetSwapInterval(int interval) = 0;
+ // Returns the internal frame buffer object name if the context is backed by
+ // FBO. Otherwise returns 0.
+ virtual unsigned int GetBackingFrameBufferObject();
+
// Returns space separated list of extensions. The context must be current.
virtual std::string GetExtensions();
« no previous file with comments | « no previous file | app/gfx/gl/gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698