OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
Ami GONE FROM CHROMIUM
2013/05/14 22:57:24
Do you have numbers for the perf impact of this CL
wuchengli
2013/05/15 15:30:46
The initial test result looked like frame rate of
Pawel Osciak
2013/05/15 17:26:32
Could you try capturing some traces to see where w
| |
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> |
11 #include <limits> | 11 #include <limits> |
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
844 switches::kEnableGPUClientLogging, | 844 switches::kEnableGPUClientLogging, |
845 switches::kEnableGpuClientTracing, | 845 switches::kEnableGpuClientTracing, |
846 switches::kEnableGpuBenchmarking, | 846 switches::kEnableGpuBenchmarking, |
847 switches::kEnableMemoryBenchmarking, | 847 switches::kEnableMemoryBenchmarking, |
848 switches::kEnableLogging, | 848 switches::kEnableLogging, |
849 switches::kEnableSpeechSynthesis, | 849 switches::kEnableSpeechSynthesis, |
850 switches::kEnableTouchDragDrop, | 850 switches::kEnableTouchDragDrop, |
851 switches::kEnableTouchEditing, | 851 switches::kEnableTouchEditing, |
852 switches::kEnableVsyncNotification, | 852 switches::kEnableVsyncNotification, |
853 switches::kEnableWebPInAcceptHeader, | 853 switches::kEnableWebPInAcceptHeader, |
854 switches::kEnableWebRTCHWDecoding, | |
854 switches::kDisableMediaSource, | 855 switches::kDisableMediaSource, |
855 switches::kEnableStrictSiteIsolation, | 856 switches::kEnableStrictSiteIsolation, |
856 switches::kDisableFullScreen, | 857 switches::kDisableFullScreen, |
857 switches::kEnableNewDialogStyle, | 858 switches::kEnableNewDialogStyle, |
858 #if defined(ENABLE_PLUGINS) | 859 #if defined(ENABLE_PLUGINS) |
859 switches::kEnablePepperTesting, | 860 switches::kEnablePepperTesting, |
860 switches::kDisablePepper3d, | 861 switches::kDisablePepper3d, |
861 #endif | 862 #endif |
862 switches::kEnablePreparsedJsCaching, | 863 switches::kEnablePreparsedJsCaching, |
863 switches::kEnablePruneGpuCommandBuffers, | 864 switches::kEnablePruneGpuCommandBuffers, |
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1742 TRACE_EVENT0("renderer_host", | 1743 TRACE_EVENT0("renderer_host", |
1743 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1744 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1744 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1745 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1745 ack_params.sync_point = 0; | 1746 ack_params.sync_point = 0; |
1746 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1747 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1747 gpu_process_host_id, | 1748 gpu_process_host_id, |
1748 ack_params); | 1749 ack_params); |
1749 } | 1750 } |
1750 | 1751 |
1751 } // namespace content | 1752 } // namespace content |
OLD | NEW |