OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_GLES2_CONTEXT_H_ | 5 #ifndef MOJO_GLES2_GLES2_CONTEXT_H_ |
6 #define MOJO_GLES2_GLES2_CONTEXT_H_ | 6 #define MOJO_GLES2_GLES2_CONTEXT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "gpu/command_buffer/client/gles2_implementation.h" | 11 #include "gpu/command_buffer/client/gles2_implementation.h" |
12 #include "mojo/gles2/command_buffer_client_impl.h" | 12 #include "mojo/gles2/command_buffer_client_impl.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 #include "mojo/public/c/gpu/MGL/mgl_types.h" | 15 #include "mojo/public/c/include/MGL/mgl_types.h" |
16 | 16 |
17 struct MGLContextPrivate {}; | 17 struct MGLContextPrivate {}; |
18 | 18 |
19 namespace gpu { | 19 namespace gpu { |
20 class TransferBuffer; | 20 class TransferBuffer; |
21 namespace gles2 { | 21 namespace gles2 { |
22 class GLES2CmdHelper; | 22 class GLES2CmdHelper; |
23 class GLES2Implementation; | 23 class GLES2Implementation; |
24 } | 24 } |
25 } | 25 } |
(...skipping 29 matching lines...) Expand all Loading... |
55 std::unique_ptr<gpu::gles2::GLES2Implementation> implementation_; | 55 std::unique_ptr<gpu::gles2::GLES2Implementation> implementation_; |
56 MGLContextLostCallback lost_callback_; | 56 MGLContextLostCallback lost_callback_; |
57 void* closure_; | 57 void* closure_; |
58 | 58 |
59 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2Context); | 59 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2Context); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace gles2 | 62 } // namespace gles2 |
63 | 63 |
64 #endif // MOJO_GLES2_GLES2_CONTEXT_H_ | 64 #endif // MOJO_GLES2_GLES2_CONTEXT_H_ |
OLD | NEW |