| Index: cc/layers/texture_layer_impl.h
|
| diff --git a/cc/layers/texture_layer_impl.h b/cc/layers/texture_layer_impl.h
|
| index 50511feacecc9e16f8dc48ced08a249baab630d8..de42619f0d3ea4cce1fb84f81775db3229a5bf99 100644
|
| --- a/cc/layers/texture_layer_impl.h
|
| +++ b/cc/layers/texture_layer_impl.h
|
| @@ -18,9 +18,8 @@ class ScopedResource;
|
| class CC_EXPORT TextureLayerImpl : public LayerImpl {
|
| public:
|
| static scoped_ptr<TextureLayerImpl> Create(LayerTreeImpl* tree_impl,
|
| - int id,
|
| - bool uses_mailbox) {
|
| - return make_scoped_ptr(new TextureLayerImpl(tree_impl, id, uses_mailbox));
|
| + int id) {
|
| + return make_scoped_ptr(new TextureLayerImpl(tree_impl, id));
|
| }
|
| virtual ~TextureLayerImpl();
|
|
|
| @@ -32,12 +31,9 @@ class CC_EXPORT TextureLayerImpl : public LayerImpl {
|
| ResourceProvider* resource_provider) OVERRIDE;
|
| virtual void AppendQuads(QuadSink* quad_sink,
|
| AppendQuadsData* append_quads_data) OVERRIDE;
|
| - virtual void DidDraw(ResourceProvider* resource_provider) OVERRIDE;
|
| virtual Region VisibleContentOpaqueRegion() const OVERRIDE;
|
| virtual void ReleaseResources() OVERRIDE;
|
|
|
| - unsigned texture_id() const { return texture_id_; }
|
| -
|
| // These setter methods don't cause any implicit damage, so the texture client
|
| // must explicitly invalidate if they intend to cause a visible change in the
|
| // layer's output.
|
| @@ -57,12 +53,11 @@ class CC_EXPORT TextureLayerImpl : public LayerImpl {
|
| scoped_ptr<SingleReleaseCallback> release_callback);
|
|
|
| private:
|
| - TextureLayerImpl(LayerTreeImpl* tree_impl, int id, bool uses_mailbox);
|
| + TextureLayerImpl(LayerTreeImpl* tree_impl, int id);
|
|
|
| virtual const char* LayerTypeAsString() const OVERRIDE;
|
| void FreeTextureMailbox();
|
|
|
| - unsigned texture_id_;
|
| ResourceProvider::ResourceId external_texture_resource_;
|
| bool premultiplied_alpha_;
|
| bool blend_background_color_;
|
| @@ -75,7 +70,6 @@ class CC_EXPORT TextureLayerImpl : public LayerImpl {
|
|
|
| TextureMailbox texture_mailbox_;
|
| scoped_ptr<SingleReleaseCallback> release_callback_;
|
| - bool uses_mailbox_;
|
| bool own_mailbox_;
|
| bool valid_texture_copy_;
|
|
|
|
|