History log of /external/mesa3d/src/mesa/main/texstore.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
19a15cd5ba320b71295c4afbe73c5d656f829ad8 02-Oct-2012 Brian Paul <brianp@vmware.com> mesa: remove bogus compressed texture size checks

A compressed texture image size doesn't have to be a multiple of the
compressed block size (only sub-images do). Fixes issues when building
compressed mipmaps because we often wind up with non-block-size images
for the higher mipmap levels.

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

Note: This is a candidate for the stable branches.

Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Sven Arvidsson <sa@whiz.se>
(cherry picked from commit df4a88ac4398ec4c152eb57a7129c07bb623edd7)
/external/mesa3d/src/mesa/main/texstore.c
b3dd048cbb310b2c3ea40f09f9d89944851b2048 25-Jun-2012 Jordan Justen <jordan.l.justen@intel.com> mesa texstore: handle signed/unsigned integer clamping

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
5606bd574e264c4beda8eb1d10b48d17e9b8b497 12-Jun-2012 Pauli Nieminen <pauli.nieminen@linux.intel.com> mesa: Remove unnecessary parameters CompressedTexImage

In tune with previous patches. Again there is duplication of information
in function parameters that is good to remove.

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/texstore.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/texstore.c
c5af8891805fc4f590c1371c098cdbc704c44e00 12-Jun-2012 Pauli Nieminen <pauli.nieminen@linux.intel.com> mesa: Remove unnecessary parameters from TexImage

gl_texture_image structure always holds size and internal format before
TexImage driver hook is called. Those passing same information in
function parameters only duplicates information making the interface
harder 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/texstore.c
749c9060aca85277c388377d15fd6323ba20b78e 09-Jun-2012 Jordan Justen <jordan.l.justen@intel.com> mesa formats: add MESA_FORMAT_ABGR2101010_UINT

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
ac14f569fef6a8d92c14cd02d51c09bab53c5e45 19-Jul-2012 Brian Paul <brianp@vmware.com> mesa: update texstore.c comment
/external/mesa3d/src/mesa/main/texstore.c
ec19bdd16c3d4070af69fd865042babe0a627595 06-Jun-2012 Brian Paul <brianp@vmware.com> mesa: consolidate internal glCompressedTexSubImage1/2/3D code

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texstore.c
e8fdd0e0d5286f4a9c763ffde44decec51124ebc 06-Jun-2012 Brian Paul <brianp@vmware.com> mesa: consolidate internal glCompressedTexImage1/2/3D code

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
8f5fffe75d2f8ae7c7ee706b53379a25bc673ae4 06-Jun-2012 Brian Paul <brianp@vmware.com> mesa: consolidate internal glTexImage1/2/3D code

The functions for handling 1D, 2D and 3D texture images were nearly
identical. This folds them all together.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texstore.c
2e09fe4b9c7fdc57a0c98b9df977625e23a0cf1c 20-Feb-2012 Brian Paul <brianp@vmware.com> mesa: stop using MAX_WIDTH in texstore code

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
0df14f9a55383641a9097900272a35ae1cfda4cb 18-Nov-2011 Brian Paul <brianp@vmware.com> mesa: add special case in texstore.c for GL_LUMINANCE_ALPHA src image

About a 10% improvement over the swizzle-copy path.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
6e9a1650e541bf7db15b7e8afaf90d7975b165fe 30-Jan-2012 Brian Paul <brianp@vmware.com> mesa: consolidate general ubyte texstore code

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texstore.c
4c7e44e8e6fd1f441a97016d8bcc67133149e15e 30-Jan-2012 Brian Paul <brianp@vmware.com> mesa: use _mesa_pack_ubyte_rgba_rect() in texstore code

Simplifies the general case code in the ubyte-valued texture format
functions. More consolidation to come in subsequent commits.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texstore.c
07ff5adc323dc0ea038094d6f78ee0db18521a7d 27-Jan-2012 Brian Paul <brianp@vmware.com> mesa: more use of _mesa_format_matches_format_and_type() in texstore code

For rgb9_e5, r11_g11_b10f, argb2101010_uint functions.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texstore.c
6f55ef3740420924930eb0fc06f7c4979ce0b6dd 27-Jan-2012 Brian Paul <brianp@vmware.com> mesa: more use of _mesa_format_matches_format_and_type() in texstore code

For rgb332, signed rgba8888, signed rgba888_rev functions.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texstore.c
453d4b40bc1dfd4fc1e48c25bda1d293f66597a1 27-Jan-2012 Brian Paul <brianp@vmware.com> mesa: more use of _mesa_format_matches_format_and_type() in texstore code

For rgba5551, argb1555, argb2101010 formats.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texstore.c
f6af4c511fd3d2750c5279d0d93492bb4e92aac9 27-Jan-2012 Brian Paul <brianp@vmware.com> mesa: more use of _mesa_format_matches_format_and_type() in texstore code

For rgb565, argb8888, rgb888, argb4444 functions.
/external/mesa3d/src/mesa/main/texstore.c
b27792335e284bcddcbcfa807e5152feff330f58 27-Jan-2012 Brian Paul <brianp@vmware.com> mesa: use _mesa_format_matches_format_and_type() in texstore code

This simplifies the code quite a bit, consolidates some cases and
possibly catches more cases for the memcpy path.

More such changes will follow. Do just a few at a time to help bisect
any possible regressions.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texstore.c
5f65598cc79eccd38bf7f95ab167ed62e575daf2 24-Jan-2012 Eric Anholt <eric@anholt.net> mesa: Don't round-trip integer texture data through a floating point temp.

This was losing bits of precision. Fixes (with the previous commits):
piglit EXT_texture_integer/getteximage-clamping
piglit EXT_texture_integer/getteximage-clamping GL_ARB_texture_rg
oglc advanced.mipmap.upload

Regresses oglc negative.typeFormatMismatch.teximage from fail to
abort, because it's been hitting texstore for a format/type combo that
shouldn't happen.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
64fdfefb9d1136c5f98f3e3b2ba716c224a4d792 17-Jan-2012 Brian Paul <brianp@vmware.com> mesa: use GL_MAP_INVALIDATE_RANGE_BIT in glTexImage paths

Update the dd.h docs to indicate that GL_MAP_INVALIDATE_RANGE_BIT
can be used with GL_MAP_WRITE_BIT when mapping renderbuffers and
texture images.

Pass the flag when mapping texture images for glTexImage, glTexSubImage,
etc. It's up to drivers whether to actually make use of the flag.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texstore.c
a240c998ac649d79f423bb0c445993132cd56f97 12-Jan-2012 Brian Paul <brianp@vmware.com> mesa: fix incorrect float vs. int values in a few places

In the first case, the newImage[] array contains GLuint values.
In the second case, the parameter type is GLuint, but the maxDepth
value is never used in this case (GL_FLOAT_32_UNSIGNED_INT_24_8_REV).
Pass ~OU just to be safe.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
44c089bd485a00462aeac361736035dc56895441 05-Jan-2012 Vinson Lee <vlee@freedesktop.org> mesa: Remove 'texelBytes' declarations that are only used in assertions.

This patch silences these GCC warnings.
warning: unused variable 'texelBytes'

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
d69d287068e0a6b5e2f3c13b1f55335a9b6ce03b 02-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove the dstX/Y/Zoffset params to _mesa_texstore() functions

The were always zero. When doing a sub-texture replacement we account
for the dstX/Y/Zoffsets when we map the texture image. So no need to
pass them into the texstore code anymore.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texstore.c
94a0c518dc90a24cb4c44ce0a5e6abeba57cbb08 30-Dec-2011 Brian Paul <brianp@vmware.com> mesa: simplify Driver.CompressedTex[Sub]Image function parameters

As with previous commits, the target, level and texObj info can be
obtained through the texImage pointer.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texstore.c
92c64624cd7533cde466dbec8722f7f72f275fd8 30-Dec-2011 Brian Paul <brianp@vmware.com> mesa: simplify Driver.TexImage() parameters

As with TexSubImage(), the target, level and texObj values can be obtained
through the texImage pointer.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
5c818c6277247468ccf69abda00f5bc220b59644 24-Dec-2011 Brian Paul <brianp@vmware.com> mesa: consolidate texstore functions

The code for storing 1D, 2D and 3D tex images (whole or sub-images) was
all pretty similar. This consolidates those six paths.

v2: rework switch statement to catch unexpected targets

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
afebe13986e1ab69c8f80e957653b35aaee2269b 24-Dec-2011 Brian Paul <brianp@vmware.com> mesa: fix _mesa_store_texsubimage2d() for GL_TEXTURE_1D_ARRAY

For 1D arrays, map each slice separately. Note that this was handled
correctly in _mesa_store_teximage2d() but not here.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
f767e96131ba69cf61aa9f848d5f24e4396ac920 04-Dec-2011 Dave Airlie <airlied@redhat.com> mesa: add missing RG_INTEGER and some RED_INTEGER_EXT checks.

This just adds the correct checks and asserts in the right places. This doesn't
fix all the tests that I've sent to piglit, need to add int paths to go alongside the uint paths that don't go via float to fix it up properly.

I'm not sure how much of that could be templated/shared will have a look
once I write it the long way.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texstore.c
5acb291f319a0b32d9701b3e6c8624175f1a80e7 03-Dec-2011 Brian Paul <brianp@vmware.com> mesa: remove TextureMemCpy driver hook

There's probably no reason to use a special version of memcpy() anymore.
/external/mesa3d/src/mesa/main/texstore.c
079bb3fff7104782f2c921200e9a299c38a53ab6 01-Dec-2011 Eric Anholt <eric@anholt.net> mesa: Fix assertions for block size handling in glCompressedTexSubImage2D.

Anything of less than (bw, bh) size is possible when you consider
rectangular textures, and this code is (now) safe for those. Even for
power-of-two textures, width could be 4 for FXT1 while not being
aligned to block size.

Fixes piglit compressedteximage GL_COMPRESSED_RGB_FXT1_3DFX

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
1e0b6a90d78ed78eb9e22c65abd5af314142a844 01-Dec-2011 Eric Anholt <eric@anholt.net> mesa: Fix glCompressedTexSubImage (and non-Sub) for height == 2 or 1.

Generally this code works with width and height aligned to compressed
blocks, but at the 2x2 and 1x1 levels of a square texture (or height <
bh in general), we were skipping uploading our single row of blocks.

Fixes piglit compressedteximage GL_COMPRESSED_RGBA_S3TC_DXT5_EXT.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
bda361e0d47a670f318664abcdf0a065bef22883 30-Nov-2011 Eric Anholt <eric@anholt.net> mesa: Fix glCompressedTexImage when dstRowStride != srcRowStride.

Since the MapTextureImage changes on Intel, nwn had corruption in the
scrollbar at the load game menu, and corrupted ground textures in the
starting zone. Heroes of Newerth's intro screen was also thoroughly
garbled. A new piglit test "compressedteximage" was created to
regression test this.

The issue was this code now seeing dstRowStride aligned to hardware
requirements instead of a temporary buffer that gets uploaded to
hardware later. The existing code was just trying to memcpy
srcRowStride * height / bh, while the glCompressedTexSubImage2D()
storage code nearby did the correct walking by blockheight rows at a
time. Just reuse the subimage upload instead of duplicating that
logic.

v2: Update comment at the top of the function (suggestion by Joel
Forsberg)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41451
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
/external/mesa3d/src/mesa/main/texstore.c
06913497d6b17f454bf4c5b8601d391980eb8265 01-Dec-2011 Brian Paul <brianp@vmware.com> mesa: fix some minor texstore comments

For the texsubimage commands, we're not mapping the whole image/region.
/external/mesa3d/src/mesa/main/texstore.c
b4aecc4e1861e60e40e14868719219084967e46d 01-Dec-2011 Brian Paul <brianp@vmware.com> mesa: rename MESA_FORMAT_RG88_REV to MESA_FORMAT_RG88

R is in the high byte, G in the low byte.
/external/mesa3d/src/mesa/main/texstore.c
0a3c895f341ae458b09dcdc9cbd674600366a925 01-Dec-2011 Brian Paul <brianp@vmware.com> mesa: rename MESA_FORMAT_RG88 to MESA_FORMAT_GR88

To better reflect the component ordering and be consistent with other
format names.
/external/mesa3d/src/mesa/main/texstore.c
d4a38e86d4b4d66cca20ee63222f940cb73fa709 28-Nov-2011 Chia-I Wu <olv@lunarg.com> mesa: add support for GL_OES_compressed_ETC1_RGB8_texture

