History log of /external/mesa3d/src/mesa/main/texstorage.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5b007761fef03547ef09585bef6920a8dcedf1ce 11-Nov-2012 Marek Olšák <maraeo@gmail.com> mesa: fix error checking of TexStorage(levels) for array and rect textures

NOTE: This is a candidate for the stable branches.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 985f2aec4a2ca74f6612f34ce0887eafcc163e08)

Conflicts:
src/mesa/main/texstorage.c
/external/mesa3d/src/mesa/main/texstorage.c
04f902b47226f976d3d81c66ddadb7414051c957 08-Sep-2012 Brian Paul <brianp@vmware.com> mesa: fix proxy texture error handling in glTexStorage()

This is basically a follow-on to 1f5b1f98468d5e80be39e619ed15c422fbede8d3.
Basically, generate GL errors for ordinary invalid parameters for proxy
targets the same as for non-proxy targets. Only texture size and OOM
errors should be handled specially for proxies.

Note: This is a candidate for the stable branches.
(cherry picked from commit 35c75f6777c177a59df8a87adf0777403113ce74)
/external/mesa3d/src/mesa/main/texstorage.c
10b9a02952ff0918c40024326228324704992329 08-Sep-2012 Brian Paul <brianp@vmware.com> mesa: do internal format error checking for glTexStorage()

Turns out we weren't doing any format checking before. Now check
the internal format and, in particular, make sure that unsized internal
formats aren't accepted.

Note: This is a candidate for the stable branches.
(cherry picked from commit 2e4fc54977977e674ee77294e6632a24e594d17f)
/external/mesa3d/src/mesa/main/texstorage.c
46751edca9a95baff81771aa69986fa6e2422ed6 22-Aug-2012 Brian Paul <brianp@vmware.com> mesa: new _mesa_num_tex_faces() helper

Not a real big help now, but will be useful for the
GL_ARB_texture_cube_map_array extension in the future.
/external/mesa3d/src/mesa/main/texstorage.c
892a2542a3f0753a7064c710b96f077dd5490624 04-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove unused _mesa_init_teximage_fields() target parameter

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
/external/mesa3d/src/mesa/main/texstorage.c
a8fcb7927b2f50886eb33e81aa7feeb96bc300e4 31-Oct-2011 Brian Paul <brianp@vmware.com> mesa: implement new functions for GL_ARB_texture_storage

This is the glTexStorage1D/2D/3D() functions. Basically do error
checking then call the driver hook to actually allocate memory.
/external/mesa3d/src/mesa/main/texstorage.c