Index: gpu/command_buffer/service/texture_manager.h |
diff --git a/gpu/command_buffer/service/texture_manager.h b/gpu/command_buffer/service/texture_manager.h |
index e97feb327f1c5a37b6edc98fd1d4a39c21885657..c9b7018fb11709d03017eacdf6537e1cb98dbb8b 100644 |
--- a/gpu/command_buffer/service/texture_manager.h |
+++ b/gpu/command_buffer/service/texture_manager.h |
@@ -183,6 +183,10 @@ class GPU_EXPORT Texture { |
return immutable_; |
} |
+ // In GLES2 "cube complete" means all 6 faces level 0 are defined, all the |
+ // same format, all the same dimensions and all width = height. |
+ bool cube_complete() const { return cube_complete_; } |
+ |
// Get the cleared rectangle for a particular level. Returns an empty |
// rectangle if level does not exist. |
gfx::Rect GetLevelClearedRect(GLenum target, GLint level) const; |
@@ -274,12 +278,6 @@ class GPU_EXPORT Texture { |
return texture_complete_; |
} |
- // In GLES2 "cube complete" means all 6 faces level 0 are defined, all the |
- // same format, all the same dimensions and all width = height. |
- bool cube_complete() const { |
- return cube_complete_; |
- } |
- |
// Whether or not this texture is a non-power-of-two texture. |
bool npot() const { |
return npot_; |