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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "gpu/command_buffer/client/gles2_implementation.h" | 12 #include "gpu/command_buffer/client/gles2_implementation.h" |
13 #include "mojo/gles2/command_buffer_client_impl.h" | 13 #include "mojo/gles2/command_buffer_client_impl.h" |
14 #include "mojo/public/c/gles2/gles2.h" | 14 #include "third_party/mojo/src/mojo/public/c/gles2/gles2.h" |
15 | 15 |
16 struct MojoGLES2ContextPrivate {}; | 16 struct MojoGLES2ContextPrivate {}; |
17 | 17 |
18 namespace gpu { | 18 namespace gpu { |
19 class TransferBuffer; | 19 class TransferBuffer; |
20 namespace gles2 { | 20 namespace gles2 { |
21 class GLES2CmdHelper; | 21 class GLES2CmdHelper; |
22 class GLES2Implementation; | 22 class GLES2Implementation; |
23 } | 23 } |
24 } | 24 } |
(...skipping 25 matching lines...) Expand all Loading... |
50 scoped_ptr<gpu::gles2::GLES2Implementation> implementation_; | 50 scoped_ptr<gpu::gles2::GLES2Implementation> implementation_; |
51 MojoGLES2ContextLost lost_callback_; | 51 MojoGLES2ContextLost lost_callback_; |
52 void* closure_; | 52 void* closure_; |
53 | 53 |
54 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2Context); | 54 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2Context); |
55 }; | 55 }; |
56 | 56 |
57 } // namespace gles2 | 57 } // namespace gles2 |
58 | 58 |
59 #endif // MOJO_GLES2_GLES2_CONTEXT_H_ | 59 #endif // MOJO_GLES2_GLES2_CONTEXT_H_ |
OLD | NEW |