Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Unified Diff: gpu/command_buffer/service/texture_definition.h

Issue 14095009: Android: Fix up video to work with mailboxes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comment Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc ('k') | gpu/command_buffer/service/texture_definition.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698