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

Side by Side Diff: gpu/ipc/service/gpu_channel_test_common.h

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_manager.cc ('k') | gpu/ipc/service/gpu_channel_test_common.cc » ('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) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "gpu/command_buffer/service/gpu_preferences.h" 9 #include "gpu/command_buffer/service/gpu_preferences.h"
10 #include "gpu/ipc/service/gpu_channel.h" 10 #include "gpu/ipc/service/gpu_channel.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 uint64_t client_tracing_id, 70 uint64_t client_tracing_id,
71 bool preempts, 71 bool preempts,
72 bool allow_view_command_buffers, 72 bool allow_view_command_buffers,
73 bool allow_real_time_streams) override; 73 bool allow_real_time_streams) override;
74 }; 74 };
75 75
76 class TestGpuChannel : public GpuChannel { 76 class TestGpuChannel : public GpuChannel {
77 public: 77 public:
78 TestGpuChannel(GpuChannelManager* gpu_channel_manager, 78 TestGpuChannel(GpuChannelManager* gpu_channel_manager,
79 SyncPointManager* sync_point_manager, 79 SyncPointManager* sync_point_manager,
80 gfx::GLShareGroup* share_group, 80 gl::GLShareGroup* share_group,
81 gles2::MailboxManager* mailbox_manager, 81 gles2::MailboxManager* mailbox_manager,
82 PreemptionFlag* preempting_flag, 82 PreemptionFlag* preempting_flag,
83 PreemptionFlag* preempted_flag, 83 PreemptionFlag* preempted_flag,
84 base::SingleThreadTaskRunner* task_runner, 84 base::SingleThreadTaskRunner* task_runner,
85 base::SingleThreadTaskRunner* io_task_runner, 85 base::SingleThreadTaskRunner* io_task_runner,
86 int client_id, 86 int client_id,
87 uint64_t client_tracing_id, 87 uint64_t client_tracing_id,
88 bool allow_view_command_buffers, 88 bool allow_view_command_buffers,
89 bool allow_real_time_streams); 89 bool allow_real_time_streams);
90 ~TestGpuChannel() override; 90 ~TestGpuChannel() override;
(...skipping 28 matching lines...) Expand all
119 private: 119 private:
120 GpuPreferences gpu_preferences_; 120 GpuPreferences gpu_preferences_;
121 scoped_refptr<base::TestSimpleTaskRunner> task_runner_; 121 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
122 scoped_refptr<base::TestSimpleTaskRunner> io_task_runner_; 122 scoped_refptr<base::TestSimpleTaskRunner> io_task_runner_;
123 std::unique_ptr<SyncPointManager> sync_point_manager_; 123 std::unique_ptr<SyncPointManager> sync_point_manager_;
124 std::unique_ptr<TestGpuChannelManagerDelegate> channel_manager_delegate_; 124 std::unique_ptr<TestGpuChannelManagerDelegate> channel_manager_delegate_;
125 std::unique_ptr<GpuChannelManager> channel_manager_; 125 std::unique_ptr<GpuChannelManager> channel_manager_;
126 }; 126 };
127 127
128 } // namespace gpu 128 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager.cc ('k') | gpu/ipc/service/gpu_channel_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698