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

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

Issue 13939005: cc: Add strict layer property change checking and handle bounds changes during paint. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 cc::switches::kShowCompositedLayerBorders, 931 cc::switches::kShowCompositedLayerBorders,
932 cc::switches::kShowCompositedLayerTree, 932 cc::switches::kShowCompositedLayerTree,
933 cc::switches::kShowFPSCounter, 933 cc::switches::kShowFPSCounter,
934 cc::switches::kShowNonOccludingRects, 934 cc::switches::kShowNonOccludingRects,
935 cc::switches::kShowOccludingRects, 935 cc::switches::kShowOccludingRects,
936 cc::switches::kShowPropertyChangedRects, 936 cc::switches::kShowPropertyChangedRects,
937 cc::switches::kShowReplicaScreenSpaceRects, 937 cc::switches::kShowReplicaScreenSpaceRects,
938 cc::switches::kShowScreenSpaceRects, 938 cc::switches::kShowScreenSpaceRects,
939 cc::switches::kShowSurfaceDamageRects, 939 cc::switches::kShowSurfaceDamageRects,
940 cc::switches::kSlowDownRasterScaleFactor, 940 cc::switches::kSlowDownRasterScaleFactor,
941 cc::switches::kStrictLayerPropertyChangeChecking,
941 cc::switches::kTopControlsHeight, 942 cc::switches::kTopControlsHeight,
942 cc::switches::kTopControlsHideThreshold, 943 cc::switches::kTopControlsHideThreshold,
943 cc::switches::kTopControlsShowThreshold, 944 cc::switches::kTopControlsShowThreshold,
944 cc::switches::kTraceAllRenderedFrames, 945 cc::switches::kTraceAllRenderedFrames,
945 cc::switches::kTraceOverdraw 946 cc::switches::kTraceOverdraw
946 }; 947 };
947 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 948 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
948 arraysize(kSwitchNames)); 949 arraysize(kSwitchNames));
949 950
950 // Disable databases in incognito mode. 951 // Disable databases in incognito mode.
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 TRACE_EVENT0("renderer_host", 1722 TRACE_EVENT0("renderer_host",
1722 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1723 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1723 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1724 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1724 ack_params.sync_point = 0; 1725 ack_params.sync_point = 0;
1725 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1726 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1726 gpu_process_host_id, 1727 gpu_process_host_id,
1727 ack_params); 1728 ack_params);
1728 } 1729 }
1729 1730
1730 } // namespace content 1731 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698