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

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: Replaced one LOG() with DLOG() per posciak@ 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.
Ami GONE FROM CHROMIUM 2013/01/04 01:57:05 As I'm reviewing PS#18 I'm feeling like I've asked
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"
11 #include "base/debug/trace_event.h" 11 #include "base/debug/trace_event.h"
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 switches::kTestGLLib, 1014 switches::kTestGLLib,
1015 switches::kTraceStartup, 1015 switches::kTraceStartup,
1016 switches::kV, 1016 switches::kV,
1017 switches::kVModule, 1017 switches::kVModule,
1018 switches::kEnableUIReleaseFrontSurface, 1018 switches::kEnableUIReleaseFrontSurface,
1019 #if defined(USE_AURA) 1019 #if defined(USE_AURA)
1020 switches::kUIPrioritizeInGpuProcess, 1020 switches::kUIPrioritizeInGpuProcess,
1021 #endif 1021 #endif
1022 switches::kCrashOnGpuHang, 1022 switches::kCrashOnGpuHang,
1023 switches::kEnableVirtualGLContexts, 1023 switches::kEnableVirtualGLContexts,
1024 switches::kUseExynosVda,
1024 }; 1025 };
1025 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 1026 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
1026 arraysize(kSwitchNames)); 1027 arraysize(kSwitchNames));
1027 cmd_line->CopySwitchesFrom( 1028 cmd_line->CopySwitchesFrom(
1028 browser_command_line, switches::kGpuSwitches, switches::kNumGpuSwitches); 1029 browser_command_line, switches::kGpuSwitches, switches::kNumGpuSwitches);
1029 1030
1030 GetContentClient()->browser()->AppendExtraCommandLineSwitches( 1031 GetContentClient()->browser()->AppendExtraCommandLineSwitches(
1031 cmd_line, process_->GetData().id); 1032 cmd_line, process_->GetData().id);
1032 1033
1033 GpuDataManagerImpl::GetInstance()->AppendGpuCommandLine(cmd_line); 1034 GpuDataManagerImpl::GetInstance()->AppendGpuCommandLine(cmd_line);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1096 void GpuProcessHost::BlockLiveOffscreenContexts() { 1097 void GpuProcessHost::BlockLiveOffscreenContexts() {
1097 for (std::multiset<GURL>::iterator iter = 1098 for (std::multiset<GURL>::iterator iter =
1098 urls_with_live_offscreen_contexts_.begin(); 1099 urls_with_live_offscreen_contexts_.begin();
1099 iter != urls_with_live_offscreen_contexts_.end(); ++iter) { 1100 iter != urls_with_live_offscreen_contexts_.end(); ++iter) {
1100 GpuDataManagerImpl::GetInstance()->BlockDomainFrom3DAPIs( 1101 GpuDataManagerImpl::GetInstance()->BlockDomainFrom3DAPIs(
1101 *iter, GpuDataManagerImpl::DOMAIN_GUILT_UNKNOWN); 1102 *iter, GpuDataManagerImpl::DOMAIN_GUILT_UNKNOWN);
1102 } 1103 }
1103 } 1104 }
1104 1105
1105 } // namespace content 1106 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698