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 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 switches::kTraceStartup, | 946 switches::kTraceStartup, |
947 // This flag needs to be propagated to the renderer process for | 947 // This flag needs to be propagated to the renderer process for |
948 // --in-process-webgl. | 948 // --in-process-webgl. |
949 switches::kUseGL, | 949 switches::kUseGL, |
950 switches::kUseMobileUserAgent, | 950 switches::kUseMobileUserAgent, |
951 switches::kUserAgent, | 951 switches::kUserAgent, |
952 switches::kV, | 952 switches::kV, |
953 switches::kVideoThreads, | 953 switches::kVideoThreads, |
954 switches::kVModule, | 954 switches::kVModule, |
955 switches::kWebCoreLogChannels, | 955 switches::kWebCoreLogChannels, |
| 956 switches::kEnableWebGLDraftExtensions, |
956 // Please keep these in alphabetical order. Compositor switches here should | 957 // Please keep these in alphabetical order. Compositor switches here should |
957 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 958 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
958 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 959 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
959 cc::switches::kCompositeToMailbox, | 960 cc::switches::kCompositeToMailbox, |
960 cc::switches::kDisableColorEstimator, | 961 cc::switches::kDisableColorEstimator, |
961 cc::switches::kDisableImplSidePainting, | 962 cc::switches::kDisableImplSidePainting, |
962 cc::switches::kDisableThreadedAnimation, | 963 cc::switches::kDisableThreadedAnimation, |
963 cc::switches::kEnableCompositorFrameMessage, | 964 cc::switches::kEnableCompositorFrameMessage, |
964 cc::switches::kEnableImplSidePainting, | 965 cc::switches::kEnableImplSidePainting, |
965 cc::switches::kEnablePartialSwap, | 966 cc::switches::kEnablePartialSwap, |
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1767 TRACE_EVENT0("renderer_host", | 1768 TRACE_EVENT0("renderer_host", |
1768 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1769 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1769 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1770 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1770 ack_params.sync_point = 0; | 1771 ack_params.sync_point = 0; |
1771 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, | 1772 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, |
1772 params.gpu_process_host_id, | 1773 params.gpu_process_host_id, |
1773 ack_params); | 1774 ack_params); |
1774 } | 1775 } |
1775 | 1776 |
1776 } // namespace content | 1777 } // namespace content |
OLD | NEW |