| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_VIEW_MANAGER_GLES2_COMMAND_BUFFER_DRIVER_H_ | 5 #ifndef COMPONENTS_VIEW_MANAGER_GLES2_COMMAND_BUFFER_DRIVER_H_ |
| 6 #define COMPONENTS_VIEW_MANAGER_GLES2_COMMAND_BUFFER_DRIVER_H_ | 6 #define COMPONENTS_VIEW_MANAGER_GLES2_COMMAND_BUFFER_DRIVER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 mojo::CommandBufferSyncClientPtr sync_client_; | 99 mojo::CommandBufferSyncClientPtr sync_client_; |
| 100 mojo::CommandBufferLostContextObserverPtr loss_observer_; | 100 mojo::CommandBufferLostContextObserverPtr loss_observer_; |
| 101 gfx::AcceleratedWidget widget_; | 101 gfx::AcceleratedWidget widget_; |
| 102 scoped_ptr<gpu::CommandBufferService> command_buffer_; | 102 scoped_ptr<gpu::CommandBufferService> command_buffer_; |
| 103 scoped_ptr<gpu::gles2::GLES2Decoder> decoder_; | 103 scoped_ptr<gpu::gles2::GLES2Decoder> decoder_; |
| 104 scoped_ptr<gpu::GpuScheduler> scheduler_; | 104 scoped_ptr<gpu::GpuScheduler> scheduler_; |
| 105 scoped_refptr<gfx::GLContext> context_; | 105 scoped_refptr<gfx::GLContext> context_; |
| 106 scoped_refptr<gfx::GLSurface> surface_; | 106 scoped_refptr<gfx::GLSurface> surface_; |
| 107 scoped_refptr<gfx::GLShareGroup> share_group_; | 107 scoped_refptr<gfx::GLShareGroup> share_group_; |
| 108 scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_; | 108 scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_; |
| 109 scoped_refptr<gpu::SyncPointManager> sync_point_manager_; | 109 gpu::SyncPointManager* sync_point_manager_; |
| 110 | 110 |
| 111 scoped_refptr<base::SingleThreadTaskRunner> context_lost_task_runner_; | 111 scoped_refptr<base::SingleThreadTaskRunner> context_lost_task_runner_; |
| 112 base::Callback<void(int32_t)> context_lost_callback_; | 112 base::Callback<void(int32_t)> context_lost_callback_; |
| 113 | 113 |
| 114 base::Callback<void(CommandBufferDriver*)> destruct_callback_; | 114 base::Callback<void(CommandBufferDriver*)> destruct_callback_; |
| 115 | 115 |
| 116 base::WeakPtrFactory<CommandBufferDriver> weak_factory_; | 116 base::WeakPtrFactory<CommandBufferDriver> weak_factory_; |
| 117 | 117 |
| 118 DISALLOW_COPY_AND_ASSIGN(CommandBufferDriver); | 118 DISALLOW_COPY_AND_ASSIGN(CommandBufferDriver); |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 } // namespace gles2 | 121 } // namespace gles2 |
| 122 | 122 |
| 123 #endif // COMPONENTS_GLES2_COMMAND_BUFFER_DRIVER_H_ | 123 #endif // COMPONENTS_GLES2_COMMAND_BUFFER_DRIVER_H_ |
| OLD | NEW |