History log of /external/mesa3d/src/mesa/main/mipmap.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/mipmap.c
c9a7dfcf92e6adb4b85338c2c8dbbfbaf39fbfe7 12-Jun-2012 Pauli Nieminen <pauli.nieminen@linux.intel.com> mesa: Remove unnecessary parameters from AllocTextureImageBuffer

Size and format information is always stored in gl_texture_image
structure. That makes it preferable to remove duplicate information from
parameters to make interface easier to understand.

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mipmap.c
a1287f549a3e6527b8cf3bf5b5f563ba63c6f48c 22-Jul-2012 Brian Paul <brianp@vmware.com> mesa: move more format helper functions to glformats.c
/external/mesa3d/src/mesa/main/mipmap.c
e42d00b3f4503a0840575c8e5f4517a66c8af613 06-Jun-2012 Brian Paul <brianp@vmware.com> mesa: consolidate internal glTexSubImage1/2/3D code

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mipmap.c
b688700edc0ee8a4dcbac9b4cc5b0388691b7b43 24-Mar-2012 Vinson Lee <vlee@freedesktop.org> mesa: Fix memory leak in generate_mipmap_compressed.

Fixes Coverity resource leak defect.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mipmap.c
5c341b7df3c1058d586629394e53e9e26ae2cc01 01-Feb-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Fix copy-and-paste bug in do_row_3D

Several of the half-float cases used 4 as the texel size when it
should have been some smaller value.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43324
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43325
/external/mesa3d/src/mesa/main/mipmap.c
003dd8adf39c964d8c7beb86955a61ceb3706ebc 12-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove incorrect (float) cast in mipmap do_row()

The array holds GLuint values so remove the float cast.
Note, however, that to compute the average of four GLuints we really
want to do (a+b+c+d)/4 but that could overflow. This change doesn't
address that for now.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/mipmap.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/mipmap.c
da0cc82a093eb97212e989648da638a262ed3e84 30-Dec-2011 Brian Paul <brianp@vmware.com> mesa: simplify Driver.TexSubImage() parameters

There's no need to pass the target, level and texObj parameters since
they can be easily obtained from the texImage pointer.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mipmap.c
d77b963245fd286aecd6c04f7beb748ad22129cf 16-Dec-2011 Brian Paul <brianp@vmware.com> mesa: new _mesa_prepare_mipmap_level() function for mipmap generation

This helper function is used during mipmap generation to prepare space
for the destination mipmap levels.

This improves/fixes two things:
1. If the texture object was created with glTexStorage2D, calling
_mesa_TexImage2D() to allocate the new image would generate
INVALID_OPERATION since the texture is marked as immutable.
2. _mesa_TexImage2D() always frees any existing texture image memory
before allocating new memory. That's inefficient if the existing
image is the right size already.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mipmap.c
9ec5050898877baa6120fd9a04464651c7cb28ad 02-Dec-2011 Brian Paul <brianp@vmware.com> mesa: fix potential mem leak in generate_mipmap_compressed()

Fixes a coverity warning.

Reviewed-by: Vinson Lee <vlee@vmware.com>
/external/mesa3d/src/mesa/main/mipmap.c
c5012c1d56dfbf11cd631b3b37890b40d56ac884 26-Nov-2011 Brian Paul <brianp@vmware.com> mesa: handle MapTextureImage() failures in mipmap generation code

And handle potential malloc failures too.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mipmap.c
0c87f16817ff0bf1f05e0d634944fd47b097faee 23-Oct-2011 Chia-I Wu <olv@lunarg.com> mesa: add support for GL_OES_EGL_image_external

This is an OpenGL ES specific extension. External textures are textures that
may be sampled from, but not be updated (no glTexSubImage* and etc.). The
image data are taken from an EGLImage.

Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/src/mesa/main/mipmap.c
23c6eb035ba63d39652a10107f323d47b86b90f1 07-Oct-2011 Brian Paul <brianp@vmware.com> mesa: fix software mipmap generation code for packed Z/stencil formats

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=32458

Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/main/mipmap.c
c80aaad77e7d884ebe83ac72467d55ac505da5ee 06-Oct-2011 Brian Paul <brianp@vmware.com> mesa: remove unused _mesa_rescale_teximage2d() function

