| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ | 5 #ifndef GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ |
| 6 #define GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ | 6 #define GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "ui/gl/gl_surface.h" | 34 #include "ui/gl/gl_surface.h" |
| 35 #include "ui/gl/gpu_preference.h" | 35 #include "ui/gl/gpu_preference.h" |
| 36 #include "ui/latency_info/latency_info.h" | 36 #include "ui/latency_info/latency_info.h" |
| 37 #include "url/gurl.h" | 37 #include "url/gurl.h" |
| 38 | 38 |
| 39 namespace gpu { | 39 namespace gpu { |
| 40 struct Mailbox; | 40 struct Mailbox; |
| 41 struct SyncToken; | 41 struct SyncToken; |
| 42 class SyncPointClient; | 42 class SyncPointClient; |
| 43 class SyncPointManager; | 43 class SyncPointManager; |
| 44 class ValueStateMap; | |
| 45 namespace gles2 { | 44 namespace gles2 { |
| 46 class MailboxManager; | 45 class MailboxManager; |
| 47 class SubscriptionRefSet; | |
| 48 } | 46 } |
| 49 } | 47 } |
| 50 | 48 |
| 51 struct GpuCommandBufferMsg_CreateImage_Params; | 49 struct GpuCommandBufferMsg_CreateImage_Params; |
| 52 | 50 |
| 53 namespace gpu { | 51 namespace gpu { |
| 54 | 52 |
| 55 class GpuChannel; | 53 class GpuChannel; |
| 56 class GpuWatchdog; | 54 class GpuWatchdog; |
| 57 struct WaitForCommandState; | 55 struct WaitForCommandState; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 74 LatencyInfoCallback; | 72 LatencyInfoCallback; |
| 75 | 73 |
| 76 GpuCommandBufferStub( | 74 GpuCommandBufferStub( |
| 77 GpuChannel* channel, | 75 GpuChannel* channel, |
| 78 SyncPointManager* sync_point_manager, | 76 SyncPointManager* sync_point_manager, |
| 79 base::SingleThreadTaskRunner* task_runner, | 77 base::SingleThreadTaskRunner* task_runner, |
| 80 GpuCommandBufferStub* share_group, | 78 GpuCommandBufferStub* share_group, |
| 81 SurfaceHandle surface_handle, | 79 SurfaceHandle surface_handle, |
| 82 gles2::MailboxManager* mailbox_manager, | 80 gles2::MailboxManager* mailbox_manager, |
| 83 PreemptionFlag* preempt_by_flag, | 81 PreemptionFlag* preempt_by_flag, |
| 84 gles2::SubscriptionRefSet* subscription_ref_set, | |
| 85 ValueStateMap* pending_valuebuffer_state, | |
| 86 const gfx::Size& size, | 82 const gfx::Size& size, |
| 87 const gles2::DisallowedFeatures& disallowed_features, | 83 const gles2::DisallowedFeatures& disallowed_features, |
| 88 const std::vector<int32_t>& attribs, | 84 const std::vector<int32_t>& attribs, |
| 89 gfx::GpuPreference gpu_preference, | 85 gfx::GpuPreference gpu_preference, |
| 90 int32_t stream_id, | 86 int32_t stream_id, |
| 91 int32_t route_id, | 87 int32_t route_id, |
| 92 GpuWatchdog* watchdog, | 88 GpuWatchdog* watchdog, |
| 93 const GURL& active_url); | 89 const GURL& active_url); |
| 94 | 90 |
| 95 ~GpuCommandBufferStub() override; | 91 ~GpuCommandBufferStub() override; |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 | 273 |
| 278 std::unique_ptr<WaitForCommandState> wait_for_token_; | 274 std::unique_ptr<WaitForCommandState> wait_for_token_; |
| 279 std::unique_ptr<WaitForCommandState> wait_for_get_offset_; | 275 std::unique_ptr<WaitForCommandState> wait_for_get_offset_; |
| 280 | 276 |
| 281 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 277 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
| 282 }; | 278 }; |
| 283 | 279 |
| 284 } // namespace gpu | 280 } // namespace gpu |
| 285 | 281 |
| 286 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ | 282 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ |
| OLD | NEW |