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

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

Issue 12443003: Implement out-of-band video compositing on Android: Step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 7 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 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 switches::kInProcessPlugins, 823 switches::kInProcessPlugins,
824 #endif // GOOGLE_CHROME_BUILD 824 #endif // GOOGLE_CHROME_BUILD
825 switches::kInProcessWebGL, 825 switches::kInProcessWebGL,
826 switches::kJavaScriptFlags, 826 switches::kJavaScriptFlags,
827 switches::kLoggingLevel, 827 switches::kLoggingLevel,
828 switches::kMemoryMetrics, 828 switches::kMemoryMetrics,
829 #if defined(OS_ANDROID) 829 #if defined(OS_ANDROID)
830 switches::kMediaPlayerInRenderProcess, 830 switches::kMediaPlayerInRenderProcess,
831 switches::kNetworkCountryIso, 831 switches::kNetworkCountryIso,
832 switches::kDisableGestureRequirementForMediaPlayback, 832 switches::kDisableGestureRequirementForMediaPlayback,
833 switches::kAlwaysUseExternalVideoSurface,
833 #endif 834 #endif
834 switches::kNoReferrers, 835 switches::kNoReferrers,
835 switches::kNoSandbox, 836 switches::kNoSandbox,
836 switches::kOldCheckboxStyle, 837 switches::kOldCheckboxStyle,
837 switches::kPpapiInProcess, 838 switches::kPpapiInProcess,
838 switches::kRegisterPepperPlugins, 839 switches::kRegisterPepperPlugins,
839 switches::kRendererAssertTest, 840 switches::kRendererAssertTest,
840 #if defined(OS_POSIX) 841 #if defined(OS_POSIX)
841 switches::kChildCleanExit, 842 switches::kChildCleanExit,
842 #endif 843 #endif
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
1641 TRACE_EVENT0("renderer_host", 1642 TRACE_EVENT0("renderer_host",
1642 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1643 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1643 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1644 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1644 ack_params.sync_point = 0; 1645 ack_params.sync_point = 0;
1645 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1646 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1646 gpu_process_host_id, 1647 gpu_process_host_id,
1647 ack_params); 1648 ack_params);
1648 } 1649 }
1649 1650
1650 } // namespace content 1651 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698