| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef MOJO_GLES2_CONTROL_THUNKS_IMPL_H_ | 5 #ifndef MOJO_GLES2_CONTROL_THUNKS_IMPL_H_ |
| 6 #define MOJO_GLES2_CONTROL_THUNKS_IMPL_H_ | 6 #define MOJO_GLES2_CONTROL_THUNKS_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/threading/thread_local.h" | 9 #include "base/threading/thread_local.h" |
| 10 #include "gpu/GLES2/gl2extchromium.h" | 10 #include "gpu/GLES2/gl2extchromium.h" |
| 11 #include "mojo/gles2/gles2_context.h" | 11 #include "mojo/gles2/gles2_context.h" |
| 12 #include "mojo/public/c/gpu/MGL/mgl.h" | 12 #include "mojo/public/c/include/MGL/mgl.h" |
| 13 #include "mojo/public/c/gpu/MGL/mgl_echo.h" | 13 #include "mojo/public/c/include/MGL/mgl_echo.h" |
| 14 #include "mojo/public/c/gpu/MGL/mgl_signal_sync_point.h" | 14 #include "mojo/public/c/include/MGL/mgl_signal_sync_point.h" |
| 15 | 15 |
| 16 namespace gpu { | 16 namespace gpu { |
| 17 namespace gles2 { | 17 namespace gles2 { |
| 18 class GLES2Interface; | 18 class GLES2Interface; |
| 19 } | 19 } |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace gles2 { | 22 namespace gles2 { |
| 23 | 23 |
| 24 // ControlThunksImpl is a singleton class that implements the MGL control | 24 // ControlThunksImpl is a singleton class that implements the MGL control |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 ~ControlThunksImpl(); | 62 ~ControlThunksImpl(); |
| 63 | 63 |
| 64 base::ThreadLocalPointer<GLES2Context> current_context_tls_; | 64 base::ThreadLocalPointer<GLES2Context> current_context_tls_; |
| 65 | 65 |
| 66 DISALLOW_COPY_AND_ASSIGN(ControlThunksImpl); | 66 DISALLOW_COPY_AND_ASSIGN(ControlThunksImpl); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace gles2 | 69 } // namespace gles2 |
| 70 | 70 |
| 71 #endif // MOJO_GLES2_CONTROL_THUNKS_IMPL_H_ | 71 #endif // MOJO_GLES2_CONTROL_THUNKS_IMPL_H_ |
| OLD | NEW |