Index: cc/layers/texture_layer.cc |
diff --git a/cc/layers/texture_layer.cc b/cc/layers/texture_layer.cc |
index a6022dd2408faf496db47913187e4d4864f0bf70..6fb4c96b44215ca60b002112306edb35c6adf7c0 100644 |
--- a/cc/layers/texture_layer.cc |
+++ b/cc/layers/texture_layer.cc |
@@ -159,6 +159,10 @@ void TextureLayer::WillModifyTexture() { |
} |
} |
+bool TextureLayer::MustUseSharedMemory() { |
+ return !layer_tree_host()->UsingGLRenderer(); |
piman
2013/07/01 22:45:01
note: layer_tree_host() is NULL when the layer is
jbauman
2013/07/02 00:00:40
Ok, modified PrepareTextureMailbox to do this inst
|
+} |
+ |
void TextureLayer::SetNeedsDisplayRect(const gfx::RectF& dirty_rect) { |
Layer::SetNeedsDisplayRect(dirty_rect); |