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

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

Issue 2726263003: cc::ResourcePool - Re-use larger resources for smaller requests (Closed)
Patch Set: fix compile Created 3 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
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 1848 matching lines...) Expand 10 before | Expand all | Expand 10 after
1859 switches::kUseMobileUserAgent, 1859 switches::kUseMobileUserAgent,
1860 switches::kV, 1860 switches::kV,
1861 switches::kV8CacheStrategiesForCacheStorage, 1861 switches::kV8CacheStrategiesForCacheStorage,
1862 switches::kVideoThreads, 1862 switches::kVideoThreads,
1863 switches::kVideoUnderflowThresholdMs, 1863 switches::kVideoUnderflowThresholdMs,
1864 switches::kVModule, 1864 switches::kVModule,
1865 // Please keep these in alphabetical order. Compositor switches here should 1865 // Please keep these in alphabetical order. Compositor switches here should
1866 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1866 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1867 cc::switches::kDisableCompositedAntialiasing, 1867 cc::switches::kDisableCompositedAntialiasing,
1868 cc::switches::kDisableThreadedAnimation, 1868 cc::switches::kDisableThreadedAnimation,
1869 cc::switches::kDisallowNonExactResourceReuse,
1869 cc::switches::kEnableCheckerImaging, 1870 cc::switches::kEnableCheckerImaging,
1870 cc::switches::kEnableColorCorrectRendering, 1871 cc::switches::kEnableColorCorrectRendering,
1871 cc::switches::kEnableGpuBenchmarking, 1872 cc::switches::kEnableGpuBenchmarking,
1872 cc::switches::kEnableLayerLists, 1873 cc::switches::kEnableLayerLists,
1873 cc::switches::kEnableSurfaceSynchronization, 1874 cc::switches::kEnableSurfaceSynchronization,
1874 cc::switches::kEnableTileCompression, 1875 cc::switches::kEnableTileCompression,
1875 cc::switches::kShowCompositedLayerBorders, 1876 cc::switches::kShowCompositedLayerBorders,
1876 cc::switches::kShowFPSCounter, 1877 cc::switches::kShowFPSCounter,
1877 cc::switches::kShowLayerAnimationBounds, 1878 cc::switches::kShowLayerAnimationBounds,
1878 cc::switches::kShowPropertyChangedRects, 1879 cc::switches::kShowPropertyChangedRects,
(...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after
3112 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3113 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3113 3114
3114 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3115 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3115 // Capture the error message in a crash key value. 3116 // Capture the error message in a crash key value.
3116 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3117 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3117 bad_message::ReceivedBadMessage(render_process_id, 3118 bad_message::ReceivedBadMessage(render_process_id,
3118 bad_message::RPH_MOJO_PROCESS_ERROR); 3119 bad_message::RPH_MOJO_PROCESS_ERROR);
3119 } 3120 }
3120 3121
3121 } // namespace content 3122 } // namespace content
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698