projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d69fc
)
mesa: add note about immutable textures for _mesa_test_texobj_completeness()
author
Brian Paul
<brianp@vmware.com>
Mon, 31 Oct 2011 16:52:57 +0000
(10:52 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 31 Oct 2011 16:52:57 +0000
(10:52 -0600)
src/mesa/main/texobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index 4d9942ba899b4100d4131b0dad0460b75c2c9413..a8c0b8ee8b958283e5c597953b8e61ab5346f98a 100644
(file)
--- a/
src/mesa/main/texobj.c
+++ b/
src/mesa/main/texobj.c
@@
-406,6
+406,10
@@
incomplete(struct gl_texture_object *t, const char *fmt, ...)
* The gl_texture_object::Complete flag will be set to GL_TRUE or GL_FALSE
* accordingly.
*
+ * XXX TODO: For immutable textures (GL_ARB_texture_storage) we can skip
+ * many of the checks below since we know the mipmap images will have
+ * consistent sizes.
+ *
* \param ctx GL context.
* \param t texture object.
*