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 9bf0509a825ca7d4d00d558cabd29921137aec53..d260ad739db841703b00e1a4bb40d0df64709577 100644 |
--- a/gpu/command_buffer/service/texture_definition.h |
+++ b/gpu/command_buffer/service/texture_definition.h |
@@ -71,6 +71,9 @@ class GPU_EXPORT TextureDefinition { |
bool immutable() const { return immutable_; } |
+ void SetStreamTexture() { stream_texture_ = true; } |
piman
2013/04/15 17:47:54
Should this just be passed through the constructor
no sievers
2013/04/15 18:54:30
Done.
|
+ bool IsStreamTexture() const { return stream_texture_; } |
+ |
const LevelInfos& level_infos() const { |
return level_infos_; |
} |
@@ -84,6 +87,7 @@ class GPU_EXPORT TextureDefinition { |
GLenum wrap_t_; |
GLenum usage_; |
bool immutable_; |
+ bool stream_texture_; |
std::vector<std::vector<LevelInfo> > level_infos_; |
DISALLOW_COPY_AND_ASSIGN(TextureDefinition); |