| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |