| 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 <memory> | 5 #include <memory> |
| 6 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 | 9 |
| 10 namespace gl { | |
| 11 class GLContext; | |
| 12 } | |
| 13 | |
| 14 namespace android_webview { | 10 namespace android_webview { |
| 15 | 11 |
| 16 namespace internal { | 12 namespace internal { |
| 17 class ScopedAppGLStateRestoreImpl; | 13 class ScopedAppGLStateRestoreImpl; |
| 18 } | 14 } |
| 19 | 15 |
| 20 struct StencilState { | 16 struct StencilState { |
| 21 unsigned char stencil_test_enabled; | 17 unsigned char stencil_test_enabled; |
| 22 int stencil_front_func; | 18 int stencil_front_func; |
| 23 int stencil_front_ref; | 19 int stencil_front_ref; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 52 StencilState stencil_state() const; | 48 StencilState stencil_state() const; |
| 53 int framebuffer_binding_ext() const; | 49 int framebuffer_binding_ext() const; |
| 54 | 50 |
| 55 private: | 51 private: |
| 56 std::unique_ptr<internal::ScopedAppGLStateRestoreImpl> impl_; | 52 std::unique_ptr<internal::ScopedAppGLStateRestoreImpl> impl_; |
| 57 | 53 |
| 58 DISALLOW_COPY_AND_ASSIGN(ScopedAppGLStateRestore); | 54 DISALLOW_COPY_AND_ASSIGN(ScopedAppGLStateRestore); |
| 59 }; | 55 }; |
| 60 | 56 |
| 61 } // namespace android_webview | 57 } // namespace android_webview |
| OLD | NEW |