Index: gpu/command_buffer/service/texture_definition.h |
diff --git a/gpu/command_buffer/service/texture_definition.h b/gpu/command_buffer/service/texture_definition.h |
index 520c6f8f93090f1c553596cd62f5ae310d32b583..d3dc43f8377d3bd3332dbe2558ab34de65b7cf9f 100644 |
--- a/gpu/command_buffer/service/texture_definition.h |
+++ b/gpu/command_buffer/service/texture_definition.h |
@@ -46,6 +46,7 @@ class GPU_EXPORT TextureDefinition { |
TextureDefinition(GLenum target, |
GLuint service_id, |
+ bool immutable, |
const LevelInfos& level_infos); |
~TextureDefinition(); |
@@ -55,6 +56,8 @@ class GPU_EXPORT TextureDefinition { |
GLuint ReleaseServiceId(); |
+ const bool immutable() const { return immutable_; } |
+ |
const LevelInfos& level_infos() const { |
return level_infos_; |
} |
@@ -62,6 +65,7 @@ class GPU_EXPORT TextureDefinition { |
private: |
GLenum target_; |
GLuint service_id_; |
+ bool immutable_; |
std::vector<std::vector<LevelInfo> > level_infos_; |
DISALLOW_COPY_AND_ASSIGN(TextureDefinition); |
@@ -71,5 +75,3 @@ class GPU_EXPORT TextureDefinition { |
} // namespace gpu |
#endif // GPU_COMMAND_BUFFER_SERVICE_TEXTURE_DEFINITION_H_ |
- |
- |