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

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

Issue 13863015: Add flag for drawing layers to screen with Ganesh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review Created 7 years, 7 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 | Annotate | Revision Log
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 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 switches::kV, 928 switches::kV,
929 switches::kVideoThreads, 929 switches::kVideoThreads,
930 switches::kVModule, 930 switches::kVModule,
931 switches::kWebCoreLogChannels, 931 switches::kWebCoreLogChannels,
932 // Please keep these in alphabetical order. Compositor switches here should 932 // Please keep these in alphabetical order. Compositor switches here should
933 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 933 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
934 cc::switches::kBackgroundColorInsteadOfCheckerboard, 934 cc::switches::kBackgroundColorInsteadOfCheckerboard,
935 cc::switches::kCompositeToMailbox, 935 cc::switches::kCompositeToMailbox,
936 cc::switches::kDisableColorEstimator, 936 cc::switches::kDisableColorEstimator,
937 cc::switches::kDisableImplSidePainting, 937 cc::switches::kDisableImplSidePainting,
938 cc::switches::kDisablePinchZoomScrollbars,
938 cc::switches::kDisableThreadedAnimation, 939 cc::switches::kDisableThreadedAnimation,
939 cc::switches::kEnableCompositorFrameMessage, 940 cc::switches::kEnableCompositorFrameMessage,
940 cc::switches::kEnableImplSidePainting, 941 cc::switches::kEnableImplSidePainting,
941 cc::switches::kEnablePartialSwap, 942 cc::switches::kEnablePartialSwap,
942 cc::switches::kEnablePerTilePainting, 943 cc::switches::kEnablePerTilePainting,
943 cc::switches::kEnablePinchZoomScrollbars, 944 cc::switches::kEnablePinchZoomScrollbars,
944 cc::switches::kDisablePinchZoomScrollbars,
945 cc::switches::kEnablePredictionBenchmarking, 945 cc::switches::kEnablePredictionBenchmarking,
946 cc::switches::kEnableRightAlignedScheduling, 946 cc::switches::kEnableRightAlignedScheduling,
947 cc::switches::kEnableTopControlsPositionCalculation, 947 cc::switches::kEnableTopControlsPositionCalculation,
948 cc::switches::kForceDirectLayerDrawing,
948 cc::switches::kLowResolutionContentsScaleFactor, 949 cc::switches::kLowResolutionContentsScaleFactor,
950 cc::switches::kMaxTilesForInterestArea,
949 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 951 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
950 cc::switches::kNumRasterThreads, 952 cc::switches::kNumRasterThreads,
951 cc::switches::kMaxTilesForInterestArea,
952 cc::switches::kShowCompositedLayerBorders, 953 cc::switches::kShowCompositedLayerBorders,
953 cc::switches::kShowCompositedLayerTree, 954 cc::switches::kShowCompositedLayerTree,
954 cc::switches::kShowFPSCounter, 955 cc::switches::kShowFPSCounter,
955 cc::switches::kShowNonOccludingRects, 956 cc::switches::kShowNonOccludingRects,
956 cc::switches::kShowOccludingRects, 957 cc::switches::kShowOccludingRects,
957 cc::switches::kShowPropertyChangedRects, 958 cc::switches::kShowPropertyChangedRects,
958 cc::switches::kShowReplicaScreenSpaceRects, 959 cc::switches::kShowReplicaScreenSpaceRects,
959 cc::switches::kShowScreenSpaceRects, 960 cc::switches::kShowScreenSpaceRects,
960 cc::switches::kShowSurfaceDamageRects, 961 cc::switches::kShowSurfaceDamageRects,
961 cc::switches::kSlowDownRasterScaleFactor, 962 cc::switches::kSlowDownRasterScaleFactor,
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
1748 TRACE_EVENT0("renderer_host", 1749 TRACE_EVENT0("renderer_host",
1749 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1750 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1750 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1751 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1751 ack_params.sync_point = 0; 1752 ack_params.sync_point = 0;
1752 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1753 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1753 gpu_process_host_id, 1754 gpu_process_host_id,
1754 ack_params); 1755 ack_params);
1755 } 1756 }
1756 1757
1757 } // namespace content 1758 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698