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