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

Side by Side 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: static member var 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <vector> 5 #include <vector>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "ui/gl/gl_bindings.h" 8 #include "ui/gl/gl_bindings.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 GLint active_texture_; 76 GLint active_texture_;
77 GLint viewport_[4]; 77 GLint viewport_[4];
78 GLboolean scissor_test_; 78 GLboolean scissor_test_;
79 GLint scissor_box_[4]; 79 GLint scissor_box_[4];
80 80
81 GLboolean stencil_test_; 81 GLboolean stencil_test_;
82 GLint stencil_func_; 82 GLint stencil_func_;
83 GLint stencil_mask_; 83 GLint stencil_mask_;
84 GLint stencil_ref_; 84 GLint stencil_ref_;
85 85
86 GLint framebuffer_binding_ext_;
87
86 struct TextureBindings { 88 struct TextureBindings {
87 GLint texture_2d; 89 GLint texture_2d;
88 GLint texture_cube_map; 90 GLint texture_cube_map;
89 GLint texture_external_oes; 91 GLint texture_external_oes;
90 // TODO(boliu): TEXTURE_RECTANGLE_ARB 92 // TODO(boliu): TEXTURE_RECTANGLE_ARB
91 }; 93 };
92 94
93 std::vector<TextureBindings> texture_bindings_; 95 std::vector<TextureBindings> texture_bindings_;
94 96
95 DISALLOW_COPY_AND_ASSIGN(ScopedAppGLStateRestore); 97 DISALLOW_COPY_AND_ASSIGN(ScopedAppGLStateRestore);
96 }; 98 };
97 99
98 } // namespace android_webview 100 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698