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

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

Issue 10532058: added gpu_benchmarking_extension boilerplate and hooked it up to a new switch. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 switches::kDisableWebSockets, 670 switches::kDisableWebSockets,
671 switches::kDomAutomationController, 671 switches::kDomAutomationController,
672 switches::kEnableAccessibilityLogging, 672 switches::kEnableAccessibilityLogging,
673 switches::kEnableBrowserPlugin, 673 switches::kEnableBrowserPlugin,
674 switches::kEnableDCHECK, 674 switches::kEnableDCHECK,
675 switches::kEnableEncryptedMedia, 675 switches::kEnableEncryptedMedia,
676 switches::kEnableFixedLayout, 676 switches::kEnableFixedLayout,
677 switches::kEnableGamepad, 677 switches::kEnableGamepad,
678 switches::kEnableGPUServiceLogging, 678 switches::kEnableGPUServiceLogging,
679 switches::kEnableGPUClientLogging, 679 switches::kEnableGPUClientLogging,
680 switches::kEnableGpuBenchmarking,
nduca 2012/06/08 00:36:03 Looks like we use all-caps GPU here for this kind
dmurph 2012/06/08 18:36:22 Hm, well all of the switches in content_switches u
680 switches::kEnableLogging, 681 switches::kEnableLogging,
681 switches::kEnableMediaSource, 682 switches::kEnableMediaSource,
682 switches::kEnablePeerConnection, 683 switches::kEnablePeerConnection,
683 switches::kEnableShadowDOM, 684 switches::kEnableShadowDOM,
684 switches::kEnableStrictSiteIsolation, 685 switches::kEnableStrictSiteIsolation,
685 switches::kEnableStyleScoped, 686 switches::kEnableStyleScoped,
686 switches::kDisableFullScreen, 687 switches::kDisableFullScreen,
687 switches::kEnablePepperTesting, 688 switches::kEnablePepperTesting,
688 switches::kEnablePointerLock, 689 switches::kEnablePointerLock,
689 switches::kEnablePreparsedJsCaching, 690 switches::kEnablePreparsedJsCaching,
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 uint64 surface_handle, 1360 uint64 surface_handle,
1360 int32 route_id, 1361 int32 route_id,
1361 int32 gpu_process_host_id) { 1362 int32 gpu_process_host_id) {
1362 TRACE_EVENT0("renderer_host", 1363 TRACE_EVENT0("renderer_host",
1363 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1364 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1364 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id, 1365 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id,
1365 gpu_process_host_id); 1366 gpu_process_host_id);
1366 } 1367 }
1367 1368
1368 } // namespace content 1369 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | content/renderer/gpu_benchmarking_extension.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698