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

Unified Diff: cc/layers/surface_layer_impl.h

Issue 2861593002: cc: Only add surface ID to embedded_surfaces if fallback does not match (Closed)
Patch Set: Added a comment 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layers/surface_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/surface_layer_impl.h
diff --git a/cc/layers/surface_layer_impl.h b/cc/layers/surface_layer_impl.h
index 66400bd427ccdbb879383038e2f37935f8578c15..3c518827799f4eef00873a2e41630d94f447048d 100644
--- a/cc/layers/surface_layer_impl.h
+++ b/cc/layers/surface_layer_impl.h
@@ -30,6 +30,11 @@ class CC_EXPORT SurfaceLayerImpl : public LayerImpl {
return primary_surface_info_;
}
+ // A fallback Surface is a Surface that is already known to exist in the
+ // display compositor. If surface synchronization is enabled, the display
+ // compositor will use the fallback if the primary surface is unavailable
+ // at the time of surface aggregation. If surface synchronization is not
+ // enabled, then a fallback surface will not be specified.
void SetFallbackSurfaceInfo(const SurfaceInfo& surface_info);
const SurfaceInfo& fallback_surface_info() const {
return fallback_surface_info_;
@@ -51,7 +56,6 @@ class CC_EXPORT SurfaceLayerImpl : public LayerImpl {
RenderPass* render_pass,
SurfaceDrawQuadType surface_draw_quad_type,
const SurfaceInfo& surface_info,
- std::vector<SurfaceId>* embedded_surfaces,
SharedQuadState** common_shared_quad_state);
void GetDebugBorderProperties(SkColor* color, float* width) const override;
« no previous file with comments | « no previous file | cc/layers/surface_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698