Add support for GL_OES_compressed_ETC1_RGB8_texture to core mesa. There is no
driver support yet.

Unlike desktop GL compressed texture formats, GLES compressed texture formats
usually can only be used with glCompressedTexImage2D. All other gl*Tex*Image*
functions are updated to check for that.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
ae70caf7eb708351ee93b35926142e503be79d39 29-Nov-2011 Brian Paul <brianp@vmware.com> mesa: update texstore comments for R/G textures
/external/mesa3d/src/mesa/main/texstore.c
1ad88fb42dcd69c678ca849151a9aae77d946584 26-Nov-2011 Brian Paul <brianp@vmware.com> mesa: handle MapTextureImage() failures in glTexImage code

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texstore.c
f449be660e70aac2aefd2ce84581e137de25520b 27-Nov-2011 Dave Airlie <airlied@redhat.com> mesa/format: add mesa MESA_FORMAT_ARGB2101010_UINT support.

This format is used in the ARB_texture_rgb10_a2ui spec.

It adds core mesa support, texformat + texstore support, format_unpack
and fbobject.c (all patches from list merged + fixed up).

also fixes some whitespace issues.

Parts were:
Reviewed-by: Eric Anholt <eric@anholt.net>

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texstore.c
d4fcf67a3ac78c29448000486dadc2b4b1b2a56d 22-Nov-2011 Chia-I Wu <olv@lunarg.com> mesa: add MESA_FORMAT_RGBX8888 and MESA_FORMAT_RGBX8888_REV

MESA_FORMAT_RGBX8888_REV is one of the opaque pixel formats used on Android.
Thanks to texture-from-pixmap, drivers may actually see texture images with
this format on Android.

MESA_FORMAT_RGBX8888 is added only for completeness.

Reviewed-by: Brian Paul <brianp@vmware.com>

[olv: Move the new formats after MESA_FORMAT_ARGB8888_REV in gl_format. I
accidentally moved them to the wrong place when preparing the patch.]
/external/mesa3d/src/mesa/main/texstore.c
755f0a0a02c5cf3be7e69ad51b411711fcc0bc27 17-Nov-2011 Eric Anholt <eric@anholt.net> mesa: Make formats.c "datatype" values match glGetTexLevelParameter return.

The formats.c code's "datatype" value is "what does this value mean",
i.e. unorm or snorm or float, and is the return value from the
GL_TEXTURE_RED_TYPE class of queries. The depth formats were marked
as GL_UNSIGNED_INT, which is what we use for integer, and not what we
should be returning from the glGetTexLevelParameter.

In texstore, we were inappropriately using it as an argument to
_mesa_unpack_depth_span() that was expecting a value like
GL_UNSIGNED_INT or GL_UNSIGNED_SHORT. Just hardcode
_mesa_unpack_depth_span()'s arguments for now, though it looks like
the consumers of that interface would be happier with using
MESA_FORMAT.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
b31104e318ec1a49447d3f301bcfe46b22d508db 25-Oct-2011 Eric Anholt <eric@anholt.net> mesa: Skip texstore for 0-sized texture data.

The intel driver (and gallium, it looks like, though it doesn't use
these texstore functions at this point) doesn't bother making storage
for textures with 0 width, height, or depth. This avoids them having
to deal with returning a mapping for that nonexistent data.

Fixes assertion failures with an upcoming intel driver change.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
6e0f9001fe3fb191c2928bd09aa9e9d05ddf4ea9 23-Oct-2011 Brian Paul <brianp@vmware.com> mesa: move gl_texture_image::Data, RowStride, ImageOffsets to swrast

Only swrast and the drivers that fall back to swrast need these fields now.
This removes the last of the fields related to software rendering from
gl_texture_image.
/external/mesa3d/src/mesa/main/texstore.c
5253cf98057dad54e25b4b8c36f8cf24f559314c 05-Oct-2011 Brian Paul <brianp@vmware.com> mesa: get rid of imageOffsets arrays in texstore code

These were used to find the start of a 3D image slice (or 2D array texture
slice) given a base address. Instead, use a simple array of address of
image slices instead.

This is a step toward getting rid of the gl_texture_image::ImageOffsets
field.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texstore.c
38db7ae7fa3b5c05244ebcc5c04228e6aa794262 01-Oct-2011 Dave Airlie <airlied@redhat.com> mesa/texstore: add texstore paths for all the integer types.

This just adds the entries to the table and fixes the asserts up.

The int32 one is definitely wrong, since it uses a float temp
which will lose precision, but its no worse than now.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texstore.c
6e1681a2c90690b05bf55c5831ab5f83cb487876 05-Oct-2011 Dave Airlie <airlied@redhat.com> texstore: create texstore table on first access.

As per Brian's suggestion we can generate this table at first start
to make sure its correct. This is a sad workaround for compilers which
don't support named initialiser. (its 2011).

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texstore.c
6a04fa9cd4982f056588e11263345e1561197261 04-Oct-2011 Brian Paul <brianp@vmware.com> mesa: fix warning (MSVC error) about void pointer arithmetic
/external/mesa3d/src/mesa/main/texstore.c
229ebf511dcd9b501d9299cfc06d029d1d50079d 28-Sep-2011 Eric Anholt <eric@anholt.net> mesa: When storing texture data for a 1D array, map each slice separately.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
e1d703bec58be011636f73470e2b8a41b1363dc7 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: convert _mesa_unpack_color_span_chan() to ubyte
/external/mesa3d/src/mesa/main/texstore.c
663f61a3e177a443c36f414a16a9d5f94e74135d 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: s/_mesa_make_temp_chan_image()/_mesa_make_temp_ubyte_image()

Another step toward eliminating the GLchan type.
/external/mesa3d/src/mesa/main/texstore.c
78026b8acef9d6eea4f37d9c5435447944d1befd 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: use ctx->Driver.AllocTextureImageBuffer() to alloc texture memory
/external/mesa3d/src/mesa/main/texstore.c
559241d48c01ad36e1ea18e6c44aa5bc587d3002 29-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove GL_COLOR_INDEX from base format assertions

_mesa_make_temp_float_image can't work on color-index textures, but
there is no such thing as a color-index texture anymore.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texstore.c
55d232a81566cf7ab8855c42e2ef1a280276a04c 26-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove all mention of MESA_FORMAT_CI8

Nothing in Mesa supports color-index textures, and most of the other
infrastructure that could allow such support has already been removed.
This puts the final nail in the coffin.

Also clean out some GL_COLOR_INDEX comments in formats.c.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texstore.c
81430ab54f57590c99883eadf622d2ecfae19c49 30-Jul-2011 Brian Paul <brianp@vmware.com> mesa: Convert texstore.c to accessing textures using MapTextureImage.

This continues to allocate texImage->Data as before, so
drivers calling these functions need to use that when present.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
1da28fa959e80610ebc9b7a28bfb83e3cad3aee4 20-Jul-2011 Brian Paul <brianp@vmware.com> mesa: remove comments referring to Driver.TexImage1D/2D
/external/mesa3d/src/mesa/main/texstore.c
b2f087cd87ab9b1651d221b5c7d7e543a4585d68 21-Jun-2011 Marek Olšák <maraeo@gmail.com> mesa: implement texstore for DEPTH32F_STENCIL8

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texstore.c
bc878c7f8bfdabb40a4f784984c13b94656569ed 21-Jun-2011 Marek Olšák <maraeo@gmail.com> mesa: implement texstore for DEPTH_COMPONENT32F

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texstore.c
1165280cbd37dee1e499358633478ab869de21df 01-Jun-2011 Marek Olšák <maraeo@gmail.com> mesa: initial ARB_depth_buffer_float support

Using GL_NONE as DataType of Z32_FLOAT_X24S8, not sure what I should put there.
The spec says the type is n/a.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texstore.c
b786db06540472beda9cedd18937d6e12855b3eb 06-Jul-2011 Brian Paul <brianp@vmware.com> mesa: fix texstore addressing bugs for depth/stencil formats

Using GLuint pointers worked when the pixel size was four bytes
or the row stride was a multiple of four but was otherwise broken.
Fixes failures found with the piglit fbo-stencil test.

This helps to fix https://bugs.freedesktop.org/show_bug.cgi?id=38729

NOTE: This is a candidate for the 7.11 branch.
/external/mesa3d/src/mesa/main/texstore.c
e41a91cea764cc1ba95906251cd907d837225293 21-Jun-2011 Marek Olšák <maraeo@gmail.com> mesa: fix texstore of DEPTH24_STENCIL8 if srcFormat is STENCIL_INDEX

NOTE: This is a candidate for the 7.10 branch.
/external/mesa3d/src/mesa/main/texstore.c
aeac658e25bd0d939b503000676a4b3c3114bf41 28-Apr-2011 Marek Olšák <maraeo@gmail.com> mesa: remove unused variable bytesPerRow
/external/mesa3d/src/mesa/main/texstore.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/texstore.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/texstore.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/texstore.c
4dfbb81891dd12b093308b91899d1d8fb084bf6d 25-Apr-2011 Nicolas Kaiser <nikai@nikai.net> main: remove duplicated includes

Remove duplicated includes of guarded headers.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
9e59ed59c17daeb4e77f9455ac8794307cc1cae2 22-Apr-2011 Marek Olšák <maraeo@gmail.com> mesa: add stricter checks for float formats in the texstore memcpy path

E.g. when the internal format was RGBA16F and the source was RG, it would use
memcpy.
/external/mesa3d/src/mesa/main/texstore.c
0ecbb0ab7472fe5cb33be13a8307e16f875254e5 16-Feb-2011 Marek Olšák <maraeo@gmail.com> mesa: add R/RG floating-point formats
/external/mesa3d/src/mesa/main/texstore.c
e338a1b0cea94f8c57968b01eebd795c6c8ce74e 10-Apr-2011 Hans de Goede <hdegoede@redhat.com> texstore: fix regression stricter check for memcpy path for unorm88 and unorm1616

According to https://bugs.freedesktop.org/show_bug.cgi?id=34280
commit 5d1387b2da3626326410804026f8b92f1a121fdc causes the font corruption
problems people have been seeing under various apps and gnome-shell on r200
cards.

This commit changed (loosened) the check for using the memcpy path in the
former al88 / al1616 texstore functions, which are now also used to
store rg texures. This patch restores the old strict check in case of
al textures. I've no idea why this fixes things, since I don't know the
code in question at all. But after seeing the bisect in bfdo34280 point
to this commit, I gave this fix a try and it fixes the font issues seen on
r200 cards.

