| Index: gpu/command_buffer/service/texture_manager.h
|
| ===================================================================
|
| --- gpu/command_buffer/service/texture_manager.h (revision 89013)
|
| +++ gpu/command_buffer/service/texture_manager.h (working copy)
|
| @@ -42,7 +42,6 @@
|
| cube_complete_(false),
|
| npot_(false),
|
| has_been_bound_(false),
|
| - framebuffer_attachment_count_(0),
|
| owned_(true) {
|
| }
|
|
|
| @@ -132,19 +131,6 @@
|
| owned_ = false;
|
| }
|
|
|
| - bool IsAttachedToFramebuffer() const {
|
| - return framebuffer_attachment_count_ != 0;
|
| - }
|
| -
|
| - void AttachToFramebuffer() {
|
| - ++framebuffer_attachment_count_;
|
| - }
|
| -
|
| - void DetachFromFramebuffer() {
|
| - DCHECK(framebuffer_attachment_count_ > 0);
|
| - --framebuffer_attachment_count_;
|
| - }
|
| -
|
| private:
|
| friend class TextureManager;
|
| friend class base::RefCounted<TextureInfo>;
|
| @@ -254,9 +240,6 @@
|
| // Whether this texture has ever been bound.
|
| bool has_been_bound_;
|
|
|
| - // The number of framebuffers this texture is attached to.
|
| - int framebuffer_attachment_count_;
|
| -
|
| // Whether the associated context group owns this texture and should delete
|
| // it.
|
| bool owned_;
|
|
|