| 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 SERVICES_UI_PUBLIC_CPP_GLES2_CONTEXT_H_ | 5 #ifndef SERVICES_UI_PUBLIC_CPP_GLES2_CONTEXT_H_ |
| 6 #define SERVICES_UI_PUBLIC_CPP_GLES2_CONTEXT_H_ | 6 #define SERVICES_UI_PUBLIC_CPP_GLES2_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/single_thread_task_runner.h" |
| 14 #include "gpu/command_buffer/client/gles2_implementation.h" | 15 #include "gpu/command_buffer/client/gles2_implementation.h" |
| 15 | 16 |
| 16 namespace gpu { | 17 namespace gpu { |
| 17 | 18 |
| 18 class CommandBufferProxyImpl; | 19 class CommandBufferProxyImpl; |
| 19 class GpuChannelHost; | 20 class GpuChannelHost; |
| 20 class TransferBuffer; | 21 class TransferBuffer; |
| 21 | 22 |
| 22 namespace gles2 { | 23 namespace gles2 { |
| 23 class GLES2CmdHelper; | 24 class GLES2CmdHelper; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 48 std::unique_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_; | 49 std::unique_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_; |
| 49 std::unique_ptr<gpu::TransferBuffer> transfer_buffer_; | 50 std::unique_ptr<gpu::TransferBuffer> transfer_buffer_; |
| 50 std::unique_ptr<gpu::gles2::GLES2Implementation> implementation_; | 51 std::unique_ptr<gpu::gles2::GLES2Implementation> implementation_; |
| 51 | 52 |
| 52 DISALLOW_COPY_AND_ASSIGN(GLES2Context); | 53 DISALLOW_COPY_AND_ASSIGN(GLES2Context); |
| 53 }; | 54 }; |
| 54 | 55 |
| 55 } // namespace ui | 56 } // namespace ui |
| 56 | 57 |
| 57 #endif // SERVICES_UI_PUBLIC_CPP_GLES2_CONTEXT_H_ | 58 #endif // SERVICES_UI_PUBLIC_CPP_GLES2_CONTEXT_H_ |
| OLD | NEW |