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

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: s/CHECK/DCHECK/ 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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 cc::switches::kShowCompositedLayerBorders, 930 cc::switches::kShowCompositedLayerBorders,
931 cc::switches::kShowCompositedLayerTree, 931 cc::switches::kShowCompositedLayerTree,
932 cc::switches::kShowFPSCounter, 932 cc::switches::kShowFPSCounter,
933 cc::switches::kShowNonOccludingRects, 933 cc::switches::kShowNonOccludingRects,
934 cc::switches::kShowOccludingRects, 934 cc::switches::kShowOccludingRects,
935 cc::switches::kShowPropertyChangedRects, 935 cc::switches::kShowPropertyChangedRects,
936 cc::switches::kShowReplicaScreenSpaceRects, 936 cc::switches::kShowReplicaScreenSpaceRects,
937 cc::switches::kShowScreenSpaceRects, 937 cc::switches::kShowScreenSpaceRects,
938 cc::switches::kShowSurfaceDamageRects, 938 cc::switches::kShowSurfaceDamageRects,
939 cc::switches::kSlowDownRasterScaleFactor, 939 cc::switches::kSlowDownRasterScaleFactor,
940 cc::switches::kStrictLayerPropertyChangeChecking,
940 cc::switches::kTopControlsHeight, 941 cc::switches::kTopControlsHeight,
941 cc::switches::kTopControlsHideThreshold, 942 cc::switches::kTopControlsHideThreshold,
942 cc::switches::kTopControlsShowThreshold, 943 cc::switches::kTopControlsShowThreshold,
943 cc::switches::kTraceAllRenderedFrames, 944 cc::switches::kTraceAllRenderedFrames,
944 cc::switches::kTraceOverdraw 945 cc::switches::kTraceOverdraw
945 }; 946 };
946 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 947 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
947 arraysize(kSwitchNames)); 948 arraysize(kSwitchNames));
948 949
949 // Disable databases in incognito mode. 950 // Disable databases in incognito mode.
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 TRACE_EVENT0("renderer_host", 1721 TRACE_EVENT0("renderer_host",
1721 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1722 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1722 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1723 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1723 ack_params.sync_point = 0; 1724 ack_params.sync_point = 0;
1724 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1725 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1725 gpu_process_host_id, 1726 gpu_process_host_id,
1726 ack_params); 1727 ack_params);
1727 } 1728 }
1728 1729
1729 } // namespace content 1730 } // namespace content
OLDNEW
« no previous file with comments | « cc/trees/tree_synchronizer_unittest.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698