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

Unified Diff: cc/layers/texture_layer_impl.h

Issue 1142343008: cc: Rework overlays to not use the ResourceProvider and pass texture size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: cc/layers/texture_layer_impl.h
diff --git a/cc/layers/texture_layer_impl.h b/cc/layers/texture_layer_impl.h
index acbfbce4eba0d54b0192a292bbb0517f39c41e79..6d79544146bfe0c14ef71768c57385bfd2bbd49d 100644
--- a/cc/layers/texture_layer_impl.h
+++ b/cc/layers/texture_layer_impl.h
@@ -60,6 +60,8 @@ class CC_EXPORT TextureLayerImpl : public LayerImpl {
void FreeTextureMailbox();
ResourceId external_texture_resource_;
+ gfx::Size external_texture_resource_size_;
+ bool external_texture_allow_overlay_;
bool premultiplied_alpha_;
bool blend_background_color_;
bool flipped_;

Powered by Google App Engine
This is Rietveld 408576698