Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Side by Side Diff: gpu/ipc/service/gpu_channel.cc

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/ipc/service/gpu_channel.h ('k') | gpu/ipc/service/gpu_channel_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_channel.h ('k') | gpu/ipc/service/gpu_channel_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698