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

Unified Diff: android_webview/browser/scoped_app_gl_state_restore.h

Issue 19787007: [Android WebView] More App GL state save/restore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 c8eb0ba4aada99d9d87830026472711e013bbf98..824f466fa15c5e3a68d115f2cbd95a67ce6670ec 100644
--- a/android_webview/browser/scoped_app_gl_state_restore.h
+++ b/android_webview/browser/scoped_app_gl_state_restore.h
@@ -41,17 +41,42 @@ class ScopedAppGLStateRestore {
GLboolean depth_test_;
GLboolean cull_face_;
+ GLint cull_face_mode_;
GLboolean color_mask_[4];
- GLboolean blend_enabled_;
- GLint blend_src_rgb_;
- GLint blend_src_alpha_;
- GLint blend_dest_rgb_;
- GLint blend_dest_alpha_;
- GLint active_texture_;
- GLint viewport_[4];
- GLboolean scissor_test_;
- GLint scissor_box_[4];
+ GLfloat color_clear_[4];
+ GLfloat depth_clear_;
+ GLint stencil_clear_value_;
GLint current_program_;
+ GLint depth_func_;
+ GLboolean depth_mask_;
+ GLfloat depth_rage_[2];
+ GLint front_face_;
+ GLint hint_generate_mipmap_;
+ GLfloat line_width_;
+ GLfloat polygon_offset_factor_;
+ GLfloat polygon_offset_units_;
+ GLfloat sample_coverage_value_;
+ GLboolean sample_coverage_invert_;
+ GLint stencil_front_func_;
+ GLint stencil_front_ref_;
+ GLint stencil_front_mask_;
+ GLint stencil_back_func_;
+ GLint stencil_back_ref_;
+ GLint stencil_back_mask_;
+ GLint stencil_front_writemask_;
+ GLint stencil_back_writemask_;
+ GLint stencil_front_fail_op_;
+ GLint stencil_front_z_fail_op_;
+ GLint stencil_front_z_pass_op_;
+ GLint stencil_back_fail_op_;
+ GLint stencil_back_z_fail_op_;
+ GLint stencil_back_z_pass_op_;
+
+ GLboolean enable_dither_;
+ GLboolean enable_polygon_offset_fill_;
+ GLboolean enable_sample_alpha_to_coverage_;
+ GLboolean enable_sample_coverage_;
+ GLboolean enable_stencil_test_;
DISALLOW_COPY_AND_ASSIGN(ScopedAppGLStateRestore);
};

Powered by Google App Engine
This is Rietveld 408576698