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

Unified Diff: gpu/ipc/service/gpu_channel_test_common.cc

Issue 2440093003: WIP GPU scheduler + delayed activation / tile draw
Patch Set: SignalSyncToken -> IsFenceSyncReleased Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/service/gpu_channel_test_common.h ('k') | gpu/ipc/service/gpu_channel_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_channel_test_common.cc
diff --git a/gpu/ipc/service/gpu_channel_test_common.cc b/gpu/ipc/service/gpu_channel_test_common.cc
index 69e6fa398ce0881ca362d1fa638428f342081549..77377279a4c05ccf08d47a944e62e88d1263ca9d 100644
--- a/gpu/ipc/service/gpu_channel_test_common.cc
+++ b/gpu/ipc/service/gpu_channel_test_common.cc
@@ -74,7 +74,7 @@ std::unique_ptr<GpuChannel> TestGpuChannelManager::CreateGpuChannel(
bool allow_real_time_streams) {
return base::MakeUnique<TestGpuChannel>(
this, sync_point_manager(), share_group(), mailbox_manager(),
- preempts ? preemption_flag() : nullptr,
+ nullptr, preempts ? preemption_flag() : nullptr,
preempts ? nullptr : preemption_flag(), task_runner_.get(),
io_task_runner_.get(), client_id, client_tracing_id,
allow_view_command_buffers, allow_real_time_streams);
@@ -84,6 +84,7 @@ TestGpuChannel::TestGpuChannel(GpuChannelManager* gpu_channel_manager,
SyncPointManager* sync_point_manager,
gl::GLShareGroup* share_group,
gles2::MailboxManager* mailbox_manager,
+ GpuScheduler* scheduler,
PreemptionFlag* preempting_flag,
PreemptionFlag* preempted_flag,
base::SingleThreadTaskRunner* task_runner,
@@ -97,6 +98,7 @@ TestGpuChannel::TestGpuChannel(GpuChannelManager* gpu_channel_manager,
nullptr,
share_group,
mailbox_manager,
+ scheduler,
preempting_flag,
preempted_flag,
task_runner,
« no previous file with comments | « gpu/ipc/service/gpu_channel_test_common.h ('k') | gpu/ipc/service/gpu_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698