It was only used by the old tdfx driver, IIRC.
/external/mesa3d/src/mesa/main/mipmap.c
2c5bb57b509d03f5ae380524c61e1c0702d9e1b2 06-Oct-2011 Brian Paul <brianp@vmware.com> mesa: remove unused gl_texture_image::DriverData field

Was only used by some older/removed DRI drivers.
/external/mesa3d/src/mesa/main/mipmap.c
372cf26698881d3a71019a85759ca49652757642 29-Sep-2011 Eric Anholt <eric@anholt.net> mesa: Reuse existing make_2d_mipmap for 2D array generation.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mipmap.c
6fc576fd8aa2680e7e35dc7108e29d0091472e33 29-Sep-2011 Eric Anholt <eric@anholt.net> mesa: Make the uncompressed sw mipmap gen path do a Map per 1D array slice.

This also fixes what was probably a bug in 1D arrays with border.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mipmap.c
e0304180c32227342dbb67b707bfae446543bb48 02-Aug-2011 Brian Paul <brianp@vmware.com> mesa: Convert _mesa_generate_mipmap to MapTexImage()-based access.

Now that we can zero-copy generate the mipmaps into brand new
glTexImage()-generated storage using MapTextureImage(), we no longer
need to allocate image->Data in mipmap generate. This requires
deleting the drivers' old overrides of the miptree tracking after
calling _mesa_generate_mipmap at the same time, or the drivers
promptly lose our newly-generated data.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mipmap.c
4368a657670f1f3f13d8497f749cb5439f91529e 30-Sep-2011 Brian Paul <brianp@vmware.com> mesa: simplify parameters to GetTexImage() driver hook

The target, level and texObj can be obtained through the texImage
parameter. We could make similar changes for the TexImage() hooks too.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mipmap.c
4c84fbea9d496567d706468113d63cd8f0faeb7f 27-Sep-2011 Brian Paul <brianp@vmware.com> mesa: fix indentation in mipmap.c (3 spaces)
/external/mesa3d/src/mesa/main/mipmap.c
ece8d6f25cac9c7ca0237cde3ebdb90e86c6118a 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: move _mesa_upscale_teximage2d() to texcompress_fxt1.c

Was used by no other code.
/external/mesa3d/src/mesa/main/mipmap.c
529b9360f326dd25bd12cf8e036b9ac1c63a8032 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: s/GLchan/GLubyte/ in mipmap generation code
/external/mesa3d/src/mesa/main/mipmap.c
78026b8acef9d6eea4f37d9c5435447944d1befd 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: use ctx->Driver.AllocTextureImageBuffer() to alloc texture memory
/external/mesa3d/src/mesa/main/mipmap.c
ce82914f5ad4bb9148370826099925590e9798fd 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: move _mesa_update_fetch_functions() calls into swrast

Do it during swrast state validation since the FetchTexel() functions
are only called from swrast now and not core Mesa.
Remove assertions in mipmap.c since they're no longer appropriate.
/external/mesa3d/src/mesa/main/mipmap.c
0386d9ac7782f51996ce8417083d32493b377003 09-Sep-2011 Brian Paul <brianp@vmware.com> mesa: use ctx->Driver.GetTexImage() to decompress base texture image

This is a simple way to do the job and it removes one more use of
the soon-to-be-removed gl_texture_image::FetchTexelc() function.
/external/mesa3d/src/mesa/main/mipmap.c
68f8cf72638e974a5bf2ae3e88c2e3539d88e2b6 27-Jul-2011 Eric Anholt <eric@anholt.net> mesa: Don't check for image->Data when freeing an image's contents.

All driver implementations of FreeTextureImageBuffer already check
that Data != NULL and free it. However, this means that we will also
free driver storage if the driver storage wasn't in the form of a Data
pointer.

This was produced by the following semantic patch:

@@
expression C;
expression T;
@@
- if (T->Data) {
- C->Driver.FreeTextureImageBuffer(C, T);
+ C->Driver.FreeTextureImageBuffer(C, T);
- }

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mipmap.c
0bb29949ba8a9e5a15dc0640dbb0a4e7990a1d57 27-Jul-2011 Eric Anholt <eric@anholt.net> mesa: Rename FreeTexImageData to FreeTextureImageBuffer.

