| OLD | NEW |
| 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 883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 switches::kEnableSandboxLogging, | 894 switches::kEnableSandboxLogging, |
| 895 #endif | 895 #endif |
| 896 switches::kEnableSoftwareCompositingGLAdapter, | 896 switches::kEnableSoftwareCompositingGLAdapter, |
| 897 switches::kEnableStatsTable, | 897 switches::kEnableStatsTable, |
| 898 switches::kEnableThreadedCompositing, | 898 switches::kEnableThreadedCompositing, |
| 899 switches::kEnableCompositingForFixedPosition, | 899 switches::kEnableCompositingForFixedPosition, |
| 900 switches::kEnableHighDpiCompositingForFixedPosition, | 900 switches::kEnableHighDpiCompositingForFixedPosition, |
| 901 switches::kDisableCompositingForFixedPosition, | 901 switches::kDisableCompositingForFixedPosition, |
| 902 switches::kEnableCompositingForTransition, | 902 switches::kEnableCompositingForTransition, |
| 903 switches::kDisableCompositingForTransition, | 903 switches::kDisableCompositingForTransition, |
| 904 switches::kEnableAcceleratedPainting, | |
| 905 switches::kDisableThreadedCompositing, | 904 switches::kDisableThreadedCompositing, |
| 906 switches::kDisableTouchAdjustment, | 905 switches::kDisableTouchAdjustment, |
| 907 switches::kDefaultTileWidth, | 906 switches::kDefaultTileWidth, |
| 908 switches::kDefaultTileHeight, | 907 switches::kDefaultTileHeight, |
| 909 switches::kMaxUntiledLayerWidth, | 908 switches::kMaxUntiledLayerWidth, |
| 910 switches::kMaxUntiledLayerHeight, | 909 switches::kMaxUntiledLayerHeight, |
| 911 switches::kEnableViewport, | 910 switches::kEnableViewport, |
| 912 switches::kEnableOpusPlayback, | 911 switches::kEnableOpusPlayback, |
| 913 switches::kEnableVp9Playback, | 912 switches::kEnableVp9Playback, |
| 914 switches::kEnableVp8AlphaPlayback, | 913 switches::kEnableVp8AlphaPlayback, |
| (...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1768 TRACE_EVENT0("renderer_host", | 1767 TRACE_EVENT0("renderer_host", |
| 1769 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1768 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1770 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1769 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1771 ack_params.sync_point = 0; | 1770 ack_params.sync_point = 0; |
| 1772 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, | 1771 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, |
| 1773 params.gpu_process_host_id, | 1772 params.gpu_process_host_id, |
| 1774 ack_params); | 1773 ack_params); |
| 1775 } | 1774 } |
| 1776 | 1775 |
| 1777 } // namespace content | 1776 } // namespace content |
| OLD | NEW |