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

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

Issue 11316128: Send compositor frame IPC with metadata. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compile errors on mac/win Created 8 years 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
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 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 // --in-process-webgl. 826 // --in-process-webgl.
827 switches::kUseGL, 827 switches::kUseGL,
828 switches::kUseMobileUserAgent, 828 switches::kUseMobileUserAgent,
829 switches::kUserAgent, 829 switches::kUserAgent,
830 switches::kV, 830 switches::kV,
831 switches::kVideoThreads, 831 switches::kVideoThreads,
832 switches::kVModule, 832 switches::kVModule,
833 switches::kWebCoreLogChannels, 833 switches::kWebCoreLogChannels,
834 switches::kWebIntentsInvocationEnabled, 834 switches::kWebIntentsInvocationEnabled,
835 cc::switches::kBackgroundColorInsteadOfCheckerboard, 835 cc::switches::kBackgroundColorInsteadOfCheckerboard,
836 cc::switches::kEnableCompositorFrameMessage,
836 cc::switches::kEnableImplSidePainting, 837 cc::switches::kEnableImplSidePainting,
837 cc::switches::kEnablePartialSwap, 838 cc::switches::kEnablePartialSwap,
838 cc::switches::kNumRasterThreads, 839 cc::switches::kNumRasterThreads,
839 cc::switches::kShowPropertyChangedRects, 840 cc::switches::kShowPropertyChangedRects,
840 cc::switches::kShowSurfaceDamageRects, 841 cc::switches::kShowSurfaceDamageRects,
841 cc::switches::kShowScreenSpaceRects, 842 cc::switches::kShowScreenSpaceRects,
842 cc::switches::kShowReplicaScreenSpaceRects, 843 cc::switches::kShowReplicaScreenSpaceRects,
843 cc::switches::kShowNonOccludingRects, 844 cc::switches::kShowNonOccludingRects,
844 cc::switches::kShowOccludingRects, 845 cc::switches::kShowOccludingRects,
845 cc::switches::kTraceOverdraw, 846 cc::switches::kTraceOverdraw,
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 int32 gpu_process_host_id) { 1590 int32 gpu_process_host_id) {
1590 TRACE_EVENT0("renderer_host", 1591 TRACE_EVENT0("renderer_host",
1591 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1592 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1592 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1593 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1593 gpu_process_host_id, 1594 gpu_process_host_id,
1594 surface_handle, 1595 surface_handle,
1595 0); 1596 0);
1596 } 1597 }
1597 1598
1598 } // namespace content 1599 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/content_startup_flags.cc ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698