[airlied:
r200 has no native working A8, so it does an internal storage format of AL88
however srcFormat == internalFormat == ALPHA when we get to this point,
so it copies, but it wants to store into an AL88 not ALPHA so fails,
I'll also push a piglit test for this on r200].

Many thanks to Nicolas Kaiser who did all the hard work of tracking this down!

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texstore.c
8778bf221e90e9b59caad02ab72a0a0edcfe2451 05-Apr-2011 Brian Paul <brianp@vmware.com> mesa: fix alpha value for texstore_rgbx8888

Silences constant overflow compiler warning.
/external/mesa3d/src/mesa/main/texstore.c
daa5242f9eafaf61f9f492f1e798de8701e6f498 13-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: implement texstore and texfetch hooks for signed normalized formats

The snorm texstore functions were all broken.

swrast support done except for mipmap generation, but I leave it disabled.
/external/mesa3d/src/mesa/main/texstore.c
bb0910bfa6dcdbf6fd9b58ebc21a14e40e066633 14-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: rename _mesa_texstore_a8 -> _mesa_texstore_unorm8

It's a generic function capable of storing A8, L8, I8, R8.
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
b70610b9823fc7dc3672735c11be1a75fbb1a2a4 01-Mar-2011 Brian Paul <brianp@vmware.com> mesa: move PBO-related functions into a new file
/external/mesa3d/src/mesa/main/texstore.c
8d47c919859e9cd90cfc04eb220ac8a5aa87048e 22-Feb-2011 Dave Airlie <airlied@redhat.com> mesa: Add RGTC texture store/fetch support.

This adds support for the RGTC unsigned and signed
texture storage and fetch methods.

the code is a port of the DXT5 alpha compression code.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texstore.c
e792e79f5ae6be008d9521eccf1c647492cd682a 25-Feb-2011 Dave Airlie <airlied@redhat.com> mesa: make_float_temp_image non-static

We need this to do signed stuff for RGTC.
/external/mesa3d/src/mesa/main/texstore.c
db61b9ce39bccc43140357652ceb78baaf2aea44 07-Jan-2011 Vinson Lee <vlee@vmware.com> mesa: Directly include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
50630f9016bdf0ea33ae1007c5a523cdcde3e3c9 22-Dec-2010 Marek Olšák <maraeo@gmail.com> mesa: preserve 10 bits of precision in the texstore general path for ARGB2101010

Use make_temp_float_image instead of _make_temp_chan_image.
The latter converts the texture to 8 bits/component, losing 2 bits.
/external/mesa3d/src/mesa/main/texstore.c
fd8aa7ac71699facf9839e2ae56b5e37579c6bcc 22-Dec-2010 Marek Olšák <maraeo@gmail.com> mesa: implement new texture format I16
/external/mesa3d/src/mesa/main/texstore.c
bb5ace68ce9e8bd171a39162ed6bd93632bd6619 22-Dec-2010 Marek Olšák <maraeo@gmail.com> mesa: implement new texture format L16
/external/mesa3d/src/mesa/main/texstore.c
eb31837a0d4fa4fe115bb288ddb37cbedea954ae 22-Dec-2010 Marek Olšák <maraeo@gmail.com> mesa: implement new texture format A16
/external/mesa3d/src/mesa/main/texstore.c
bae9d511f343c7bd5eb66d1d1d18d32b47e738e3 21-Dec-2010 Marek Olšák <maraeo@gmail.com> mesa: implement new texture format AL44

Radeon GPUs can do this. R600 can even do render-to-texture.
Packing and extracting aren't implemented, but we shouldn't hit them (I think).
Tested with swrast, softpipe, and r300g.
/external/mesa3d/src/mesa/main/texstore.c
621e5254ef6714520f106bd3707fe6ddc279aa0c 21-Dec-2010 Marek Olšák <maraeo@gmail.com> mesa: implement new texture format ARGB2101010

Radeon GPUs do support GL_RGB10_A2.
/external/mesa3d/src/mesa/main/texstore.c
78527154bd8693c0956ff78c369222d37c5668e7 16-Nov-2010 Brian Paul <brianp@vmware.com> mesa: fix error messages and minor reindenting
/external/mesa3d/src/mesa/main/texstore.c
dd28b4c1fc56106e5ac2f13767f41b9f721dbb36 08-Nov-2010 Brian Paul <brianp@vmware.com> mesa: implement uint texstore code

We used float temporary images before which could lose precision for
uint-valued texture images.
/external/mesa3d/src/mesa/main/texstore.c
bdba4608dff7fc1666e97476c2f94f9343d9eecd 29-Oct-2010 Brian Paul <brianp@vmware.com> mesa: pixel transfer ops do not apply to integer-valued textures
/external/mesa3d/src/mesa/main/texstore.c
9fc7fa0a4cbe9dc8faa124744f623491fa754bd7 29-Oct-2010 Brian Paul <brianp@vmware.com> mesa: fix incorrect type in _mesa_texstore_rgba_int16()
/external/mesa3d/src/mesa/main/texstore.c
1c131752c3e07ef91f49d4970dafca6d26585334 23-Oct-2010 Brian Paul <brianp@vmware.com> mesa: split up the image.c file

New files:
pack.c - image/row packing/unpacking functions
pixeltransfer.c - pixel scale/bias/lookup functions
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
39de9251c4770fdcce3395643003aa626178446d 13-Oct-2010 Brian Paul <brianp@vmware.com> mesa: reformatting, comments, code movement
/external/mesa3d/src/mesa/main/texstore.c
1ca5f7cc31df3d5c80fcea855e536eb2a8245f9e 13-Oct-2010 Brian Paul <brianp@vmware.com> mesa: remove assertion w/ undeclared variable texelBytes
/external/mesa3d/src/mesa/main/texstore.c
c79e681a68a1ef73cdb756f7b46b2a1df1bcc710 06-Oct-2010 Dave Airlie <airlied@redhat.com> mesa: improve texstore for 8/24 formats and add texstore for S8.

this improves mesa texstore for 8/24 so it can create S24X8/X24S8 variants
by keeping the depth bits static.

it also adds a texstore for S8 so we can write out an S8 texture to use
in the sampler for accel draw pixels to save memory bw.

The logic seems sound here, I've worked it out a few times on paper, though
it would be good to have some review.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/texstore.c
5d1387b2da3626326410804026f8b92f1a121fdc 29-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formats
/external/mesa3d/src/mesa/main/texstore.c
a62efdf82c20747feb11dfd7756f0579aa914b57 10-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Remove EXT_convolution.

More optional code.
/external/mesa3d/src/mesa/main/texstore.c
1a537b639ee7f2d35230c68ba89491711919656d 30-Jul-2010 Vinson Lee <vlee@vmware.com> mesa: Remove unnecessary headers.
/external/mesa3d/src/mesa/main/texstore.c
abd5627a6a034885b0b01b995c73870da1361bb0 06-Jul-2010 Brian Paul <brianp@vmware.com> mesa: initial support for unnormalized integer texture formats

As defined by GL_EXT_texture_integer.
/external/mesa3d/src/mesa/main/texstore.c
17e96718946486ef77927fcf3bb299d8bff32b98 10-May-2010 Brian Paul <brianp@vmware.com> mesa: added unsigned 16-bit/channel tex format
/external/mesa3d/src/mesa/main/texstore.c
279056f8034f67ce7f17ccc1e5d96cd3c53a23f8 10-May-2010 Brian Paul <brianp@vmware.com> mesa: added texstore function for signed 16-bit formats
/external/mesa3d/src/mesa/main/texstore.c
84407d7365e101c36a83fd0a58c58b0c0c57db14 27-Apr-2010 Brian Paul <brianp@vmware.com> mesa: start adding GL 3.1 signed normalized texture formats
/external/mesa3d/src/mesa/main/texstore.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/texstore.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/texstore.c
e197de56cdb86835f1437688a9161cd909792d80 19-Feb-2010 Brian Paul <brianp@vmware.com> mesa: replace old MEMCPY macro with memcpy
/external/mesa3d/src/mesa/main/texstore.c
c7ac486261ad30ef654f6d0b1608da4e8483cd40 19-Feb-2010 Kenneth Graunke <kenneth@whitecape.org> Remove _mesa_memcpy in favor of plain memcpy.

This may break the SUNOS4 build, but it's no longer relevant.
/external/mesa3d/src/mesa/main/texstore.c
92098438784887fd6005918794476cfbbeac5035 12-Feb-2010 Karl Schultz <karl.w.schultz@gmail.com> main: Fix compiler warning. No need to convert/store depthScale as GLfloat just to convert it back to GLuint to call unpack_depth_span.
Also removes a difference between the 24/8 and 8/24 texstore routines.
/external/mesa3d/src/mesa/main/texstore.c
6b6ac9aca08603fb0e3f91bf53fd6d49a1701e2a 18-Jan-2010 Vinson Lee <vlee@vmware.com> mesa: Use preprocessor to comment out code.
/external/mesa3d/src/mesa/main/texstore.c
db352f58fab419c475b89418cd27b35f5f5d3822 02-Dec-2009 Eric Anholt <eric@anholt.net> mesa: Fix bad conversion in AL1616_REV texstore.
/external/mesa3d/src/mesa/main/texstore.c
70dca0c273d681d004b014dd8d4434be664cb202 18-Nov-2009 Ian Romanick <ian.d.romanick@intel.com> AL1616: Fix cut-and-paste bug

One of the PACK_COLOR_88 cases was left over from copying
_mesa_texstore_al88 to _mesa_texstore_al1616.
/external/mesa3d/src/mesa/main/texstore.c
2d0c2952566810ef1b277b49b064f4874a973112 17-Nov-2009 Michel Dänzer <daenzer@vmware.com> Add MESA_FORMAT_XRGB8888_REV.
/external/mesa3d/src/mesa/main/texstore.c
b1616b2a811b9a161d1ee2a8251e0efe32a8c192 16-Nov-2009 Ian Romanick <ian.d.romanick@intel.com> Move 'static' to start of declaration to silence compiler warning
/external/mesa3d/src/mesa/main/texstore.c
3325dc91be2534079ebf7997700b6e5f17a75283 16-Nov-2009 Ian Romanick <ian.d.romanick@intel.com> AL1616: Add TexImage storage path
/external/mesa3d/src/mesa/main/texstore.c
f920d496e1b5b01a3ba9bcd7dcff5c19bc109da2 30-Oct-2009 Brian Paul <brianp@vmware.com> mesa: fix _mesa_texstore_argb8888() for MESA_FORMAT_XRGB8888

If we hit the general path and call _mesa_make_temp_chan_image() we
always want to get a GL_RGBA texture. We were getting a 3-channel
GL_RGB texture before and that messed up the memory layout.
/external/mesa3d/src/mesa/main/texstore.c
c6164ff155189007c02aabb31549f5f4dc767d1b 29-Oct-2009 José Fonseca <jfonseca@vmware.com> mesa: Add MESA_FORMAT_Z24_X8.
/external/mesa3d/src/mesa/main/texstore.c
1f1bfe8cb5c74ee8708fb717a19d8389c9fadb80 29-Oct-2009 Brian Paul <brianp@vmware.com> mesa: move declaration to prevent unused var warning
/external/mesa3d/src/mesa/main/texstore.c
9927d7f31c5c46c7b061cf8e13324ac4a837c4b7 02-Oct-2009 Chia-I Wu <olvaffe@gmail.com> mesa: Fix compilation errors and warnings when features are disabled.

Some of the fixes are cherry-picked from opengl-es branch.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/mesa/main/texstore.c
920f023e8b3a5c2af0877530dc1707d2e50c5d4b 29-Oct-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Never return NULL in _mesa_get_texstore_func.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/mesa/main/texstore.c
c6bd5fae0c2af1256ad552d583d9659712807214 29-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove old, unused #define
/external/mesa3d/src/mesa/main/texstore.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
0ea575d721821262a862ceef010db9b1a8b4a6d9 29-Oct-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_6_branch'
96128fdf2f959e2b59eca8f234dc6f3adf7a553f 29-Oct-2009 Vinson Lee <vlee@vmware.com> mesa: Fix memory leak if we run out of memory

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texstore.c
11caea687e3f10ae12d33e44edf84635f73047dd 26-Oct-2009 Brian Paul <brianp@vmware.com> mesa: choose texture format in core mesa, not drivers

Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's
_mesa_[Copy]TexImage functions instead of in the driver functions.
One less thing for drivers to do.
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
82bcc1c5d27b825db7f002c3c183bd1dc7833438 26-Oct-2009 Brian Paul <brianp@vmware.com> mesa: simplify texture_row_stride() helper
/external/mesa3d/src/mesa/main/texstore.c
bea245ac2fecc312caec8f4af53174e4fb180103 24-Oct-2009 Brian Paul <brianp@vmware.com> mesa: minor clean-ups in _mesa_store_compressed_texsubimage2d()
/external/mesa3d/src/mesa/main/texstore.c
d255aaf54f9a4398247698408bd45698b1cefe58 24-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove hard-coded block sizes
/external/mesa3d/src/mesa/main/texstore.c
e4c700dbbf2a802f32bf62256c801105998c3729 22-Oct-2009 Brian Paul <brianp@vmware.com> mesa: added MESA_FORMAT_X8_Z24 format

24-bit Z in 32-bit pixel. We could probably use the MESA_FORMAT_S8_Z24
format but this there's a few places where we explicitly don't want stencil.
This format may go away at some point in the future.
/external/mesa3d/src/mesa/main/texstore.c
74d61d03b54d72217d463c248468cdcd09320efc 07-Oct-2009 Brian Paul <brianp@vmware.com> mesa: added MESA_FORMAT_XRGB8888
/external/mesa3d/src/mesa/main/texstore.c
c13b9a141d77845517bf7cab20cff6115c31e67d 07-Oct-2009 Brian Paul <brianp@vmware.com> mesa: added MESA_FORMAT_SIGNED_RGBA_16 for accum buffers
/external/mesa3d/src/mesa/main/texstore.c
90cd968300b8490f6efd75ef751fd3b6554f16d3 06-Oct-2009 Brian Paul <brianp@vmware.com> mesa: don't include texformat.h
/external/mesa3d/src/mesa/main/texstore.c
1a2bb37264b4448d33f2948fe1702c9dc936395d 06-Oct-2009 Brian Paul <brianp@vmware.com> mesa: lift _mesa_set_fetch_functions() calls out of drivers

Call it from in the main Mesa glTexImage functions.
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
8c92a531fb7e0d2de2a06610b2dff98eeb19c985 02-Oct-2009 Brian Paul <brianp@vmware.com> mesa: reformatting
/external/mesa3d/src/mesa/main/texstore.c
4ca9ba254462b9be55b78df1d50519e10b2f4d73 02-Oct-2009 Brian Paul <brianp@vmware.com> mesa: move mesa_set_fetch_functions()
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
60843e3ee59b00cee4ec1048823d1dd24756d849 01-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove MESA_FORMAT_RGBA4444

Not used by any hardware driver. ARGB4444 and ARGB4444_REV remain.
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
74ae14a2bde4f87a554c3d96e6f4a9a02591308d 01-Oct-2009 Brian Paul <brianp@vmware.com> mesa: move texel fetch/store into new texfetch.[ch] files
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
e2e7bd6c1f979179e6840cf0e8db72fc72751650 29-Sep-2009 Brian Paul <brianp@vmware.com> mesa: move StoreTexImageFunc typedef to .c file
/external/mesa3d/src/mesa/main/texstore.c
49263e08561e3380115f9e09056190f67fcb1890 29-Sep-2009 Brian Paul <brianp@vmware.com> mesa: make individual texstore functions static
/external/mesa3d/src/mesa/main/texstore.c
660ca9c5a23240abca084089a626d4a94ef0799f 29-Sep-2009 Brian Paul <brianp@vmware.com> mesa: new _mesa_texstore() function
/external/mesa3d/src/mesa/main/texstore.c
bd00a7fa4bb4bb71cd2eaf7ebb6749a709b5fdb9 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: sort texstore_funcs[] array, remove search loop
/external/mesa3d/src/mesa/main/texstore.c
e987ea9d2181acec2fc70538ffbb92d7ab15d918 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: use more mesa format functions
/external/mesa3d/src/mesa/main/texstore.c
da5722bea6e2f613933d3e3da214da8cd0047d2e 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: use new look-up table to get texel fetch/store funcs
/external/mesa3d/src/mesa/main/texstore.c
0f91e4461fb3a7410c948acde270d97caa851ed6 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: minor clean-up in _mesa_texstore_srgb8()
/external/mesa3d/src/mesa/main/texstore.c
722b76156486bbb03f8504e8f7a5db05b9257da5 28-Sep-2009 Brian Paul <brianp@vmware.com> mesa: use _mesa_get_texstore_func() to get texture image store func
/external/mesa3d/src/mesa/main/texstore.c
485105ed182e2e997b084f047e72d5a2c3460057 26-Sep-2009 Brian Paul <brianp@vmware.com> mesa: move _mesa_get_texstore_func() to texstore.c
/external/mesa3d/src/mesa/main/texstore.c
22108bb571808542b89677752d62d3901698265f 26-Sep-2009 Brian Paul <brianp@vmware.com> mesa: begin removing dependencies on gl_texture_format in texstore code
/external/mesa3d/src/mesa/main/texstore.c
5a1e25afac8eac5df1c0c9d3165b9812f54909a6 23-Sep-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Make FEATURE_convolve follow feature conventions.

As shown in mfeatures.h, this allows users of convolve.h to work without
knowing if the feature is available.
/external/mesa3d/src/mesa/main/texstore.c
21caa29fbd332a2ee05a58df91e1664fbbc4e61f 17-Sep-2009 Brian Paul <brianp@vmware.com> mesa: begin some texstore code refactoring

Next step will be to move the calls to ctx->Driver.ChooseTextureFormat()
into the teximage.c functions so drivers don't have to do it.
/external/mesa3d/src/mesa/main/texstore.c
2914f2b7fd9bd1082f8cce724d234208b900c3d4 16-Sep-2009 Brian Paul <brianp@vmware.com> mesa: move generate mipmap calls

Per the suggestion in the Intel driver, move the calls to
ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't
have to worry about it.
/external/mesa3d/src/mesa/main/texstore.c
434ec3ada841915a00ffc23f699401eb3e7b37ee 12-Aug-2009 Brian Paul <brianp@vmware.com> mesa: use _mesa_is_bufferobj()
/external/mesa3d/src/mesa/main/texstore.c
c6de08fff483911953692693c501bc200c235dce 11-Jun-2009 Jakob Bornecrantz <jakob@vmware.com> mesa: Enable uploads of only depth to z24s8 textures
/external/mesa3d/src/mesa/main/texstore.c
a4bec69e7271eda0137874973aa8c7d44175fedf 04-Apr-2009 Brian Paul <brianp@vmware.com> mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new file
/external/mesa3d/src/mesa/main/texstore.c
c7eb423c49ef3e0e071deaab04dad55254f2fa30 04-Apr-2009 Brian Paul <brianp@vmware.com> mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float()

It was only set to GL_TRUE in one place where it isn't really needed
(glGetTexImage(sRGB format)).
/external/mesa3d/src/mesa/main/texstore.c
35d88e1ac2cd34d5cc62f521654d79f5b24fcdf8 04-Apr-2009 Brian Paul <brianp@vmware.com> mesa: clamp colors to [0,1] for glGetTexImage() when format is GL_LUMINANCE

For luminance, we add R+G+B and it seems we should always clamp in case.
/external/mesa3d/src/mesa/main/texstore.c
b7cb6650c1603cd9e6f26b32f5e0fae8377d59b8 04-Apr-2009 Brian Paul <brianp@vmware.com> mesa: whitespace and comment clean-up
/external/mesa3d/src/mesa/main/texstore.c
02a579f2e7abc832dd46956048d1116f7dc3dd92 28-Mar-2009 Roland Scheidegger <sroland@vmware.com> mesa: fix a glGetTexImage issue with base-converted texture formats

need to respect the user-supplied base format, not the one derived from
the texture format actually used.
/external/mesa3d/src/mesa/main/texstore.c
bb386a1ecae6d7f805af44df463b0e4d661eef85 27-Mar-2009 Roland Scheidegger <sroland@vmware.com> mesa: add _rev signed rgba texture format
/external/mesa3d/src/mesa/main/texstore.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/texstore.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/texstore.c
cb3c54ea86344242545dd29f936e53853d3a5ea4 09-Feb-2009 Roland Scheidegger <sroland@tungstengraphics.com> fix _mesa_get_teximage for srgb textures
/external/mesa3d/src/mesa/main/texstore.c
4df482086ebf0663c708b089d8d8d22de0ef972c 22-Jan-2009 Alan Hourihane <alanh@vmware.com> Merge commit 'origin/master' into gallium-0.2

Conflicts:
windows/VC8/mesa/osmesa/osmesa.vcproj
windows/VC8/progs/demos/gears.vcproj
windows/VC8/progs/progs.sln
dbda49a9e65f684ca46c7af84cc52d63b0622978 20-Jan-2009 Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> Add RGBA4444 and RGBA5551 texture formats.
/external/mesa3d/src/mesa/main/texstore.c
5bd093bd7b3711f88e1fd0fc9cdb37a18d7d24b9 12-Dec-2008 Roland Scheidegger <sroland@tungstengraphics.com> mesa: fixes for srgb, new srgb formats

add some more srgb texture formats, including compressed ones
various fixes relating to srgb formats

issues: _mesa_get_teximage is completely broken for srgb textures,
both for non-compressed ones (swizzling) and compressed ones
(shouldn't do standard-to-linear conversion)
texelFetch function may be broken for little or big endian
(or both...)
/external/mesa3d/src/mesa/main/texstore.c
ef2bf418b45c7966e9fe78359058b8d44f570be1 20-Nov-2008 Alan Hourihane <alanh@tungstengraphics.com> Merge commit 'origin/master' into gallium-0.2
2f9ceb158afffe5ea390b909261988267e663e36 19-Nov-2008 Xiang, Haihao <haihao.xiang@intel.com> mesa: clamp luminance if needed.

This fixes glReadPixels(GL_LUMINANCE, GL_FLOAT)/glGetTexImage(GL_LUMINANCE, GL_FLOAT) issue
on fixed-point color buffers.
/external/mesa3d/src/mesa/main/texstore.c
61d3a66456852642ed8fdc1106dc0012e4b89779 27-Oct-2008 Alan Hourihane <alanh@tungstengraphics.com> Merge commit 'origin/master' into gallium-0.2
ea6ddcbe0e4a0049ee8b9d244d86b6981fc6438b 23-Oct-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: remove calls to _mesa_adjust_image_for_convolution(), use texImage fields

The texImage->Width/Height fields will have the post-convolution width/height.
/external/mesa3d/src/mesa/main/texstore.c
22e442544bc451f114288f07cf9cc1584ca357a1 22-Oct-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: in textore.c, only adjust image for convolution if image is a color format

Makes things consistant with the code in teximage.c.
We only want to apply convolution to color formats (not depth/index formats)
/external/mesa3d/src/mesa/main/texstore.c
2a6c6fe01e84ffd54b47ea11aa766960df6ddcaf 11-Oct-2008 Brian Paul <brian.paul@tungstengraphics.com> Merge commit 'origin/master' into gallium-0.2
24748268a3ac7bedc2c9ae5bf76c4c741d539f80 11-Oct-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix asst. issues in _mesa_texstore_argb8888()

If we shift bytes into the texel word (or use the PACK_COLOR_8888 macro),
we don't have to worry about big vs. little endian. See comments about
texel formats in texformat.h.
Remove an unneeded/incorrect else-if clause that produced wrong results
on big-endian systems.
/external/mesa3d/src/mesa/main/texstore.c
dace236c5fffa29d59e4d12fa865889bbecbdd24 22-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'master' into gallium-0.2

Conflicts:

src/mesa/glapi/glapi.h
src/mesa/main/api_exec.c
src/mesa/main/attrib.c
src/mesa/main/clear.c
src/mesa/main/context.c
src/mesa/main/mfeatures.h
src/mesa/main/mipmap.c
src/mesa/main/mipmap.h
src/mesa/main/readpix.c
src/mesa/main/sources
src/mesa/main/state.c
src/mesa/main/texformat.c
src/mesa/main/texparam.c
src/mesa/main/texstate.c
src/mesa/vbo/vbo_context.c
src/mesa/x86/common_x86_asm.S
8122ab2dfd0e158a4982e1bfeb1f7a6f185b69ee 08-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix some pixel transfer state tests for depth formats
(cherry picked from commit 966e199e409a1b52eef88e48997442250997f45e)
/external/mesa3d/src/mesa/main/texstore.c
9614eac85df028bbb77a5073f2f1839bdaa308a0 15-Jul-2008 Michal Krol <michal@tungstengraphics.com> mesa: Silence compiler warnings on Windows.
/external/mesa3d/src/mesa/main/texstore.c
34a61c66fd1b625a5606b795d192a49632ff1787 22-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> mesa: refactor: move #define FEATURE flags into new mfeatures.h file

Also, check the FEATURE flags in many places.
(cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1)

Conflicts:

src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c
/external/mesa3d/src/mesa/main/texstore.c
47ad296a183929c2007c35c60d722b4ac680417d 11-Sep-2008 Alan Hourihane <alanh@tungstengraphics.com> Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/mesa into gallium-0.2

Conflicts:

src/mesa/drivers/dri/i915/intel_ioctl.c
src/mesa/main/texstore.c
src/mesa/tnl/t_vp_build.c
src/mesa/vbo/vbo_exec_draw.c
0397b2bb41b0f337af2949a15bcd7d0e7e8a7dc1 11-Sep-2008 Keith Whitwell <keith@tungstengraphics.com> Merge branch 'gallium-0.1' into gallium-0.2

A first attempt at moving gallium onto a branch directly off master...

It will be interesting to see how much work this takes to get running.

Have resolved the conflicts semi-arbitarily, not compiled or tested.

Conflicts:

.gitignore
Makefile
configs/config.mgw
configs/darwin
configs/darwin-x86ppc
configs/default
configs/freebsd-dri
configs/linux-dri
configs/linux-dri-xcb
configs/linux-fbdev
configs/linux-static
configs/linux-x86-64-static
configs/linux-x86-static
doxygen/Makefile
include/GL/gl.h
progs/demos/Makefile
progs/demos/descrip.mms
progs/demos/texenv.c
progs/egl/.gitignore
progs/egl/Makefile
progs/glsl/.gitignore
progs/glsl/Makefile
progs/glsl/convolutions.c
progs/samples/Makefile.mgw
progs/tests/.gitignore
progs/trivial/.gitignore
progs/trivial/point-param.c
progs/trivial/tri.c
progs/xdemos/.gitignore
progs/xdemos/glthreads.c
src/egl/drivers/demo/Makefile
src/egl/drivers/dri/Makefile
src/egl/main/Makefile
src/glu/Makefile
src/glu/sgi/Makefile
src/glu/sgi/Makefile.mgw
src/glut/glx/Makefile.mgw
src/glut/os2/WarpWin.cpp
src/glut/os2/glut_cindex.cpp
src/glut/os2/glut_gamemode.cpp
src/glut/os2/glut_win.cpp
src/glut/os2/glut_winmisc.cpp
src/glut/os2/os2_glx.cpp
src/glut/os2/os2_menu.cpp
src/glut/os2/os2_winproc.cpp
src/glw/Makefile
src/glx/x11/dri_glx.c
src/glx/x11/glxext.c
src/mesa/Makefile
src/mesa/Makefile.mgw
src/mesa/descrip.mms
src/mesa/drivers/beos/Makefile
src/mesa/drivers/common/descrip.mms
src/mesa/drivers/common/driverfuncs.c
src/mesa/drivers/directfb/Makefile
src/mesa/drivers/dri/Makefile.template
src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/common/dri_bufmgr.h
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/common/extension_helper.h
src/mesa/drivers/dri/common/mmio.h
src/mesa/drivers/dri/common/utils.c
src/mesa/drivers/dri/common/utils.h
src/mesa/drivers/dri/glcore/Makefile
src/mesa/drivers/dri/i810/i810screen.c
src/mesa/drivers/dri/i915/intel_ioctl.c
src/mesa/drivers/dri/i915/intel_ioctl.h
src/mesa/drivers/dri/i915/intel_screen.c
src/mesa/drivers/dri/i915/server/i830_common.h
src/mesa/drivers/dri/i915/server/i830_dri.h
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/server/i830_common.h
src/mesa/drivers/dri/i965/server/i830_dri.h
src/mesa/drivers/dri/mach64/mach64_screen.c
src/mesa/drivers/dri/nouveau/nouveau_context.h
src/mesa/drivers/dri/nouveau/nouveau_fifo.c
src/mesa/drivers/dri/nouveau/nouveau_fifo.h
src/mesa/drivers/dri/nouveau/nouveau_screen.c
src/mesa/drivers/dri/nouveau/nouveau_screen.h
src/mesa/drivers/dri/r128/r128_tex.h
src/mesa/drivers/dri/savage/savageioctl.h
src/mesa/drivers/fbdev/Makefile
src/mesa/drivers/osmesa/Makefile
src/mesa/drivers/osmesa/descrip.mms
src/mesa/drivers/x11/Makefile
src/mesa/drivers/x11/descrip.mms
src/mesa/drivers/x11/xm_dd.c
src/mesa/glapi/glapi.c
src/mesa/glapi/glthread.c
src/mesa/main/api_validate.c
src/mesa/main/attrib.c
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/buffers.c
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/descrip.mms
src/mesa/main/drawpix.c
src/mesa/main/enums.c
src/mesa/main/fbobject.c
src/mesa/main/glheader.h
src/mesa/main/imports.c
src/mesa/main/mipmap.c
src/mesa/main/mm.c
src/mesa/main/mm.h
src/mesa/main/mtypes.h
src/mesa/main/points.c
src/mesa/main/sources
src/mesa/main/state.c
src/mesa/main/texcompress_fxt1.c
src/mesa/main/texenvprogram.c
src/mesa/main/texobj.c
src/mesa/main/texstate.c
src/mesa/main/texstore.c
src/mesa/math/descrip.mms
src/mesa/shader/arbprogram.c
src/mesa/shader/descrip.mms
src/mesa/shader/prog_execute.c
src/mesa/shader/prog_statevars.c
src/mesa/shader/prog_statevars.h
src/mesa/shader/prog_uniform.c
src/mesa/shader/program.c
src/mesa/shader/program.h
src/mesa/shader/shader_api.c
src/mesa/shader/slang/descrip.mms
src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
src/mesa/sources
src/mesa/swrast/descrip.mms
src/mesa/swrast/s_drawpix.c
src/mesa/swrast/s_fragprog.c
src/mesa/swrast/s_readpix.c
src/mesa/swrast/s_span.c
src/mesa/swrast_setup/descrip.mms
src/mesa/tnl/descrip.mms
src/mesa/tnl/t_context.h
src/mesa/tnl/t_vp_build.c
src/mesa/tnl/tnl.h
src/mesa/vbo/descrip.mms
src/mesa/vbo/vbo_context.c
src/mesa/vbo/vbo_exec_array.c
src/mesa/x86-64/xform4.S
src/mesa/x86/rtasm/x86sse.c
src/mesa/x86/rtasm/x86sse.h
windows/VC6/progs/glut/glut.dsp
windows/VC7/mesa/gdi/gdi.vcproj
windows/VC7/mesa/glu/glu.vcproj
windows/VC7/mesa/mesa.sln
windows/VC7/mesa/mesa/mesa.vcproj
windows/VC7/mesa/osmesa/osmesa.vcproj
windows/VC7/progs/glut/glut.vcproj
windows/VC8/mesa/gdi/gdi.vcproj
windows/VC8/mesa/glu/glu.vcproj
windows/VC8/mesa/mesa.sln
windows/VC8/mesa/mesa/mesa.vcproj
windows/VC8/progs/glut/glut.vcproj
218df7f9c53db90abf3a6590f77c8e9e49aeedf5 04-Sep-2008 Xiang, Haihao <haihao.xiang@intel.com> mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24
/external/mesa3d/src/mesa/main/texstore.c
dc44bb8e9208680379b31df01b4499c3a3bde5cb 04-Sep-2008 Jakob Bornecrantz <jakob@tungstengraphics.com> mesa: Support for MESA_FORMAT_S8_Z24 texture

cherry-picked from gallium-0.1
/external/mesa3d/src/mesa/main/texstore.c
966e199e409a1b52eef88e48997442250997f45e 08-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix some pixel transfer state tests for depth formats
/external/mesa3d/src/mesa/main/texstore.c
48cf46a29d8bccb0d83ae7e53e4ded44492cdb5f 08-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix out-of-bounds memory reads in swizzle_copy()
/external/mesa3d/src/mesa/main/texstore.c
501338d70e96e0388fd5198625d856c4ec07745f 08-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix out-of-bounds memory reads in swizzle_copy()
/external/mesa3d/src/mesa/main/texstore.c
6f1abb9c215583d11980294f7469da41ec14b7da 30-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix issues causing warnings on Windows
/external/mesa3d/src/mesa/main/texstore.c
72809f377397390fdd110d6b15e8a9a64ada05e6 25-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix issues causing warnings on Windows
/external/mesa3d/src/mesa/main/texstore.c
2acf917f00b570274b58ad7e58688715730253d0 25-Jul-2008 Michal Krol <michal@tungstengraphics.com> mesa: Mark as XXX unresolved warnings on windows.
/external/mesa3d/src/mesa/main/texstore.c
090e212c0c5e54156c3c33f7eecdfe01398a7222 15-Jul-2008 Michal Krol <michal@tungstengraphics.com> mesa: Silence compiler warnings on Windows.
/external/mesa3d/src/mesa/main/texstore.c
c47248bdf8d55f985b199fc6e15b0177305cb6fd 24-Jun-2008 José Fonseca <jrfonseca@tungstengraphics.com> mesa: Move variable declarations to the scope top.
/external/mesa3d/src/mesa/main/texstore.c
b623fa9e2d6f97f9febc978c158d790b26e175a7 18-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: Fix bug in _mesa_swizzle_ubyte_image
/external/mesa3d/src/mesa/main/texstore.c
666b771e512a7c91fa43544afec61bda63edc240 18-Jun-2008 Jakob Bornecrantz <jakob@tungstengraphics.com> mesa: _mesa_texstore_s8_z24 now supports depth only uploads
/external/mesa3d/src/mesa/main/texstore.c
a1524162bf838920ad965cd44ead97da29408e50 18-Jun-2008 Jakob Bornecrantz <jakob@tungstengraphics.com> mesa: Added _mesa_texstore_s8_z24
/external/mesa3d/src/mesa/main/texstore.c
3bf8fb64862b882bff8b372f3c2ce08ea8d401a7 18-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix inconsistent use of GL_UNSIGNED_INT vs. GL_UNSIGNED_INT_24_8_EXT for Z unpacking
/external/mesa3d/src/mesa/main/texstore.c
30640695400b9b27656893753ae6b62f2082ce9b 18-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: fix inconsistent use of GL_UNSIGNED_INT vs. GL_UNSIGNED_INT_24_8_EXT for Z unpacking
/external/mesa3d/src/mesa/main/texstore.c
40d1a40f294f1ed2dacfad6f5498322fc08cc2d1 11-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: refactor: move #define FEATURE flags into new mfeatures.h file

Also, check the FEATURE flags in many places.
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
a638676473bd7bf2d47275ed2fd708e5b9d47e0b 09-May-2008 Dave Airlie <airlied@linux.ie> Added ctx->Driver.GenerateMipmap() driver hook
(cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031)

Conflicts:

src/mesa/drivers/common/driverfuncs.c
/external/mesa3d/src/mesa/main/texstore.c
61c3c2c36301671b8f913cf739e13d049ef91868 25-Feb-2008 Kristian Høgsberg <krh@redhat.com> Change GetCompressedTexImage in dd_function_table to not take const pointers.

They're changed by the intel driver implementation and thus not const.
Fixes compilation warning.
/external/mesa3d/src/mesa/main/texstore.c
e45e33854289222cabb491d4605bf381b1631054 13-Feb-2008 Xiang, Haihao <haihao.xiang@intel.com> _mesa_swizzle_ubyt_image: Don't use single swizzle_copy call
if components don't match. fix #13508
/external/mesa3d/src/mesa/main/texstore.c
c3395f4473c8fdf75d04c0dd72e687bc8d8127a7 08-Feb-2008 Brian <brian.paul@tungstengraphics.com> Remove unused texunit parameter to ctx->Driver.GenerateMipmap()
/external/mesa3d/src/mesa/main/texstore.c
4c2f3dbca940f289e67248682b84a3516d5a3031 06-Feb-2008 Brian <brian.paul@tungstengraphics.com> Added ctx->Driver.GenerateMipmap() driver hook
/external/mesa3d/src/mesa/main/texstore.c
259eacfa94a1086e4c99db83516989cc27832ef4 05-Dec-2007 Brian <brian.paul@tungstengraphics.com> Fix endianness bug in _mesa_texstore_argb8888()

On big-endian, storing in _mesa_texformat_argb8888 format produced wrong res
Also, clean-up nearby code to match.

picked from gallium-0.1 branch
/external/mesa3d/src/mesa/main/texstore.c
3eadbe64bf027b7e90167d4980e880c8a01c889f 05-Dec-2007 Brian <brian.paul@tungstengraphics.com> Fix endianness bug in _mesa_texstore_argb8888()

On big-endian, storing in _mesa_texformat_argb8888 format produced wrong results.
Also, clean-up nearby code to match.
/external/mesa3d/src/mesa/main/texstore.c
25cfb68f0b3baf0e74d1f6a37afab46370f6711b 08-Jul-2007 Brian <brian.paul@tungstengraphics.com> Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax.
/external/mesa3d/src/mesa/main/texstore.c
c96974f78cf3bbb94c01d6c84201595b4028d840 09-Apr-2007 Michel Dänzer <michel@tungstengraphics.com> i915tex: Make sure texture format fetch hooks are initialized.
/external/mesa3d/src/mesa/main/texstore.c
704cd61120443501530279937a144a5dd4b6399e 21-Mar-2007 Xiang, Haihao <haihao.xiang@intel.com> mesa: revert f9f79c8d770e696249bd98c68b563f887562c974
to fix #10232

Table6.1(in gl2.1) has been applied for glGetTexImage
before calling into _mesa_pack_rgba_span_float.
/external/mesa3d/src/mesa/main/texstore.c
ee5b7f0574c6c5bce9ab75a2825f1fe089a57fa5 17-Mar-2007 Haihao Xiang <haihao.xiang@intel.com> fix some format conversion bugs in glGetTexImage(), bug 10288
/external/mesa3d/src/mesa/main/texstore.c
f9f79c8d770e696249bd98c68b563f887562c974 09-Mar-2007 Brian <brian@yutani.localnet.net> New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to fix glGetTexImage(GL_LUMINANCE) bug #10232.
/external/mesa3d/src/mesa/main/texstore.c
9c09259b8bef8f120cc6f4bb1a44f0eae37d71b3 14-Dec-2006 Michel Dänzer <michel@tungstengraphics.com> _mesa_swizzle_ubyte_image: Only use single swizzle_copy call when strides match.

This fixes texture data corruption with glTexSubimage (and probably glTexImage
under some circumstances) with the texstore swizzle path.
/external/mesa3d/src/mesa/main/texstore.c
05267501af5288a9d380df1306e5b74dcab1ec40 02-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> comment about a valgrind error
/external/mesa3d/src/mesa/main/texstore.c
176501dfff14b5bec78af2b3487207d42c26d37a 13-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> In _mesa_pack_rgba_span_float() we don't need to make a temporary copy of
incoming colors when applying pixel transfer ops. In all cases, the
caller either indicates there's no pixel transfer ops, or the incoming
colors are coming from temporary storage already and can be safely
modified.
/external/mesa3d/src/mesa/main/texstore.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/texstore.c
df8632ebd87219c809810d993f56fef1e6853a25 25-Sep-2006 Michel Dänzer <michel@daenzer.net> Fix and re-enable swizzling paths for big endian platforms.
/external/mesa3d/src/mesa/main/texstore.c
248200737398a7d6403a23930a6c9d93db06b942 22-Sep-2006 Brian Paul <brian.paul@tungstengraphics.com> replace assert(0) with error report, improved comments, etc
/external/mesa3d/src/mesa/main/texstore.c
bad5cf056ac653e97d96114d42b874f15a3c2ec8 21-Sep-2006 Keith Whitwell <keith@tungstengraphics.com> Fix incorrect byteswap_mapping(). Disable swizzle path on bigEndian
until someone can figure out whats wrong there.
/external/mesa3d/src/mesa/main/texstore.c
184b5d89380e18008d64adfe1756dca9736426f2 21-Sep-2006 Brian Paul <brian.paul@tungstengraphics.com> use new _mesa_little_endian() function
/external/mesa3d/src/mesa/main/texstore.c
167ca59fe893a62e23e799f51608d18847dd590a 21-Sep-2006 Keith Whitwell <keith@tungstengraphics.com> Fix the dstMap for rgb888 and bgr888 texture formats, which are the
opposite to what you'd naively expect.
/external/mesa3d/src/mesa/main/texstore.c
3974cc8c09a00274f87c418cb295ed0cdd7c9d1e 21-Sep-2006 Keith Whitwell <keith@tungstengraphics.com> Deal with the overloading of _mesa_texstore_rgba, which is actually
used to store all sorts of formats.

Software mesa fails the glean pixelFormats test, but it appears to be
failing even with the swizzle code disabled??
/external/mesa3d/src/mesa/main/texstore.c
3aea82b396387bf3835f91bcc9121e02274c4c04 21-Sep-2006 Keith Whitwell <keith@tungstengraphics.com> Extend swizzle support to all remaining source formats and texture
destination formats.
/external/mesa3d/src/mesa/main/texstore.c
46c3bd29be4970a8b0c1c358aae0f1d7c05bc9f4 20-Sep-2006 Keith Whitwell <keith@tungstengraphics.com> Support both big and little endian, more source types and more
destination formats through the swizzle path. It would be great to
see this tested on eg, PPC machines...
/external/mesa3d/src/mesa/main/texstore.c
528de982f88bfc025425ce1188781a34f4d84f1f 20-Sep-2006 Roland Scheidegger <rscheidegger@gmx.ch> reenable code in _mesa_texstore_rgba8888 to avoid the generic copy path if only swizzling is required as it works just fine (tested with glean pixelFormats test and a hacked up r200 driver which always uses that format).
/external/mesa3d/src/mesa/main/texstore.c
2e5c686c2b6f356895f33b2815e41386946ab55a 20-Sep-2006 Keith Whitwell <keith@tungstengraphics.com> Fix various typos to pass glean pixelFormats test.
/external/mesa3d/src/mesa/main/texstore.c
fce0d13b4fff04de50fd91a8f4dfdc248b6262e0 20-Sep-2006 Keith Whitwell <keith@tungstengraphics.com> Enhance compute_component_mapping() to convert to and from any of the
color base formats.
/external/mesa3d/src/mesa/main/texstore.c
0c9259f3b95615ceda134bd7074d871cd0186c89 20-Sep-2006 Keith Whitwell <keith@tungstengraphics.com> Fix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBA
conversions, ensuring that the final A value is 0xff in those cases
where we use a RGBA hardware texture format to store RGB textures.
Fix a couple of cases where hardwired texture conversions were
ignoring this restriction.
/external/mesa3d/src/mesa/main/texstore.c
2e2a9813355993ba79eeb8070391e45aabb84f94 14-Sep-2006 Roland Scheidegger <rscheidegger@gmx.ch> detect some more cases which can use straight memcpy for _mesa_texstore_rgba8888
/external/mesa3d/src/mesa/main/texstore.c
54e15d65858c1d1eeea7291059766686cf2e1671 10-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> finish up texstore for SL8 texture format
/external/mesa3d/src/mesa/main/texstore.c
46f20579a28ac97dd6fd9cc505301b0764eb011a 09-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> implement some of the sRGB texstore functions
/external/mesa3d/src/mesa/main/texstore.c
0a4be7036864efa6b30d78e0aac449d34b812c13 04-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> more work for GL_EXT_texture_sRGB.
/external/mesa3d/src/mesa/main/texstore.c
8d214bc8044e5027e3fa9302b259d0c557270b00 03-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> Initial work for GL_EXT_texture_sRGB.
/external/mesa3d/src/mesa/main/texstore.c
ad15866ef0e77478508eeb534b28f0136462b644 19-Jul-2006 Brian Paul <brian.paul@tungstengraphics.com> For glGetTexImage(), move the _mesa_validate_pbo_access() error check into
_mesa_GetTexImage() so it's not needed in the fallback or driver functions.
/external/mesa3d/src/mesa/main/texstore.c
b0b6d1abe5c7e629baebd4bf3d3ee3b17ba6ff08 20-May-2006 Brian Paul <brian.paul@tungstengraphics.com> In gl_texture_image, replace ImageStride with an ImageOffsets array.
Some hardware lays out 3D mipmaps in a manner that can't be expressed
with a simple image stride.
The ImageOffsets array is allocated and initialized to typical defaults
in the _mesa_init_teximage_fields() function. If needed, a driver will
then have to replace these offsets.
TexStore and TexelFetch routines updated to use offsets array.
/external/mesa3d/src/mesa/main/texstore.c
a5467697336f201abee19cba1521be80e5c87d3b 09-May-2006 Brian Paul <brian.paul@tungstengraphics.com> two more texture compression fixes
/external/mesa3d/src/mesa/main/texstore.c
c3c19be8e0d0b13916cc128cf3c8e839935c912a 09-May-2006 Brian Paul <brian.paul@tungstengraphics.com> More updates for texture compression.
Added _mesa_compressed_texture_size_glenum() for validating the imageSize
parameter to glCompressedTex[Sub]Image1/2/3() which does _not_ call
ctx->Driver.CompressedTextureSize() - since that could return a padded size.
/external/mesa3d/src/mesa/main/texstore.c
5999c5b620236fb6a996cf56759aec31f01c126b 08-May-2006 Brian Paul <brian.paul@tungstengraphics.com> Fix a number of texture compression issues.
Pass the MESA_FORMAT_* token to the _mesa_compressed_row_stride(),
_mesa_compressed_texture_size() and _mesa_compressed_image_address()
functions since we want to use the driver-chosen format, not the user's
internalFormat hint.
Consolidate code related to choosing the texture format in texstoree.c
/external/mesa3d/src/mesa/main/texstore.c
edc16a5f7a89584490be0824a1d96e2f3426998b 26-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> fix a few stride computations in _mesa_texstore_rgba()
/external/mesa3d/src/mesa/main/texstore.c
a9bcf751030895494fc098f8d0ff56b2496bd993 06-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.
This allows render to depth texture (we don't support floating pt. Z buffers).
Rename MESA_FORMAT_DEPTH_COMPONENT16/32 as MESA_FORMAT_Z16/32.
Software fallback for glCopyTexImage now uses integer temporary image instead
of float, eliminates a lot of float/int conversions.
/external/mesa3d/src/mesa/main/texstore.c
e5b6eee15d4ca3feff8c2759595b1327afa584c3 29-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> fix components initialization in two places (Ewald Snel)
/external/mesa3d/src/mesa/main/texstore.c
2742c4e4db63d61f585c014103eaeadffa8e0833 29-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> new tests for GL_DEPTH_STENCIL_EXT
/external/mesa3d/src/mesa/main/texstore.c
ea4fe661d7f3a95d9db17e1475076f1badf8e1a6 26-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> merge from texman branch
/external/mesa3d/src/mesa/main/texstore.c
ef8653a83800bc4b8e116e03ad52604097224378 16-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> finish up some loose ends in _mesa_texstore_z24_s8()
/external/mesa3d/src/mesa/main/texstore.c
f285f0d8f60adafdfba5c1f0563b81c68bd398d3 01-Dec-2005 Brian Paul <brian.paul@tungstengraphics.com> remove uintptr_t cast
/external/mesa3d/src/mesa/main/texstore.c
26f69d87a4e6f4d39ce10864e9e70689646155ed 05-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)
/external/mesa3d/src/mesa/main/texstore.c
a9fc8ba756dd25a07dc19058fe60f65bda82a055 05-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> In gl_texture_image replace IntFormat with InternalFormat and Format with
_BaseFormat to be consistant with gl_renderbuffer.
/external/mesa3d/src/mesa/main/texstore.c
184a9707227ab024d65d352fe7c09b3e287348e9 01-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> added _mesa_texstore_z24_s8()
/external/mesa3d/src/mesa/main/texstore.c
1ad7b99925e044f82e635f746c1ef2df77f69ac9 28-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Initial work for GL_EXT_packed_depth_stencil extension.
glReadPixels done, glDrawPixels mostly done.
/external/mesa3d/src/mesa/main/texstore.c
da9f65268db5d0468f91860d9ef9f244587c7f48 15-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> New set_fetch_functions() to set a gl_texture_image's FetchTexel functions
from the gl_texture_format's functions.
Added "adaptor" functions to allow sampling a float-valued texture with
GLchans and vice versa. This will allow trimming down the number of
texture fetch routines.
/external/mesa3d/src/mesa/main/texstore.c
4cf6718725c7cf3bfb728118a8b14f8cf206c701 05-Jul-2005 Brian Paul <brian.paul@tungstengraphics.com> The old MESA_PBUFFER_ALLOC() function allocated memory on 512-byte boundaries.
Restore that behavior with new _mesa_alloc_texmemory() function.
Should fix via_sse_memcpy() problem in found with flightgear.
/external/mesa3d/src/mesa/main/texstore.c
2dbffb30f05fcf67658c64b8101e9efaf07ca388 27-Jun-2005 Brian Paul <brian.paul@tungstengraphics.com> Get rid of the MESA_PBUFFER_ALLOC/FREE() macros.
If that stuff is still needed, lots of other updates are needed anyway.
Also, some misc MALLOC/FREE -> _mesa_malloc/free() changes.
/external/mesa3d/src/mesa/main/texstore.c
17bcf9f816db3098db42acd7f0672f64554dd6a0 23-May-2005 Keith Whitwell <keith@tungstengraphics.com> Import Thomas Helstrom's SSE memcpy code from the via X.org driver.
Add a TextureMemCpy callback, called from texstore.c when copying
texture data via the memcpy_texture() path.
Enable this code in the via driver - 100% speedup in texdown.c results.
/external/mesa3d/src/mesa/main/texstore.c
ffd97d20aaa1cf7fa683d25deb0391f24ff14589 17-May-2005 Felix Kuehling <fxkuehl@gmx.de> Don't use _mesa_swizzle_ubyte_image if all three texture formats
involved in _mesa_textore_argb/rgba8888 (source, base-internal,
destination) differ. _mesa_swizzle_ubyte_image knows only about two of
the formats and can't handle the case that all three are different
correctly. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=3111.
/external/mesa3d/src/mesa/main/texstore.c
6258b76c49f49a56a7c713914b798e80c6553b06 05-May-2005 Karl Schultz <kschultz@freedesktop.org> Port Mesa to build on a P64 platform (e.g., Win64). P64 platforms
use 64-bit pointers and 32-bit longs. So, operations like casting pointers
to unsigned long and back to pointer won't work. glheader.h now
includes files to define uintptr_t, which should instead be used for
this sort of operation. It is an integer type that is the same size
as a pointer.
/external/mesa3d/src/mesa/main/texstore.c
e4b2356c07d31fbeeabb13b2fb47db703b473080 04-May-2005 Brian Paul <brian.paul@tungstengraphics.com> Major check-in of changes for GL_EXT_framebuffer_object extension.
Main driver impacts:
- new code for creating the Mesa GLframebuffer
- new span/pixel read/write code
Some drivers not yet updated/tested.
/external/mesa3d/src/mesa/main/texstore.c
c039af165d5919008c6df599795951f85dea164d 26-Apr-2005 Brian Paul <brian.paul@tungstengraphics.com> comments and minor clean-up
/external/mesa3d/src/mesa/main/texstore.c
71699df7de8cc732caf6d4b8adb4ab2d1f0c7c1f 07-Feb-2005 Keith Whitwell <keith@tungstengraphics.com> argb8888 optimizations from via branch
/external/mesa3d/src/mesa/main/texstore.c
68d293b03535ca50daf70650b32db780f1718a3b 12-Dec-2004 Brian Paul <brian.paul@tungstengraphics.com> Added driver hooks for GetTexImage() and GetCompressedTexImage().
Added fallback _mesa_get_[compressed]_teximage() routines to texstore.c
/external/mesa3d/src/mesa/main/texstore.c
a760ccf6d8a1f94d505b4c211ff4c30bc1d325a8 03-Dec-2004 Brian Paul <brian.paul@tungstengraphics.com> silence a variety of warnings found with g++ 3.4.2
/external/mesa3d/src/mesa/main/texstore.c
6b6c96bdeb580052cb9fa3831f1cd574f0e85728 24-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> update _mesa_store_teximageXd() comments and minor code clean-up
/external/mesa3d/src/mesa/main/texstore.c
60909388ab136d849d99eab49e782a53772a618f 10-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking
and ignored for 1D and 2D images.
Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function.
This change gets propogated to some other routines.
Also added new _mesa_image_address[123]d() convenience functions.
/external/mesa3d/src/mesa/main/texstore.c
c0ebc4931a003b7b14e92c3b537b6ba76259507c 31-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> Map/Unmap PBO as needed so that the texstore routines can work with
hardware-based PBOs in the future.
/external/mesa3d/src/mesa/main/texstore.c
1cfe1e8925f8e1b89df5330895255a038be7f122 18-Oct-2004 Daniel Borca <dborca@users.sourceforge.net> changed _mesa_rescale_teximage2d to allow rescaling of padded images
/external/mesa3d/src/mesa/main/texstore.c
a6c423d95663cfd8601cf84e10e8e1b12fa6ef15 25-Aug-2004 Brian Paul <brian.paul@tungstengraphics.com> Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
/external/mesa3d/src/mesa/main/texstore.c
7c544d36850c6e3627adbbd66df9b12bbe0f185b 25-Aug-2004 Brian Paul <brian.paul@tungstengraphics.com> fix a couple bad casts
/external/mesa3d/src/mesa/main/texstore.c
701987c877b5346f39b2258c45cf2b6c989fd9cc 24-Jun-2004 Daniel Borca <dborca@users.sourceforge.net> disabled unnecessary assertions in texture replicator
/external/mesa3d/src/mesa/main/texstore.c
f252f64430ccb957698fcf85e84c9d64008147eb 19-Jun-2004 Brian Paul <brian.paul@tungstengraphics.com> Big-endian texture fixes from Michel Dänzer.
/external/mesa3d/src/mesa/main/texstore.c
85ffbdd8d7ee03698dabb15db0c479f0d49599b7 16-Jun-2004 Brian Paul <brian.paul@tungstengraphics.com> fix component indexing bug in _mesa_texstore_al88()
/external/mesa3d/src/mesa/main/texstore.c
13ad04719e292a2bee7e1b3155da74a97921c035 10-Jun-2004 Brian Paul <brian.paul@tungstengraphics.com> Roland's patch to fix promotion of alpha or luminance textures to the
luminance_alpha format. In particular, using the al88 format to store
GL_ALPHA textures with r200 driver.
/external/mesa3d/src/mesa/main/texstore.c
defb035b6cf03c555318d9dd48864242ed036f39 13-May-2004 Brian Paul <brian.paul@tungstengraphics.com> Another pass at implementing byte-swapped texture formats.
More code re-use this time.
Most formats now tested/debugged with new packedpixels.c test.
/external/mesa3d/src/mesa/main/texstore.c
8813cb56b0e5c61cfcf1a33ed887f46d4f5dbf09 12-May-2004 Brian Paul <brian.paul@tungstengraphics.com> yank bgr233 texformat. minor comment updates.
/external/mesa3d/src/mesa/main/texstore.c
a156b49800c1419785d0709b78ef0d35e6dab5df 12-May-2004 Brian Paul <brian.paul@tungstengraphics.com> Added big-endian texture formats.
Moved CI->RGBA palette lookup into texel fetch function.
/external/mesa3d/src/mesa/main/texstore.c
9c1b13ff6a2fb873cada61271f382a912ad99631 05-May-2004 Brian Paul <brian.paul@tungstengraphics.com> fix a few bugs when using GL_REDUCE convolution mode
/external/mesa3d/src/mesa/main/texstore.c
2b012578ee519561365640e23272b71898378c45 05-May-2004 Brian Paul <brian.paul@tungstengraphics.com> fix a bug on the convolution path
/external/mesa3d/src/mesa/main/texstore.c
bdd15b5749b45929fa642c3e47997f52eb07fbe5 04-May-2004 Brian Paul <brian.paul@tungstengraphics.com> Fix minor warnings found with g++.
/external/mesa3d/src/mesa/main/texstore.c
33ffbd1c58dc8582f67d946f9eb26127e9851a10 04-May-2004 Daniel Borca <dborca@users.sourceforge.net> texture compression: getting warmer
/external/mesa3d/src/mesa/main/texstore.c
80fc5ea53e0f1dac9df529965687c159acae057f 02-May-2004 Brian Paul <brian.paul@tungstengraphics.com> restored _mesa_rescale_teximage2d()
/external/mesa3d/src/mesa/main/texstore.c
8f04c12e0ad876baa7eb9ed379e2b00150b376e0 27-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> Removed the old teximage code.
Moved all code related to specific texture compression modes into
new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
/external/mesa3d/src/mesa/main/texstore.c
462183fe4cb6df6d90632d9e2cee881c8d26b1cb 26-Apr-2004 Alan Hourihane <alanh@tungstengraphics.com> bring over build fixes from stable branch
/external/mesa3d/src/mesa/main/texstore.c
f959f6e1dc27c71fc0ccc56e09b29101b3bf3b97 22-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> New glTexImage code.
The gl_texture_format struct now has a StoreTexImageFunc that's called
by glTex[Sub]Image[123]D to convert the user's texture data into the
specific texture format layout. Now it's much easier to add new texture
formats (like the 16/32-bit floating point formats).
The texutil.[ch] and texutil_tmp.h files are obsolete.
/external/mesa3d/src/mesa/main/texstore.c
7a6b71ef2944bae1718e8167b2faaceb8422071c 13-Mar-2004 Brian Paul <brian.paul@tungstengraphics.com> Implementation of GL_EXT_pixel_buffer_object extension.
Note: extension may not be finalized yet - subject to change!
Note: implementation not fully suitable for h/w implementation yet.
/external/mesa3d/src/mesa/main/texstore.c
4923e1926ad7b7eb7de017eda8e7db64d357e5c8 28-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> Remove clamp parameter from _mesa_unpack_color_span_float(). Pass the
IMAGE_CLAMP_BIT if needed.
Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation
of upcoming extensions (not fully used yet).
/external/mesa3d/src/mesa/main/texstore.c
8cfd08b6134e2036ddceb1facfa82e15026068a2 28-Feb-2004 Brian Paul <brian.paul@tungstengraphics.com> rename some span pack/unpack functions for better uniformity
/external/mesa3d/src/mesa/main/texstore.c
07d6a983595b7ee52c8448fc579d952ce36472b8 06-Feb-2004 Ian Romanick <idr@us.ibm.com> Refactor "class" texture environments to be implemented in terms of
ARB_texture_env_combine state.
/external/mesa3d/src/mesa/main/texstore.c
18fa367ac6e035341f5eb86ecc4231124b2921e3 27-Jan-2004 Keith Whitwell <keith@tungstengraphics.com> Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single
array, texObj->Image[face][level].
/external/mesa3d/src/mesa/main/texstore.c
4f295cee73bae1f687efe2dc062522b40d90b1e4 23-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> Initial support for floating point and signed texture formats.
New "FetchTexelFuncF()" function returns texels in floating point format.
Only used for depth component images at this time.
Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing
need for a bunch of ugly casts.
/external/mesa3d/src/mesa/main/texstore.c
b305028464f02947c0cce0476af0e35f4ed1fafa 04-Dec-2003 Brian Paul <brian.paul@tungstengraphics.com> Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.
/external/mesa3d/src/mesa/main/texstore.c
c515f90ec3adca875e93b4a705e14f4a0a1661b4 24-Nov-2003 Brian Paul <brian.paul@tungstengraphics.com> fix YCBCR assertion and disable assertion in auto-mipmap code
/external/mesa3d/src/mesa/main/texstore.c
c5853c63d0b333b71fef0ae3b7ffa6434ce694cb 07-Nov-2003 Brian Paul <brian.paul@tungstengraphics.com> s/xoffset/zoffset/ (Cedric Gautier)
/external/mesa3d/src/mesa/main/texstore.c
973da83f6237b5af4a9ee77f32fdfa5c04ecabc8 12-Sep-2003 Brian Paul <brian.paul@tungstengraphics.com> Allow glTexImage1/2/3D to specify width/height/depth = 0.
This allows texture state to be resettable to default state.
Not allowed according to the spec, but allowed by all other OpenGL libs.
/external/mesa3d/src/mesa/main/texstore.c
6dc85575000127630489b407c50a4b3ea87c9acb 17-Jul-2003 Keith Whitwell <keith@tungstengraphics.com> Merge Jose's documentation and core Mesa changes from embedded branch
/external/mesa3d/src/mesa/main/texstore.c
738318bb75dea8dac4465f53850987f6062a732d 04-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, height
and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows
more flexiblity, like supporting larger, non-cubic 3D textures.
/external/mesa3d/src/mesa/main/texstore.c
a3f137094cd965d27e1b088499dd609b81a91906 01-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> New device driver hooks for texture object and texture image creation to
allow drivers to implement C++-like inheritance via containment.
Lots of assorted clean-ups related to texture objects.
/external/mesa3d/src/mesa/main/texstore.c
612cf792dbcb8b69819751c62f8df5fe47aae9b4 04-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> silence a GLchan=GLfloat warning with a cast
/external/mesa3d/src/mesa/main/texstore.c
4039cb8ca82d59451a6de8902fe35e693cdca3ba 25-Feb-2003 Brian Paul <brian.paul@tungstengraphics.com> casts to silence g++ warnings
/external/mesa3d/src/mesa/main/texstore.c
c8e28650c9cdec9611348cf077d3a3bda4305f59 06-Feb-2003 Brian Paul <brian.paul@tungstengraphics.com> fix assertion in transfer_teximage() (Laurent Desnogues)
/external/mesa3d/src/mesa/main/texstore.c
f4418f4d1c6dfe06af760226c5303e653b25b879 28-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> some casts (Evgeny Kotsuba)
/external/mesa3d/src/mesa/main/texstore.c
b3f717037dcba37b4ac32c9ec17061781414a8ca 24-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> silence some warnings
/external/mesa3d/src/mesa/main/texstore.c
2a7243481a40dee437d4a95ac39b84e550aa98f6 03-Dec-2002 Brian Paul <brian.paul@tungstengraphics.com> added GL_DEPTH_COMPONENT to two assertions
/external/mesa3d/src/mesa/main/texstore.c
3ac8105e9cbed4c531c38636f83065b2ef3ab002 20-Nov-2002 Brian Paul <brian.paul@tungstengraphics.com> fixed cube texture auto-mipmap generation bug (641363)
/external/mesa3d/src/mesa/main/texstore.c
f16a66e97dd2586179ca8f128bb9c6c181547b00 30-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> remove debug printf
/external/mesa3d/src/mesa/main/texstore.c
d3975341e743b3436a69dedd864ccedc56b0db03 29-Oct-2002 Karl Schultz <kschultz@freedesktop.org> Add casts to quiet compiler warnings.
/external/mesa3d/src/mesa/main/texstore.c
3c63452e64df7e10aa073c6c3b9492b1d7dabbb8 25-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> Header file clean-up:
1. Remove all.h and PC_HEADER junk.
2. Rolled mem.c and mem.h into imports.c and imports.h
3. Include imports.h instead of mem.h
Restore _mesa_create/initialize_context() to be like they were in 4.0.4
New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
/external/mesa3d/src/mesa/main/texstore.c
ef31f60b12abc2109568fb8d9a2aaa70ec5c71cc 18-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> new _mesa_max_texture_levels() helper function - not used everywhere yet
/external/mesa3d/src/mesa/main/texstore.c
2ce0654ebabc7fc6a2881f51e496e4e1f7533087 18-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> implement auto mipmap generation for compressed textures
/external/mesa3d/src/mesa/main/texstore.c
89fb06fcc11cbe3f23521312155d6c55d869f526 27-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> new texture compression infrastructure
/external/mesa3d/src/mesa/main/texstore.c
c5b995066020191982b2315fc45d05e068eee761 21-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)
/external/mesa3d/src/mesa/main/texstore.c
e1cb2fb571ee47b59020db7627e554b7d227e454 17-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> remove GLint t, pass target to _mesa_init_teximage_fields()
/external/mesa3d/src/mesa/main/texstore.c
d5bbbd41c431ad93c0867d5b0b234426d8570499 16-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> fixed _mesa_generate_mipmaps() target problem
/external/mesa3d/src/mesa/main/texstore.c
4e9676fb13f60ecdbc247b120031f18cd3febcb0 29-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
/external/mesa3d/src/mesa/main/texstore.c
8afe7de8deaf3c9613fd68b344de8c52b02b1879 15-Jun-2002 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_NV_texture_rectangle extension.
Replace struct gl_texure_object's Dimension w/ Target field.
Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled
field is obsolete, but still present for now. This effectively
removes the 8-texture units limit, 32 units now possible, but unlikely!
New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field.
Updated device drivers to use ctx->Texture._EnabledUnits.
/external/mesa3d/src/mesa/main/texstore.c
42f916de5cb3f4362e4682cdaa5eea00fe2de857 04-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> fixed some 3D texture image stride bugs when using 16-bit channels
/external/mesa3d/src/mesa/main/texstore.c
aeb4434563c4014a662ea334878b60d3031bb3c1 19-Mar-2002 Brian Paul <brian.paul@tungstengraphics.com> Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and texture
memory. These can be overridden by applications which need to manage this
memory specially. Contributed by Gerk Huisma.
Also, new code for 8-bit -> 16-bit/channel texture image storage which
fills in the least-significant bits properly.
/external/mesa3d/src/mesa/main/texstore.c
7c4268176eaaeb45003db4d5042a518b84c9f6dc 19-Sep-2001 Karl Schultz <kschultz@freedesktop.org> silence compiler warnings (last batch for src)
/external/mesa3d/src/mesa/main/texstore.c
f3b85c983f469875ac76081a61539a6c7b26777c 23-Jul-2001 Brian Paul <brian.paul@tungstengraphics.com> check for pixels=NULL in _mesa_store_teximage[123]d()
/external/mesa3d/src/mesa/main/texstore.c
a1503b00f863a48a517939a42d512f9cfe77f79c 16-Jul-2001 Brian Paul <brian.paul@tungstengraphics.com> Various 16-bit GLchan fixes and Win32 fixes (Gerk Huisma)
/external/mesa3d/src/mesa/main/texstore.c
f431a3fb4dc1bf860203d79e54657e3a62bc50df 13-Jul-2001 Brian Paul <brian.paul@tungstengraphics.com> assorted changes for supporting GLfloat color channels (not done)
/external/mesa3d/src/mesa/main/texstore.c
5c749d9e3c7824c0ba5b22e37d0ea5cbd54d6d2d 13-Jul-2001 Brian Paul <brian.paul@tungstengraphics.com> silence a warning
/external/mesa3d/src/mesa/main/texstore.c
e4276667dafc8de0c6e64af8300fc7598437de6e 15-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> Enable GL_ARB_texture_compression for XMesa/GLX driver. Texture
compression isn't really implmented. Just updated glTexImageXD()
to accept compressed internal format tokens.
/external/mesa3d/src/mesa/main/texstore.c
cd1cefae9146fc14b35ee93a04bdb1b1590fba7b 13-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> Allow different max texture sizes for 1/2D, 3D and cube maps.
/external/mesa3d/src/mesa/main/texstore.c
9228e17bb5bf219269daeed5cbfdd912c118e926 24-May-2001 Brian Paul <brian.paul@tungstengraphics.com> Finished GL_SGIS_generate_mipmap. Should be trivial to enable in DRI drivers.
/external/mesa3d/src/mesa/main/texstore.c
8bd06931018d5662b92f1cfeee2abaf352d0044c 22-May-2001 Brian Paul <brian.paul@tungstengraphics.com> a little more work on GL_SGIS_generate_mipmap
/external/mesa3d/src/mesa/main/texstore.c
3893e638e6521b9c070e01c0b31d22754ff97a88 21-May-2001 Brian Paul <brian.paul@tungstengraphics.com> initial support for GL_SGIS_generate_mipmap extension
/external/mesa3d/src/mesa/main/texstore.c
1c85aa33321821b44bea83d3dee702ab4e05f406 20-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> Fixed a texture conversion problem: sometimes need to produce an intermediate
texture image in the base internal format between user->Mesa format
conversion. See comments in texstore.c
/external/mesa3d/src/mesa/main/texstore.c
36f3712e85cafef1b038189678030f6ef4f8b7e9 05-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed tmpTexelSize computation bug
/external/mesa3d/src/mesa/main/texstore.c
7d58f44f73be59bd3583e6dfeedf56c43f7fbd55 04-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> More texture image changes.
1. Added ctx->Driver.ChooseTextureFormat() function. Examines user's
internalFormat, format, type params and returns a gl_texture_format.
2. _mesa_store_teximage[123]d() calls ctx->Driver.ChooseTextureFormat(),
allocates storage and transfers the image into the desired format.
3. _mesa_transfer_teximage() now takes a gl_texture_format to describe
the destination format. Any combination of input format/type and
output gl_texture_format is accepted. Uses optimized _mesa_convert_-
texsubimage[123]d() functions when possible.
3. DRI driver's TexImage[123]D functions should be a lot simpler now.
/external/mesa3d/src/mesa/main/texstore.c
38f28665bf9fb5b2464738ca5074848ec2777ae1 28-Mar-2001 Gareth Hughes <gareth@valinux.com> More texture format updates. Drivers now need only plug an appropriate
format into texImage->TexFormat, the rest is handled by core Mesa.
/external/mesa3d/src/mesa/main/texstore.c
197c526d63e1d4ea96f29eece392cdc389770b38 27-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> texFormat was a random value in _mesa_store_teximage3d(), fix by undoing last changes
/external/mesa3d/src/mesa/main/texstore.c
19d1e432612cf7db797da11793b13a6c1c6aac16 27-Mar-2001 Gareth Hughes <gareth@valinux.com> Updates required for DRI drivers on mesa-3-5-branch.
/external/mesa3d/src/mesa/main/texstore.c
0299ad753224372c7a6147f598fdad33f576a714 21-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> renamed some vars, added a bunch of comments
/external/mesa3d/src/mesa/main/texstore.c
56671022f97cfbc199a47b3338125431e42030ee 21-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> depth images were broken by latest teximage changes, this fixes the problem
/external/mesa3d/src/mesa/main/texstore.c
709892459922a32096fe9dd8261d0d92337bb02f 19-Mar-2001 Keith Whitwell <keith@tungstengraphics.com> Split driver struct into swrast/tnl/core components.
/external/mesa3d/src/mesa/main/texstore.c
371ef9c058b0d59bfb62689b64af1b29a2214d9e 18-Mar-2001 Gareth Hughes <gareth@valinux.com> Add missing header file include.
/external/mesa3d/src/mesa/main/texstore.c
ad7ce7360968ef536bb20675844152c40b62084b 18-Mar-2001 Gareth Hughes <gareth@valinux.com> Remove #endif.
/external/mesa3d/src/mesa/main/texstore.c
6b406bf09dc18f4d84ccb636d043c990a30da4e1 18-Mar-2001 Gareth Hughes <gareth@valinux.com> Remove old code, fix a few comments.
/external/mesa3d/src/mesa/main/texstore.c
2c3d34c905fa6b831a066afae83b938de05eb241 18-Mar-2001 Gareth Hughes <gareth@valinux.com> - Port 3.4 texture utils, texture format work to 3.5 (including new
FetchTexel routines).
- Initial hooks for GL_EXT_texture_filter_anisotropic.
/external/mesa3d/src/mesa/main/texstore.c
22144ab7552f0799bcfca506bf4ffa7f70a06649 12-Mar-2001 Gareth Hughes <gareth@valinux.com> Consistent copyright info (version number, date) across all files.
/external/mesa3d/src/mesa/main/texstore.c
b51b0a847d7e7daaea69f77ab569086ef81c24a2 07-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots of potential problems
/external/mesa3d/src/mesa/main/texstore.c
08836341788a9f9d638d9dc8328510ccd18ddeb5 03-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> lots of gl_*() to _mesa_*() namespace clean-up
/external/mesa3d/src/mesa/main/texstore.c
abe094e4a158fcefc40eee9605d5214846881534 21-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed GL_LUMINANCE_ALPHA bug in fetch_2d_texel()
/external/mesa3d/src/mesa/main/texstore.c
2aadbf41dfd4f63c6118d0ad2d8659d289cbe454 19-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functions
so they work like the other teximage functions. Added fallback routines to
texstore.c for drivers to use.
/external/mesa3d/src/mesa/main/texstore.c
e75d2424e53d6023f4414e40694cd467e5392b96 17-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> Changed FetchTexel() function pointer arguments.
Implemented glGetTexImage(format=GL_COLOR_INDEX).
Changed _mesa_unpack_depth_span() args.
Minor changes/clean-ups in mtypes.h.
Histogram counter component sizes were wrong.
/external/mesa3d/src/mesa/main/texstore.c
f7e1dfeaefda8865252513bc4d880ea8640efe4d 17-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> Work in glGetTexImage() to return GL_COLOR_INDEX images.
Prototype code for GL_SGIX_depth_texture / more flexible teximage code.
/external/mesa3d/src/mesa/main/texstore.c
1ceda0f84fdfe07951071fdf4fa643d07f09a4d7 07-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> GLchan fixes
/external/mesa3d/src/mesa/main/texstore.c
43bc364af4752ae8c673aa9fff8009f8a228b7ef 07-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> remove unused functions
/external/mesa3d/src/mesa/main/texstore.c
6628bc9cff74a6d524165e809f73eabc85ba34b5 07-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> made some changes to the initialization of gl_texture_image fields
/external/mesa3d/src/mesa/main/texstore.c
8e39ad2cd67d49be40ff0822f3269affdf83d601 06-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> Overhaul of texture image handling.
1. gl_texture_image struct's Data pointer points to images in driver's format.
2. Added FetchTexel() function pointer to struct gl_texture_image.
3. Changed Driver Tex[Sub]Image functions, return void now.
4. Texture storage/fetch code in new texstore.c file.
5. Removed texture.[ch] - functions moved to state.c

Note: FX driver updates not finished yet.
/external/mesa3d/src/mesa/main/texstore.c