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 #include "gpu/ipc/service/gpu_channel.h" | 5 #include "gpu/ipc/service/gpu_channel.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
10 #include <windows.h> | 10 #include <windows.h> |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 IPC::Message* reply = IPC::SyncMessage::GenerateReply(&message); | 571 IPC::Message* reply = IPC::SyncMessage::GenerateReply(&message); |
572 reply->set_reply_error(); | 572 reply->set_reply_error(); |
573 Send(reply); | 573 Send(reply); |
574 } | 574 } |
575 return true; | 575 return true; |
576 } | 576 } |
577 | 577 |
578 GpuChannel::GpuChannel(GpuChannelManager* gpu_channel_manager, | 578 GpuChannel::GpuChannel(GpuChannelManager* gpu_channel_manager, |
579 SyncPointManager* sync_point_manager, | 579 SyncPointManager* sync_point_manager, |
580 GpuWatchdog* watchdog, | 580 GpuWatchdog* watchdog, |
581 gfx::GLShareGroup* share_group, | 581 gl::GLShareGroup* share_group, |
582 gles2::MailboxManager* mailbox, | 582 gles2::MailboxManager* mailbox, |
583 PreemptionFlag* preempting_flag, | 583 PreemptionFlag* preempting_flag, |
584 PreemptionFlag* preempted_flag, | 584 PreemptionFlag* preempted_flag, |
585 base::SingleThreadTaskRunner* task_runner, | 585 base::SingleThreadTaskRunner* task_runner, |
586 base::SingleThreadTaskRunner* io_task_runner, | 586 base::SingleThreadTaskRunner* io_task_runner, |
587 int32_t client_id, | 587 int32_t client_id, |
588 uint64_t client_tracing_id, | 588 uint64_t client_tracing_id, |
589 bool allow_view_command_buffers, | 589 bool allow_view_command_buffers, |
590 bool allow_real_time_streams) | 590 bool allow_real_time_streams) |
591 : gpu_channel_manager_(gpu_channel_manager), | 591 : gpu_channel_manager_(gpu_channel_manager), |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 ->CreateImageForGpuMemoryBuffer(handle, | 1069 ->CreateImageForGpuMemoryBuffer(handle, |
1070 size, | 1070 size, |
1071 format, | 1071 format, |
1072 internalformat, | 1072 internalformat, |
1073 client_id_); | 1073 client_id_); |
1074 } | 1074 } |
1075 } | 1075 } |
1076 } | 1076 } |
1077 | 1077 |
1078 } // namespace gpu | 1078 } // namespace gpu |
OLD | NEW |