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

Unified Diff: cc/layers/draw_properties.h

Issue 1231453002: Compute if a layer is clipped outside CalcDrawProps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DrawProperties is_clipped removed Created 5 years, 5 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
Index: cc/layers/draw_properties.h
diff --git a/cc/layers/draw_properties.h b/cc/layers/draw_properties.h
index 375d011f1cd9084172fc72c97553d52a86b1ce51..8241aa7384a9bc76c6d8fb99036df7b525fdca87 100644
--- a/cc/layers/draw_properties.h
+++ b/cc/layers/draw_properties.h
@@ -25,7 +25,6 @@ struct CC_EXPORT DrawProperties {
target_space_transform_is_animating(false),
screen_space_transform_is_animating(false),
can_use_lcd_text(false),
- is_clipped(false),
render_target(nullptr),
num_unclipped_descendants(0),
layer_or_descendant_has_copy_request(false),
@@ -71,9 +70,6 @@ struct CC_EXPORT DrawProperties {
// True if the layer can use LCD text.
bool can_use_lcd_text;
- // True if the layer needs to be clipped by clip_rect.
- bool is_clipped;
-
// The layer whose coordinate space this layer draws into. This can be
// either the same layer (draw_properties_.render_target == this) or an
// ancestor of this layer.

Powered by Google App Engine
This is Rietveld 408576698