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

Side by Side Diff: blimp/client/support/compositor/blimp_layer_tree_settings.cc

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 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
« no previous file with comments | « blimp/client/support/compositor/blimp_embedder_compositor.cc ('k') | cc/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "blimp/client/support/compositor/blimp_layer_tree_settings.h" 5 #include "blimp/client/support/compositor/blimp_layer_tree_settings.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 if (numTiles > 16) 207 if (numTiles > 16)
208 default_tile_size = 384; 208 default_tile_size = 384;
209 if (numTiles >= 40) 209 if (numTiles >= 40)
210 default_tile_size = 512; 210 default_tile_size = 512;
211 } 211 }
212 #endif 212 #endif
213 settings->default_tile_size.SetSize(default_tile_size, default_tile_size); 213 settings->default_tile_size.SetSize(default_tile_size, default_tile_size);
214 214
215 settings->renderer_settings.buffer_to_texture_target_map = 215 settings->renderer_settings.buffer_to_texture_target_map =
216 BlimpGpuMemoryBufferManager::GetDefaultBufferToTextureTargetMap(); 216 BlimpGpuMemoryBufferManager::GetDefaultBufferToTextureTargetMap();
217 settings->use_output_surface_begin_frame_source = true; 217 settings->use_compositor_frame_sink_begin_frame_source = true;
218 } 218 }
219 219
220 } // namespace client 220 } // namespace client
221 } // namespace blimp 221 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/support/compositor/blimp_embedder_compositor.cc ('k') | cc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698