| Index: gpu/command_buffer/service/texture_manager.cc
|
| diff --git a/gpu/command_buffer/service/texture_manager.cc b/gpu/command_buffer/service/texture_manager.cc
|
| index 5c8c1896ba5793bd536e7f1ab792c679b4bfde67..574107ca2abf20f2f4aed69de15233a0425e0b90 100644
|
| --- a/gpu/command_buffer/service/texture_manager.cc
|
| +++ b/gpu/command_buffer/service/texture_manager.cc
|
| @@ -125,6 +125,34 @@ TextureManager::TextureInfo::~TextureInfo() {
|
| }
|
| }
|
|
|
| +TextureManager::TextureInfo::LevelInfo::LevelInfo()
|
| + : cleared(true),
|
| + target(0),
|
| + level(-1),
|
| + internal_format(0),
|
| + width(0),
|
| + height(0),
|
| + depth(0),
|
| + border(0),
|
| + format(0),
|
| + type(0),
|
| + estimated_size(0) {
|
| +}
|
| +
|
| +TextureManager::TextureInfo::LevelInfo::LevelInfo(const LevelInfo& rhs)
|
| + : cleared(rhs.cleared),
|
| + target(rhs.target),
|
| + level(rhs.level),
|
| + internal_format(rhs.internal_format),
|
| + width(rhs.width),
|
| + height(rhs.height),
|
| + depth(rhs.depth),
|
| + border(rhs.border),
|
| + format(rhs.format),
|
| + type(rhs.type),
|
| + estimated_size(rhs.estimated_size) {
|
| +}
|
| +
|
| bool TextureManager::TextureInfo::CanRender(
|
| const FeatureInfo* feature_info) const {
|
| if (target_ == 0) {
|
| @@ -1049,5 +1077,3 @@ GLsizei TextureManager::ComputeMipMapCount(
|
|
|
| } // namespace gles2
|
| } // namespace gpu
|
| -
|
| -
|
|
|