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

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

Issue 9814001: Add VAVDA, the VAAPI Video Decode Accelerator for Intel CPUs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for occasional decode freeze on output falling behind for more demanding streams. Created 8 years, 8 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.
Ami GONE FROM CHROMIUM 2012/04/09 02:41:47 CL description still needs update.
Pawel Osciak 2012/05/03 16:22:07 Done.
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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 switches::kDisableGpuWatchdog, 693 switches::kDisableGpuWatchdog,
694 switches::kDisableImageTransportSurface, 694 switches::kDisableImageTransportSurface,
695 switches::kDisableLogging, 695 switches::kDisableLogging,
696 switches::kEnableGPUCommandLogging, 696 switches::kEnableGPUCommandLogging,
697 switches::kEnableGPUDebugging, 697 switches::kEnableGPUDebugging,
698 switches::kEnableGPUServiceLogging, 698 switches::kEnableGPUServiceLogging,
699 switches::kEnableLogging, 699 switches::kEnableLogging,
700 #if defined(OS_MACOSX) 700 #if defined(OS_MACOSX)
701 switches::kEnableSandboxLogging, 701 switches::kEnableSandboxLogging,
702 #endif 702 #endif
703 #if defined(OS_CHROMEOS)
704 switches::kEnableVaapi,
705 #endif
703 switches::kGpuNoContextLost, 706 switches::kGpuNoContextLost,
704 switches::kGpuStartupDialog, 707 switches::kGpuStartupDialog,
705 switches::kLoggingLevel, 708 switches::kLoggingLevel,
706 switches::kNoSandbox, 709 switches::kNoSandbox,
707 switches::kTestGLLib, 710 switches::kTestGLLib,
708 switches::kTraceStartup, 711 switches::kTraceStartup,
709 }; 712 };
710 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 713 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
711 arraysize(kSwitchNames)); 714 arraysize(kSwitchNames));
712 715
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 const IPC::ChannelHandle& channel_handle, 760 const IPC::ChannelHandle& channel_handle,
758 base::ProcessHandle renderer_process_for_gpu, 761 base::ProcessHandle renderer_process_for_gpu,
759 const content::GPUInfo& gpu_info) { 762 const content::GPUInfo& gpu_info) {
760 callback.Run(channel_handle, renderer_process_for_gpu, gpu_info); 763 callback.Run(channel_handle, renderer_process_for_gpu, gpu_info);
761 } 764 }
762 765
763 void GpuProcessHost::CreateCommandBufferError( 766 void GpuProcessHost::CreateCommandBufferError(
764 const CreateCommandBufferCallback& callback, int32 route_id) { 767 const CreateCommandBufferCallback& callback, int32 route_id) {
765 callback.Run(route_id); 768 callback.Run(route_id);
766 } 769 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698