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

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

Issue 177953004: Enable SurfaceTexture based zero-copy texture uploading on Android platform Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 // 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 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 #endif 1138 #endif
1139 #if defined(OS_ANDROID) 1139 #if defined(OS_ANDROID)
1140 switches::kDisableGestureRequirementForMediaPlayback, 1140 switches::kDisableGestureRequirementForMediaPlayback,
1141 switches::kDisableLowEndDeviceMode, 1141 switches::kDisableLowEndDeviceMode,
1142 switches::kDisableWebRTC, 1142 switches::kDisableWebRTC,
1143 switches::kEnableLowEndDeviceMode, 1143 switches::kEnableLowEndDeviceMode,
1144 switches::kEnableSpeechRecognition, 1144 switches::kEnableSpeechRecognition,
1145 switches::kHideScrollbars, 1145 switches::kHideScrollbars,
1146 switches::kMediaDrmEnableNonCompositing, 1146 switches::kMediaDrmEnableNonCompositing,
1147 switches::kNetworkCountryIso, 1147 switches::kNetworkCountryIso,
1148 switches::KEnableSurfaceTextureBuffer,
Hongbo Min 2014/03/18 06:10:03 nit: KEnable..->kEnable..
1148 #endif 1149 #endif
1149 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86) 1150 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86)
1150 switches::kEnableWebAudio, 1151 switches::kEnableWebAudio,
1151 #else 1152 #else
1152 // Need to be able to disable webaudio on other platforms where it 1153 // Need to be able to disable webaudio on other platforms where it
1153 // is enabled by default. 1154 // is enabled by default.
1154 switches::kDisableWebAudio, 1155 switches::kDisableWebAudio,
1155 #endif 1156 #endif
1156 #if defined(OS_MACOSX) 1157 #if defined(OS_MACOSX)
1157 // Allow this to be set when invoking the browser and relayed along. 1158 // Allow this to be set when invoking the browser and relayed along.
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
2065 return; 2066 return;
2066 Send(new MediaStreamMsg_EnableAecDump(file_for_transit)); 2067 Send(new MediaStreamMsg_EnableAecDump(file_for_transit));
2067 } 2068 }
2068 2069
2069 void RenderProcessHostImpl::SendDisableAecDumpToRenderer() { 2070 void RenderProcessHostImpl::SendDisableAecDumpToRenderer() {
2070 Send(new MediaStreamMsg_DisableAecDump()); 2071 Send(new MediaStreamMsg_DisableAecDump());
2071 } 2072 }
2072 #endif 2073 #endif
2073 2074
2074 } // namespace content 2075 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698