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

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

Issue 14409006: cc: Changes to use GL API for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Remove TODOs 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
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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 switches::kUseGL, 934 switches::kUseGL,
935 switches::kUseMobileUserAgent, 935 switches::kUseMobileUserAgent,
936 switches::kUserAgent, 936 switches::kUserAgent,
937 switches::kV, 937 switches::kV,
938 switches::kVideoThreads, 938 switches::kVideoThreads,
939 switches::kVModule, 939 switches::kVModule,
940 switches::kWebCoreLogChannels, 940 switches::kWebCoreLogChannels,
941 // Please keep these in alphabetical order. Compositor switches here should 941 // Please keep these in alphabetical order. Compositor switches here should
942 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 942 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
943 cc::switches::kBackgroundColorInsteadOfCheckerboard, 943 cc::switches::kBackgroundColorInsteadOfCheckerboard,
944 cc::switches::kCCUseMapImage,
944 cc::switches::kCompositeToMailbox, 945 cc::switches::kCompositeToMailbox,
945 cc::switches::kDisableColorEstimator, 946 cc::switches::kDisableColorEstimator,
946 cc::switches::kDisableImplSidePainting, 947 cc::switches::kDisableImplSidePainting,
947 cc::switches::kDisableThreadedAnimation, 948 cc::switches::kDisableThreadedAnimation,
948 cc::switches::kEnableCompositorFrameMessage, 949 cc::switches::kEnableCompositorFrameMessage,
949 cc::switches::kEnableImplSidePainting, 950 cc::switches::kEnableImplSidePainting,
950 cc::switches::kEnablePartialSwap, 951 cc::switches::kEnablePartialSwap,
951 cc::switches::kEnablePerTilePainting, 952 cc::switches::kEnablePerTilePainting,
952 cc::switches::kEnablePinchZoomScrollbars, 953 cc::switches::kEnablePinchZoomScrollbars,
953 cc::switches::kDisablePinchZoomScrollbars, 954 cc::switches::kDisablePinchZoomScrollbars,
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
1756 TRACE_EVENT0("renderer_host", 1757 TRACE_EVENT0("renderer_host",
1757 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1758 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1758 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1759 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1759 ack_params.sync_point = 0; 1760 ack_params.sync_point = 0;
1760 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1761 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1761 gpu_process_host_id, 1762 gpu_process_host_id,
1762 ack_params); 1763 ack_params);
1763 } 1764 }
1764 1765
1765 } // namespace content 1766 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698