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

Unified Diff: cc/trees/layer_tree_impl.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index a0af3536a21a22ffcc5e4d6019af07987172b41a..1376cdf6b5ec4b19aebd7f1168b88c25d401f620 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -930,7 +930,7 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) {
// For max_texture_size. When a new output surface is received the needs
// update draw properties flag is set again.
- if (!layer_tree_host_impl_->output_surface())
+ if (!layer_tree_host_impl_->compositor_frame_sink())
return false;
// Clear this after the renderer early out, as it should still be
@@ -1267,11 +1267,7 @@ const LayerTreeDebugState& LayerTreeImpl::debug_state() const {
}
ContextProvider* LayerTreeImpl::context_provider() const {
- return output_surface()->context_provider();
-}
-
-OutputSurface* LayerTreeImpl::output_surface() const {
- return layer_tree_host_impl_->output_surface();
+ return layer_tree_host_impl_->compositor_frame_sink()->context_provider();
}
ResourceProvider* LayerTreeImpl::resource_provider() const {
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698