diff options
author | Marek Olšák <[email protected]> | 2017-03-23 22:42:56 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-29 15:44:00 +0200 |
commit | d68150f15d41756fa7153cd6b597ff52ec85a933 (patch) | |
tree | 39148e97f68982d67585e715aad7cdea438681a3 /src/mesa/main/teximage.c | |
parent | 226ff6aa30701fb1b4e69e07c5d76c4d9b5e5d77 (diff) |
mesa: split _NEW_TEXTURE into _NEW_TEXTURE_OBJECT & _NEW_TEXTURE_STATE
No performance testing has been done, because it makes sense to make this
change regardless of that. Also, _NEW_TEXTURE is still used in many places,
but the obvious occurences are replaced here.
It's now possible to split _NEW_TEXTURE_OBJECT further.
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index efbf30b8280..1a00d251324 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -3225,7 +3225,7 @@ _mesa_texture_sub_image(struct gl_context *ctx, GLuint dims, check_gen_mipmap(ctx, target, texObj, level); - /* NOTE: Don't signal _NEW_TEXTURE since we've only changed + /* NOTE: Don't signal _NEW_TEXTURE_OBJECT since we've only changed * the texel data, not the texture format, size, etc. */ } @@ -3817,7 +3817,7 @@ _mesa_copy_texture_sub_image(struct gl_context *ctx, GLuint dims, check_gen_mipmap(ctx, target, texObj, level); - /* NOTE: Don't signal _NEW_TEXTURE since we've only changed + /* NOTE: Don't signal _NEW_TEXTURE_OBJECT since we've only changed * the texel data, not the texture format, size, etc. */ } @@ -4523,7 +4523,7 @@ _mesa_compressed_texture_sub_image(struct gl_context *ctx, GLuint dims, check_gen_mipmap(ctx, target, texObj, level); - /* NOTE: Don't signal _NEW_TEXTURE since we've only changed + /* NOTE: Don't signal _NEW_TEXTURE_OBJECT since we've only changed * the texel data, not the texture format, size, etc. */ } |