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

Unified Diff: android_webview/browser/scoped_app_gl_state_restore.h

Issue 22277004: Add gfx::SurfaceFactoryWebview (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: InProcessContext takes attrib struct Created 7 years, 4 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: android_webview/browser/scoped_app_gl_state_restore.h
diff --git a/android_webview/browser/scoped_app_gl_state_restore.h b/android_webview/browser/scoped_app_gl_state_restore.h
index 7840fbf065841df85abcf306bee049ece56a0233..93b5ad51be63ef2827d8cdf25e7e6c03cca5b7fa 100644
--- a/android_webview/browser/scoped_app_gl_state_restore.h
+++ b/android_webview/browser/scoped_app_gl_state_restore.h
@@ -25,6 +25,7 @@ class ScopedAppGLStateRestore {
~ScopedAppGLStateRestore();
bool stencil_enabled() const { return stencil_test_; }
+ GLint framebuffer_binding_ext() const { return framebuffer_binding_ext_; }
private:
const CallMode mode_;
@@ -83,6 +84,8 @@ class ScopedAppGLStateRestore {
GLint stencil_mask_;
GLint stencil_ref_;
+ GLint framebuffer_binding_ext_;
+
struct TextureBindings {
GLint texture_2d;
GLint texture_cube_map;

Powered by Google App Engine
This is Rietveld 408576698