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