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

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

Issue 10984009: Allow immutable textures into mailboxes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 8 years, 3 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.cc
diff --git a/gpu/command_buffer/service/texture_definition.cc b/gpu/command_buffer/service/texture_definition.cc
index 731ff6f983aa8bc9001fbb7840b1b1d57395e678..098584f6c5d03e5f22fa55f2a9146f7bd6338c36 100644
--- a/gpu/command_buffer/service/texture_definition.cc
+++ b/gpu/command_buffer/service/texture_definition.cc
@@ -29,9 +29,11 @@ TextureDefinition::LevelInfo::LevelInfo(GLenum target,
TextureDefinition::TextureDefinition(GLenum target,
GLuint service_id,
+ bool immutable,
const LevelInfos& level_infos)
: target_(target),
service_id_(service_id),
+ immutable_(immutable),
level_infos_(level_infos) {
}

Powered by Google App Engine
This is Rietveld 408576698