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

Side by Side Diff: content/browser/gpu/gpu_process_host.cc

Issue 11198060: VDA implementation for Exynos, using V4L2 (Closed) Base URL: https://git.chromium.org/git/chromium/src@git-svn
Patch Set: Reuploading so I can resbumit because the Windows builders were broken due to a WebKit roll, and I … Created 7 years, 11 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
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 "content/browser/gpu/gpu_process_host.h" 5 #include "content/browser/gpu/gpu_process_host.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 switches::kTestGLLib, 988 switches::kTestGLLib,
989 switches::kTraceStartup, 989 switches::kTraceStartup,
990 switches::kV, 990 switches::kV,
991 switches::kVModule, 991 switches::kVModule,
992 #if defined(OS_MACOSX) 992 #if defined(OS_MACOSX)
993 switches::kEnableSandboxLogging, 993 switches::kEnableSandboxLogging,
994 #endif 994 #endif
995 #if defined(USE_AURA) 995 #if defined(USE_AURA)
996 switches::kUIPrioritizeInGpuProcess, 996 switches::kUIPrioritizeInGpuProcess,
997 #endif 997 #endif
998 switches::kUseExynosVda,
998 }; 999 };
999 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 1000 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
1000 arraysize(kSwitchNames)); 1001 arraysize(kSwitchNames));
1001 cmd_line->CopySwitchesFrom( 1002 cmd_line->CopySwitchesFrom(
1002 browser_command_line, switches::kGpuSwitches, switches::kNumGpuSwitches); 1003 browser_command_line, switches::kGpuSwitches, switches::kNumGpuSwitches);
1003 1004
1004 GetContentClient()->browser()->AppendExtraCommandLineSwitches( 1005 GetContentClient()->browser()->AppendExtraCommandLineSwitches(
1005 cmd_line, process_->GetData().id); 1006 cmd_line, process_->GetData().id);
1006 1007
1007 GpuDataManagerImpl::GetInstance()->AppendGpuCommandLine(cmd_line); 1008 GpuDataManagerImpl::GetInstance()->AppendGpuCommandLine(cmd_line);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 void GpuProcessHost::BlockLiveOffscreenContexts() { 1052 void GpuProcessHost::BlockLiveOffscreenContexts() {
1052 for (std::multiset<GURL>::iterator iter = 1053 for (std::multiset<GURL>::iterator iter =
1053 urls_with_live_offscreen_contexts_.begin(); 1054 urls_with_live_offscreen_contexts_.begin();
1054 iter != urls_with_live_offscreen_contexts_.end(); ++iter) { 1055 iter != urls_with_live_offscreen_contexts_.end(); ++iter) {
1055 GpuDataManagerImpl::GetInstance()->BlockDomainFrom3DAPIs( 1056 GpuDataManagerImpl::GetInstance()->BlockDomainFrom3DAPIs(
1056 *iter, GpuDataManagerImpl::DOMAIN_GUILT_UNKNOWN); 1057 *iter, GpuDataManagerImpl::DOMAIN_GUILT_UNKNOWN);
1057 } 1058 }
1058 } 1059 }
1059 1060
1060 } // namespace content 1061 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | content/common/gpu/media/exynos_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698