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

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

Issue 12371002: [cc] Mailbox Output Surface Support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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
« no previous file with comments | « cc/switches.cc ('k') | content/content_renderer.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 cc::switches::kShowReplicaScreenSpaceRects, 874 cc::switches::kShowReplicaScreenSpaceRects,
875 cc::switches::kShowScreenSpaceRects, 875 cc::switches::kShowScreenSpaceRects,
876 cc::switches::kShowSurfaceDamageRects, 876 cc::switches::kShowSurfaceDamageRects,
877 cc::switches::kSlowDownRasterScaleFactor, 877 cc::switches::kSlowDownRasterScaleFactor,
878 cc::switches::kTopControlsHeight, 878 cc::switches::kTopControlsHeight,
879 cc::switches::kTopControlsHideThreshold, 879 cc::switches::kTopControlsHideThreshold,
880 cc::switches::kTopControlsShowThreshold, 880 cc::switches::kTopControlsShowThreshold,
881 cc::switches::kTraceAllRenderedFrames, 881 cc::switches::kTraceAllRenderedFrames,
882 cc::switches::kTraceOverdraw, 882 cc::switches::kTraceOverdraw,
883 cc::switches::kUseCheapnessEstimator, 883 cc::switches::kUseCheapnessEstimator,
884 cc::switches::kCompositeToMailbox,
884 }; 885 };
885 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 886 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
886 arraysize(kSwitchNames)); 887 arraysize(kSwitchNames));
887 888
888 // Disable databases in incognito mode. 889 // Disable databases in incognito mode.
889 if (GetBrowserContext()->IsOffTheRecord() && 890 if (GetBrowserContext()->IsOffTheRecord() &&
890 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { 891 !browser_cmd.HasSwitch(switches::kDisableDatabases)) {
891 renderer_cmd->AppendSwitch(switches::kDisableDatabases); 892 renderer_cmd->AppendSwitch(switches::kDisableDatabases);
892 #if defined(OS_ANDROID) 893 #if defined(OS_ANDROID)
893 renderer_cmd->AppendSwitch(switches::kDisableMediaHistoryLogging); 894 renderer_cmd->AppendSwitch(switches::kDisableMediaHistoryLogging);
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
1640 TRACE_EVENT0("renderer_host", 1641 TRACE_EVENT0("renderer_host",
1641 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1642 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1642 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1643 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1643 ack_params.sync_point = 0; 1644 ack_params.sync_point = 0;
1644 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1645 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1645 gpu_process_host_id, 1646 gpu_process_host_id,
1646 ack_params); 1647 ack_params);
1647 } 1648 }
1648 1649
1649 } // namespace content 1650 } // namespace content
OLDNEW
« no previous file with comments | « cc/switches.cc ('k') | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698