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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 374553002: VAVEA: Turn VAAPI encoder flag into a kill switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
1249 #endif 1249 #endif
1250 #if defined(OS_MACOSX) 1250 #if defined(OS_MACOSX)
1251 // Allow this to be set when invoking the browser and relayed along. 1251 // Allow this to be set when invoking the browser and relayed along.
1252 switches::kEnableSandboxLogging, 1252 switches::kEnableSandboxLogging,
1253 #endif 1253 #endif
1254 #if defined(OS_WIN) 1254 #if defined(OS_WIN)
1255 switches::kDisableDirectWrite, 1255 switches::kDisableDirectWrite,
1256 switches::kEnableHighResolutionTime, 1256 switches::kEnableHighResolutionTime,
1257 #endif 1257 #endif
1258 #if defined(OS_CHROMEOS) 1258 #if defined(OS_CHROMEOS)
1259 switches::kEnableVaapiAcceleratedVideoEncode, 1259 switches::kDisableVaapiAcceleratedVideoEncode,
1260 #endif 1260 #endif
1261 }; 1261 };
1262 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 1262 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
1263 arraysize(kSwitchNames)); 1263 arraysize(kSwitchNames));
1264 1264
1265 if (browser_cmd.HasSwitch(switches::kTraceStartup) && 1265 if (browser_cmd.HasSwitch(switches::kTraceStartup) &&
1266 BrowserMainLoop::GetInstance()->is_tracing_startup()) { 1266 BrowserMainLoop::GetInstance()->is_tracing_startup()) {
1267 // Pass kTraceStartup switch to renderer only if startup tracing has not 1267 // Pass kTraceStartup switch to renderer only if startup tracing has not
1268 // finished. 1268 // finished.
1269 renderer_cmd->AppendSwitchASCII( 1269 renderer_cmd->AppendSwitchASCII(
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after
2360 void RenderProcessHostImpl::GpuMemoryBufferAllocated( 2360 void RenderProcessHostImpl::GpuMemoryBufferAllocated(
2361 IPC::Message* reply, 2361 IPC::Message* reply,
2362 const gfx::GpuMemoryBufferHandle& handle) { 2362 const gfx::GpuMemoryBufferHandle& handle) {
2363 DCHECK_CURRENTLY_ON(BrowserThread::UI); 2363 DCHECK_CURRENTLY_ON(BrowserThread::UI);
2364 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, 2364 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply,
2365 handle); 2365 handle);
2366 Send(reply); 2366 Send(reply);
2367 } 2367 }
2368 2368
2369 } // namespace content 2369 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698