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

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: Added H264 parsing for frame boundaries. Created 8 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 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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 switches::kTestGLLib, 909 switches::kTestGLLib,
910 switches::kTraceStartup, 910 switches::kTraceStartup,
911 switches::kV, 911 switches::kV,
912 switches::kVModule, 912 switches::kVModule,
913 switches::kEnableUIReleaseFrontSurface, 913 switches::kEnableUIReleaseFrontSurface,
914 #if defined(USE_AURA) 914 #if defined(USE_AURA)
915 switches::kUIPrioritizeInGpuProcess, 915 switches::kUIPrioritizeInGpuProcess,
916 #endif 916 #endif
917 switches::kCrashOnGpuHang, 917 switches::kCrashOnGpuHang,
918 switches::kEnableVirtualGLContexts, 918 switches::kEnableVirtualGLContexts,
919 switches::kUseExynosVda,
919 }; 920 };
920 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 921 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
921 arraysize(kSwitchNames)); 922 arraysize(kSwitchNames));
922 cmd_line->CopySwitchesFrom( 923 cmd_line->CopySwitchesFrom(
923 browser_command_line, switches::kGpuSwitches, switches::kNumGpuSwitches); 924 browser_command_line, switches::kGpuSwitches, switches::kNumGpuSwitches);
924 925
925 GetContentClient()->browser()->AppendExtraCommandLineSwitches( 926 GetContentClient()->browser()->AppendExtraCommandLineSwitches(
926 cmd_line, process_->GetData().id); 927 cmd_line, process_->GetData().id);
927 928
928 GpuDataManagerImpl::GetInstance()->AppendGpuCommandLine(cmd_line); 929 GpuDataManagerImpl::GetInstance()->AppendGpuCommandLine(cmd_line);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 const CreateCommandBufferCallback& callback, int32 route_id) { 983 const CreateCommandBufferCallback& callback, int32 route_id) {
983 callback.Run(route_id); 984 callback.Run(route_id);
984 } 985 }
985 986
986 void GpuProcessHost::CreateImageError( 987 void GpuProcessHost::CreateImageError(
987 const CreateImageCallback& callback, const gfx::Size size) { 988 const CreateImageCallback& callback, const gfx::Size size) {
988 callback.Run(size); 989 callback.Run(size);
989 } 990 }
990 991
991 } // namespace content 992 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698