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

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

Issue 10873099: Flag and adapter class for software compositing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Applied review comments Created 8 years, 3 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 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 switches::kEnablePepperTesting, 780 switches::kEnablePepperTesting,
781 switches::kEnablePointerLock, 781 switches::kEnablePointerLock,
782 switches::kEnablePreparsedJsCaching, 782 switches::kEnablePreparsedJsCaching,
783 switches::kEnablePruneGpuCommandBuffers, 783 switches::kEnablePruneGpuCommandBuffers,
784 switches::kEnablePinch, 784 switches::kEnablePinch,
785 #if defined(OS_MACOSX) 785 #if defined(OS_MACOSX)
786 // Allow this to be set when invoking the browser and relayed along. 786 // Allow this to be set when invoking the browser and relayed along.
787 switches::kEnableSandboxLogging, 787 switches::kEnableSandboxLogging,
788 #endif 788 #endif
789 switches::kEnableSeccompSandbox, 789 switches::kEnableSeccompSandbox,
790 switches::kEnableSoftwareCompositingGLAdapter,
790 switches::kEnableStatsTable, 791 switches::kEnableStatsTable,
791 switches::kEnableThreadedCompositing, 792 switches::kEnableThreadedCompositing,
792 switches::kDisableThreadedCompositing, 793 switches::kDisableThreadedCompositing,
793 switches::kEnableTouchEvents, 794 switches::kEnableTouchEvents,
794 switches::kEnableVideoTrack, 795 switches::kEnableVideoTrack,
795 switches::kEnableViewport, 796 switches::kEnableViewport,
796 switches::kForceDeviceScaleFactor, 797 switches::kForceDeviceScaleFactor,
797 switches::kFullMemoryCrashReport, 798 switches::kFullMemoryCrashReport,
798 #if !defined (GOOGLE_CHROME_BUILD) 799 #if !defined (GOOGLE_CHROME_BUILD)
799 // These are unsupported and not fully tested modes, so don't enable them 800 // These are unsupported and not fully tested modes, so don't enable them
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 int32 route_id, 1519 int32 route_id,
1519 int32 gpu_process_host_id) { 1520 int32 gpu_process_host_id) {
1520 TRACE_EVENT0("renderer_host", 1521 TRACE_EVENT0("renderer_host",
1521 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1522 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1522 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1523 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1523 gpu_process_host_id, 1524 gpu_process_host_id,
1524 0); 1525 0);
1525 } 1526 }
1526 1527
1527 } // namespace content 1528 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | content/renderer/gpu/compositor_output_surface.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698