|
Do not give GPU memory to backgrounded compositors.
This has already been disabled on all platforms except Windows and
Chrome OS to be more conservative about GPU memory.
All platforms are moving to a delegated renderer where, if keeping
around resources for a fast tab-switch is desired, it can be
accomplished by not releasing those resources in the browser process.
This feature was originally requested in crbug.com/134750.
Also remove the infrastructure for preserving backbuffers of
backgrounded renderers. This feature was never enabled.
BUG= 276559
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232324
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+49 lines, -639 lines) |
Patch |
 |
M |
cc/output/context_provider.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/output/delegating_renderer.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/delegating_renderer.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer.h
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer.cc
|
View
|
|
2 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer_unittest.cc
|
View
|
1
2
|
6 chunks |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
cc/output/managed_memory_policy.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/output/managed_memory_policy.cc
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface.cc
|
View
|
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface_client.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/output_surface_unittest.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -24 lines |
0 comments
|
Download
|
 |
M |
cc/output/renderer.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/software_renderer.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/software_renderer.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_output_surface_client.h
|
View
|
|
3 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_output_surface_client.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/test/pixel_test.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/test_context_provider.h
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_context_provider.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
|
6 chunks |
+4 lines, -16 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
|
7 chunks |
+9 lines, -16 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
1
2
|
6 chunks |
+11 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_damage.cc
|
View
|
1
|
1 chunk |
+0 lines, -97 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/context_provider_command_buffer.cc
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_memory_manager.h
|
View
|
|
3 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_memory_manager.cc
|
View
|
|
13 chunks |
+1 line, -131 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_memory_manager_client.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_memory_manager_client.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_memory_manager_unittest.cc
|
View
|
|
5 chunks |
+6 lines, -210 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_messages.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/compositor_output_surface.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gpu_memory_allocation.h
|
View
|
|
1 chunk |
+3 lines, -19 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|