| 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 "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "gpu/command_buffer/client/gles2_implementation.h" | 10 #include "gpu/command_buffer/client/gles2_implementation.h" |
| 11 #include "mojo/gles2/command_buffer_client_impl.h" | 11 #include "mojo/gles2/command_buffer_client_impl.h" |
| 12 #include "mojo/public/bindings/remote_ptr.h" | |
| 13 #include "mojo/public/c/gles2/gles2.h" | 12 #include "mojo/public/c/gles2/gles2.h" |
| 13 #include "mojo/public/cpp/bindings/remote_ptr.h" |
| 14 | 14 |
| 15 struct MojoGLES2ContextPrivate {}; | 15 struct MojoGLES2ContextPrivate {}; |
| 16 | 16 |
| 17 namespace gpu { | 17 namespace gpu { |
| 18 class TransferBuffer; | 18 class TransferBuffer; |
| 19 namespace gles2 { | 19 namespace gles2 { |
| 20 class GLES2CmdHelper; | 20 class GLES2CmdHelper; |
| 21 class GLES2Implementation; | 21 class GLES2Implementation; |
| 22 } | 22 } |
| 23 } | 23 } |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 MojoGLES2DrawAnimationFrame animation_callback_; | 55 MojoGLES2DrawAnimationFrame animation_callback_; |
| 56 void* closure_; | 56 void* closure_; |
| 57 | 57 |
| 58 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2Context); | 58 MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2Context); |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace gles2 | 61 } // namespace gles2 |
| 62 } // namespace mojo | 62 } // namespace mojo |
| 63 | 63 |
| 64 #endif // MOJO_GLES2_GLES2_CONTEXT_H_ | 64 #endif // MOJO_GLES2_GLES2_CONTEXT_H_ |
| OLD | NEW |