This was produced by sed, except for one hunk in driverfuncs.c where
trailing whitespace was dropped.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/mipmap.c
bde6a044588401ebbd14881cd5621095c221f0a5 21-Jun-2011 Marek Olšák <maraeo@gmail.com> mesa: implement generatemipmap for GL_FLOAT_32_UNSIGNED_INT_24_8_REV

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/mipmap.c
10e418f3815d690b2526e835bc7eb421b6be7050 10-Jun-2011 Eric Anholt <eric@anholt.net> mesa: Switch generate_mipmaps_compressed() to using TexImage2D to upload.

The code was playing fast and loose with rowstrides, which meant that
if a driver chose anything different for its alignment requirements,
the generated mipmaps came out garbage. Unlike the uncompressed case,
we can't generate mipmaps directly into image->Data, so by using
TexImage2D we cut out most of the weird logic that existed to generate
in-place into ->Data. The up/downside is that the driver recovery
code for the fact that _mesa_generate_mipmaps whacked ->Data has to be
turned off for compressed now.

Fixes 6 piglit tests about compressed mipmap gen.
/external/mesa3d/src/mesa/main/mipmap.c
b0c4db68b2bea1d41ba42211a3ff6b41dfee21a8 10-Jun-2011 Eric Anholt <eric@anholt.net> mesa: Remove uncompressed code from generate_mipmaps_compressed().
/external/mesa3d/src/mesa/main/mipmap.c
2bfd81df0a05351d79613b84908f167d6c5ad0af 10-Jun-2011 Eric Anholt <eric@anholt.net> mesa: Remove compressed code from generate_mipmaps_uncompressed().
/external/mesa3d/src/mesa/main/mipmap.c
ba55ccd312e8a025f568ffcdc622660f146e2147 10-Jun-2011 Eric Anholt <eric@anholt.net> mesa: Split _mesa_generate_mipmap along compressed/uncompressed lines.

The path taken is wildly different based on this (do we generate from
a temporary image, or from level-1's data), and we appear to have
stride bugs in the compressed case that are tough to disentangle.

This just duplicates the code for the moment, the followon commit will
do the actual changes. Only real code change here is handling
maxLevel in one common place.
/external/mesa3d/src/mesa/main/mipmap.c
631d23daa91c569bf268a2191bd466df73a64263 26-Apr-2011 Marek Olšák <maraeo@gmail.com> mesa: implement EXT_packed_float

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mipmap.c
1271424615b62544662a606bb23f6d7117a8b0e7 27-Apr-2011 Marek Olšák <maraeo@gmail.com> mesa, util: move RGB9E5 conversion functions to gallium/util

Also use MAX3 and incorporate Ian's suggestion in texformat.c.

I don't think wrapping u_format_rgb9e5.h in another header and thus making it
more complicated is worth it.
/external/mesa3d/src/mesa/main/mipmap.c
9d7698c468f4ea7da8bb4ec00520c98f11cca0fa 26-Apr-2011 Marek Olšák <maraeo@gmail.com> mesa: implement EXT_texture_shared_exponent

swrast support done.

There is no renderbuffer support in swrast, because it's not required
by the extension.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mipmap.c
628544421d243e0ca8679c5d245728260d9e010d 22-Apr-2011 Marek Olšák <maraeo@gmail.com> mesa: implement generate-mipmap fallback for RGB10_A2

I hit this when testing RV350, which lacks RGB10_A2 render target
support. It had been missed when implementing the format and probably
unused by anything else too.

Not applicable to 7.10.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/mipmap.c
7d1a2056a84b5af75adf84e34a57e5d75f550139 20-Apr-2011 Eric Anholt <eric@anholt.net> mesa: Don't assert on the compressed convertformat for GenerateMipmaps.

This assertion doesn't make any sense to me -- the convertFormat is
already something valid (tested above), and the BaseFormat dictated by
convertFormat doesn't matter to the function about to be called (it's
the datatype/comps that were pulled out of convertFormat).

Fixes assertion failure in
GL_EXT_texture_compression_rgtc/fbo-generatemipmap-formats

(still has a rendering failure in NPOT like S3TC does).

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mipmap.c
7d16e2c0cd70dc5a23b746dbc8e44c58366b5353 07-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: add EXT_texture_compression_latc

The encoding/decoding algorithms are shared with RGTC.
Thanks to some magic with the base format, the RGTC texstore functions work
for LATC too.

swrast passes the related piglit tests besides two things:
- The alpha channel is wrong (it's always 1), however the incorrect alpha
channel makes some other tests fail too, so I guess it's unrelated to LATC.
- Signed LATC fetches aren't correct yet (signed values are clamped to [0,1]),
however RGTC has the same problem.

Further testing (with other of my patches) shows that hardware drivers
and softpipe work.

BTW, ETQW uses this extension.
/external/mesa3d/src/mesa/main/mipmap.c
8eebd216dd9f32de65e9af4160c042825ca75466 02-Mar-2011 Dave Airlie <airlied@redhat.com> rgtc: fixup mipmap generation

this allows swrast to pass mipmap generation for these formats.
/external/mesa3d/src/mesa/main/mipmap.c
8513d3405bd5cd633579b16af1ab04253a8b37d9 16-Feb-2011 Marek Olšák <maraeo@gmail.com> mesa: fix texture3D mipmap generation for UNSIGNED_BYTE_3_3_2 and 4_4

Oops, I copy-pasted a typo from 3_3_2.

The 3_3_2 part is a candidate for 7.9 and 7.10.
The 4_4 part isn't, because AL44 is in neither branches.
/external/mesa3d/src/mesa/main/mipmap.c
4d6994e40ebccf9428fc757d845e25c0e0c12cef 16-Feb-2011 Marek Olšák <maraeo@gmail.com> mesa: fix mipmap generation for MESA_FORMAT_AL44

This was missed when implementing AL44.
/external/mesa3d/src/mesa/main/mipmap.c
0117da40cd7edd3d165bb28569c289b37eca12b9 06-Jan-2011 Vinson Lee <vlee@vmware.com> mesa: Include mtypes.h in files that use gl_context struct.

Directly include mtypes.h if a file uses a gl_context struct. This
allows future removal of headers that are not strictly necessary but
indirectly include mtypes.h for a file.
/external/mesa3d/src/mesa/main/mipmap.c
83e93b6008213ad86607027e8434ecaccc8b1a2c 19-Nov-2010 Brian Paul <brianp@vmware.com> mesa: pass gl_format to _mesa_init_teximage_fields()

This should prevent the field going unset in the future. See bug
http://bugs.freedesktop.org/show_bug.cgi?id=31544 for background.

Also remove unneeded calls to clear_teximage_fields().

Finally, call _mesa_set_fetch_functions() from the
_mesa_init_teximage_fields() function so callers have one less
thing to worry about.
/external/mesa3d/src/mesa/main/mipmap.c
b3b6476695a8bb12b873d2e7d8556b7432723b5a 11-Nov-2010 Brian Paul <brianp@vmware.com> mesa: handle more pixel types in mipmap generation code

NOTE: This is a candidate for the 7.9 branch.
/external/mesa3d/src/mesa/main/mipmap.c
746b602fbdd6e7955e076c0c0d39e86b01bd3dfd 17-Oct-2010 Brian Rogers <brian@xyzw.org> mesa: Add missing else in do_row_3D

This fixes erroneous "bad format in do_row()" messages

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/mipmap.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/mipmap.c
865cf775030beac3147547537a1a5372485127de 25-Sep-2010 Dave Airlie <airlied@redhat.com> mesa/mipmap: fix warning since 1acadebd6270d3604b026842b8a21360968618a0

1acadebd6270d3604b026842b8a21360968618a0 fixed the pointer but not the cast.
/external/mesa3d/src/mesa/main/mipmap.c
1acadebd6270d3604b026842b8a21360968618a0 25-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Fix type typo in glGenerateMipmap handling of GL_UNSIGNED_INT data.

Fixes ARB_depth_texture/fbo-generatemipmap-formats.
/external/mesa3d/src/mesa/main/mipmap.c
4ff3467daf0ac07e4295c7d2e2ad3c3c8c89dff6 01-Sep-2010 Brian Paul <brianp@vmware.com> mesa: fix out of bounds memory read in mipmap gen code

Out of bounds reads could happen for reducing WxH to WxH/2
or WxH to W/2xH.

Fixes fd.o bug 29918.
/external/mesa3d/src/mesa/main/mipmap.c
57fc2e7802d1903848c2d7799f7e36308818b2e2 23-Apr-2010 Brian Paul <brianp@vmware.com> mesa: simplify some code in _mesa_generate_mipmap()
/external/mesa3d/src/mesa/main/mipmap.c
df62b0da92f50b309d79d6552ecdf5a59910c80a 04-Mar-2010 Vinson Lee <vlee@vmware.com> mesa: Add asserts to check inputs to memcpy.
/external/mesa3d/src/mesa/main/mipmap.c
247008f6c2014c8f84de3a27ac954afe2c418a93 02-Mar-2010 Vinson Lee <vlee@vmware.com> mesa: Add asserts to check inputs to memcpy.
/external/mesa3d/src/mesa/main/mipmap.c
75dba756b2e3d6850b56376d7c183dc3277a563b 28-Feb-2010 Vinson Lee <vlee@vmware.com> mesa: Add asserts to check inputs to memcpy.
/external/mesa3d/src/mesa/main/mipmap.c
bfdee9cc70f21ef34ca8497d30ab72106ce43bd1 28-Feb-2010 Vinson Lee <vlee@vmware.com> mesa: Add assert to check input to memcpy is not null.
/external/mesa3d/src/mesa/main/mipmap.c
298be2b028263b2c343a707662c6fbfa18293cb2 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace the _mesa_*printf() wrappers with the plain libc versions
/external/mesa3d/src/mesa/main/mipmap.c
32f2fd1c5d6088692551c80352b7d6fa35b0cd09 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
/external/mesa3d/src/mesa/main/mipmap.c
e197de56cdb86835f1437688a9161cd909792d80 19-Feb-2010 Brian Paul <brianp@vmware.com> mesa: replace old MEMCPY macro with memcpy
/external/mesa3d/src/mesa/main/mipmap.c
d0125e3c29942ae7a81a66748ea53b402114993d 19-Jan-2010 Vinson Lee <vlee@vmware.com> mesa: Remove unnecessary header from mipmap.c.
/external/mesa3d/src/mesa/main/mipmap.c
1f196b786d6bd0c6a5dbdc638574ff716cc3d4de 29-Oct-2009 Brian Paul <brianp@vmware.com> Merge branch 'texformat-rework'

Conflicts:
src/mesa/drivers/dri/radeon/radeon_fbo.c
src/mesa/drivers/dri/s3v/s3v_tex.c
src/mesa/drivers/dri/s3v/s3v_xmesa.c
src/mesa/drivers/dri/trident/trident_context.c
src/mesa/main/debug.c
src/mesa/main/mipmap.c
src/mesa/main/texformat.c
src/mesa/main/texgetimage.c
2594168e9f3cdc4ac53c925486491167837cda30 26-Oct-2009 Brian Paul <brianp@vmware.com> mesa: begin removing _mesa_compressed_row_stride() calls

Use equivalent _mesa_format_row_stride() function instead.
/external/mesa3d/src/mesa/main/mipmap.c
35efc6a1b3e3dada2cf9bd3a503c1b84f4bcb7f5 25-Oct-2009 Brian Paul <brianp@vmware.com> mesa: change compressed texture size calls

Replace calls to ctx->Driver.CompressedTextureSize with calls to
_mesa_format_image_size. The former always called the later.
/external/mesa3d/src/mesa/main/mipmap.c
019bc97bd900a84f5f999afdb42928e92d33814b 06-Oct-2009 Brian Paul <brianp@vmware.com> mesa: move _mesa_format_to_type_and_comps() to formats.c
/external/mesa3d/src/mesa/main/mipmap.c
43750f1575e366e2a92b71bffceee90d7f1a2b3e 05-Oct-2009 Michel Dänzer <daenzer@vmware.com> Use _mesa_select_tex_image() rather than hardcoding face 0.

Fixes crash loading a map in sauerbraten with

hwmipmap 1

in ~/.sauerbraten/config.cfg.
/external/mesa3d/src/mesa/main/mipmap.c
32aa40eee46fd0b15f3873069f2440ea2dd75408 02-Oct-2009 Brian Paul <brianp@vmware.com> mesa: removed gl_texture_image::CompressedSize field

Just call ctx->Driver.CompressedTextureSize() when we need to get
the compressed image size.
/external/mesa3d/src/mesa/main/mipmap.c
b6bdafdf2cf1110b4a5ca7cf9e1c3dcb124b800f 02-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove gl_texture_image::IsCompressed field

Use _mesa_is_format_compressed() instead.
/external/mesa3d/src/mesa/main/mipmap.c
167ffa9e035befd12143db909af424e5de8f64e4 01-Oct-2009 Brian Paul <brianp@vmware.com> mesa: fix memory leak when generating mipmaps for compressed textures
/external/mesa3d/src/mesa/main/mipmap.c
3fa7dbf368bb060220e9f78e666b00d6827166a6 01-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead

Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
/external/mesa3d/src/mesa/main/mipmap.c
1f7c914ad0beea8a29c1a171c7cd1a12f2efe0fa 01-Oct-2009 Brian Paul <brianp@vmware.com> mesa: replace gl_texture_format with gl_format

Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum.
ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x.
gl_texture_format will go away next.
/external/mesa3d/src/mesa/main/mipmap.c
0a306daf71588fc4ccfdc14450f8cd4ce00f9833 29-Sep-2009 Brian Paul <brianp@vmware.com> mesa: use _mesa_texstore()
/external/mesa3d/src/mesa/main/mipmap.c
729ff875f4c951798d2372940608201a6b195ca6 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: change _mesa_format_to_type_and_comps() format parameter type
/external/mesa3d/src/mesa/main/mipmap.c
db8aca3a398e16f7dc23d3321787274d07d13138 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: use _mesa_get_format_bytes()
/external/mesa3d/src/mesa/main/mipmap.c
f76cbac04abf26617bd65b50e923db8728a4f33f 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: use _mesa_get_texstore_func()
/external/mesa3d/src/mesa/main/mipmap.c
a04af335a42ce3b28e59ff9b85b2bd433a9d7b12 24-Jun-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

src/mesa/drivers/dri/i915/i915_tex_layout.c
src/mesa/drivers/dri/i965/brw_wm_glsl.c
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
src/mesa/drivers/dri/intel/intel_pixel_draw.c
src/mesa/main/enums.c
src/mesa/main/texstate.c
src/mesa/vbo/vbo_exec_array.c
a120778c72324bc56c63cd0f1873c6f2772228ea 19-Jun-2009 Michel Dänzer <daenzer@vmware.com> Always free image offsets memory when re-initializing texture image fields.

Fixes leak running compiz with direct rendering.
/external/mesa3d/src/mesa/main/mipmap.c
edfbf7dccb1d90ebedfa08fe06e1db7fff9f94d4 18-May-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_5_branch'

Conflicts:

Makefile
src/mesa/main/version.h
adabd0e81e287cd5dac60fa63841d8b096d10d5f 18-May-2009 Brian Paul <brianp@vmware.com> mesa: comments for _mesa_generate_mipmap_level()
/external/mesa3d/src/mesa/main/mipmap.c
7c3d7353d7b46f5ce2b411f08f9e4c158f1610e0 11-May-2009 Brian Paul <brianp@vmware.com> mesa: updated comments for _mesa_generate_mipmap()
/external/mesa3d/src/mesa/main/mipmap.c
4d89eff0b6fd6902a2fccb87c474d6a8f6d61526 31-Mar-2009 Roland Scheidegger <sroland@vmware.com> fix ugly copy/paste error in mipmap generation code
/external/mesa3d/src/mesa/main/mipmap.c
c6a6cc191813e8343a17b028146a34f193a6ce44 27-Mar-2009 Roland Scheidegger <sroland@vmware.com> mesa: add new signed rgba texture format

This is a (partial) backport of the signed texture format support in OGL 3.1.
Since it wasn't promoted from an existing extension roll our own.
/external/mesa3d/src/mesa/main/mipmap.c
1eee1bac1f6d911e6124daafc9b9291666d91cef 17-Mar-2009 Vinson Lee <vlee@vmware.com> mesa: update/fix doxygen comments
/external/mesa3d/src/mesa/main/mipmap.c
114152e068ec919feb0a57a1259c2ada970b9f02 12-Mar-2009 Roland Scheidegger <sroland@vmware.com> mesa: add support for ATI_envmap_bumpmap

add new entrypoints, new texture format, etc
translate in texenvprogram.c for drivers using the mesa-generated tex env
fragment program
also handled in swrast, but not tested (cannot work due to negative texel
results not handled correctly)
/external/mesa3d/src/mesa/main/mipmap.c
f1f022dbb103947b0edf5ae984fcff00f6a8e539 06-Jan-2009 Xiang, Haihao <haihao.xiang@intel.com> mesa: Fix the size per pixel for packed pixel format data type.
/external/mesa3d/src/mesa/main/mipmap.c
f83f5ec8f5f1159cfd0ec2596ceab725c073266e 19-Dec-2008 Ian Romanick <ian.d.romanick@intel.com> Add do_row_3d for mipmapping 3D textures

Previously 3D textures were mipmapped using multiple passed through
the 2D mipmap generation code. This had 3 disadvantages. First, the
extra passes were slow. Second, this required the allocation of a
temporary buffer to hold intermediate data. Third, and most
important, the extra passes caused loss of additional bits due to
integer division / bit-shifting.

With this change, our mipmapgen conformance test passes for
non-compressed texture formats.
/external/mesa3d/src/mesa/main/mipmap.c
a330933bb75c38148668637cd22b90d75d39506f 19-Dec-2008 Ian Romanick <ian.d.romanick@intel.com> Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV
/external/mesa3d/src/mesa/main/mipmap.c
452a592ca4b1bac78eee53fb9f2f1deac7832840 31-May-2008 José Fonseca <jrfonseca@tungstengraphics.com> mesa: Apply MSVC portability fixes from Alan Hourihane.
/external/mesa3d/src/mesa/main/mipmap.c
74c64fa748c833a9688d3a141a7807686701e24f 11-Feb-2008 Brian <brian.paul@tungstengraphics.com> code refactoring, new next_mipmap_level_size() function
(cherry picked from commit c22d9152e33792ea58426c53bc9b96bf552b0b44)
/external/mesa3d/src/mesa/main/mipmap.c
abb465cdc71da566d431f44feeec31594e01086f 09-Feb-2008 Brian <brian.paul@tungstengraphics.com> refactor code, export _mesa_generate_mipmap_level()
/external/mesa3d/src/mesa/main/mipmap.c
12dc9c99b9f15eb9e0c4f7cd493d776f6d4162ed 09-Feb-2008 Brian <brian.paul@tungstengraphics.com> move _mesa_format_to_type_and_comps() to texformat.c
(cherry picked from commit 42eac65da45fb58bffdf94ab8f9860d8cee5b256)
/external/mesa3d/src/mesa/main/mipmap.c
b08200237968e3129d0cb35e03b2a5514b1dcb53 22-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: pull in mipmap.c changes from gallium-0.2
/external/mesa3d/src/mesa/main/mipmap.c
d4e1d85dba8ec4a37f68a284b5a2be15b4f2987a 08-Feb-2008 Brian <brian.paul@tungstengraphics.com> Remove unused texunit parameter to ctx->Driver.GenerateMipmap()
(cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7)
/external/mesa3d/src/mesa/main/mipmap.c
101abee6c4fc2c9284ff2ba6f9f9138327d6963d 19-Dec-2007 Eric Anholt <eric@anholt.net> [intel] Fix and reenable (software) SGIS_generate_mipmap

The core problem was that _mesa_generate_mipmap was not respecting RowStride
of the source image. Additionally, the intel private data associated with the
images (level and face) was not being initialized for the
_mesa_generate_mipmap-generated images.
/external/mesa3d/src/mesa/main/mipmap.c
53cf87be1b93c760228e6a9af8115d2a9ff99337 18-Aug-2007 Brian <brian.paul@tungstengraphics.com> some fixes for compressed cube maps (bug 11986)
/external/mesa3d/src/mesa/main/mipmap.c
b5bbe055e4eab8ba83ca3f1ce17aaee01a506c95 17-May-2007 Brian <brian@yutani.localnet.net> make srcPtr param to make_1d_stack_mipmap() const
/external/mesa3d/src/mesa/main/mipmap.c
bb372f1c9bc08e8b0dca983cb4ba36b2f2f039fb 17-May-2007 Ian Romanick <idr@us.ibm.com> Initial implementation of MESA_texture_array

Shadow sampling from texture arrays is still not implemented. Everything
else should be there, though.
/external/mesa3d/src/mesa/main/mipmap.c
d0b5c77c68f45f9da5421248a064ece831923b0c 05-Feb-2007 Panagiotis Papadakos <papadako@csd.uoc.gr> fix mem leak
/external/mesa3d/src/mesa/main/mipmap.c
faba58c447c9eeeea0f7ef405fa1ba1f73991375 01-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> update _mesa_select_tex_image() and _mesa_get_tex_image()
/external/mesa3d/src/mesa/main/mipmap.c
24edd9015951dd41898902b6c3973fe605e5871a 29-Sep-2006 Brian Paul <brian.paul@tungstengraphics.com> Move mipmap generation functions, texture scaling functions into new
mipmap.c file.
/external/mesa3d/src/mesa/main/mipmap.c