History log of /external/mesa3d/src/mesa/main/teximage.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
efa6b5e42b427c1ec9f2d636d280c84e7da71346 11-Nov-2012 Marek Olšák <maraeo@gmail.com> mesa: add MaxNumLevels to gl_texture_image, remove MaxLog2

MaxLog2 led to bugs, because it didn't work well with 1D and 3D textures.

NOTE: This is a candidate for the stable branches.

v2: correct the comment at MaxNumlevels

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

Conflicts:
src/mesa/main/teximage.h
/external/mesa3d/src/mesa/main/teximage.c
e75051d1967350ceff0209dde24ae42696b13b5c 06-Oct-2012 Brian Paul <brianp@vmware.com> mesa: fix error check for zero-sized compressed subtexture

For glCompressedTexSubImage, width or height = 0 is legal.
Fixes a failure in piglit's s3tc-errors test.

This is for the 9.0 and 8.0 branches. Already fixed on master.
/external/mesa3d/src/mesa/main/teximage.c
32faf7ab0de8b88bb15a2cb262a73c411dce9d0d 06-Oct-2012 Brian Paul <brianp@vmware.com> mesa: don't call TexImage driver hooks for zero-sized images

This simply avoids some failed assertions but there's no reason to
call the driver hooks for storing a tex image if its size is zero.

Note: This is a candidate for the stable branches.
(cherry picked from commit 91d84096497ff538f55591f7e6bb0b563726db8d)
/external/mesa3d/src/mesa/main/teximage.c
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/teximage.c
604cd6b966d060334fdaa11ae8444797d54d3142 27-Sep-2012 Brian Paul <brianp@vmware.com> mesa: fix glCompressedTexSubImage assertion/segfault

If the destination texture image doesn't exist we'd hit an assertion
(or crash in a release build). The piglit/s3tc-errors test hits this.
This has already been fixed in master by the error checking code
consolidation.

Note: This is a candidate for the 8.0 branch.
/external/mesa3d/src/mesa/main/teximage.c
5ef472dd83b7b96538432157e2569dedf5625161 22-Sep-2012 Brian Paul <brianp@vmware.com> mesa: fix incorrect error for glCompressedSubTexImage

If a subtexture region isn't aligned to the compressed block size,
return GL_INVALID_OPERATION, not gl_INVALID_VALUE.

NOTE: This is a candidate for the stable branches.

Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit 1f586684d62c4f5208d1f3929d067a79ea2140ac)
/external/mesa3d/src/mesa/main/teximage.c
3dd84a58bb3a066eeaf854dd83a8d33801011367 19-Sep-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Don't override S3TC internalFormat if data is pre-compressed.

Commit 42723d88d intended to override an S3TC internalFormat to a
generic compressed format when the application requested online
compression of uncompressed data. Unfortunately, it also broke
pre-compressed textures when libtxc_dxtn isn't installed but the
extensions are forced on.

Both glCompressedTexImage2D() and glTexImage2D() call teximage(), which
calls _mesa_choose_texture_format(), hitting this override code. If we
have actual S3TC source data, we can't treat it as any other format, and
need to avoid the override.

Since glCompressedTexImage2D() passes in a format of GL_NONE (which is
illegal for glTexImage), we can use that to detect the pre-compressed
case and avoid the overrides.

Fixes a regression since 42723d88d370a7599398cc1c2349aeb951ba1c57.

NOTE: This is a candidate for the 9.0 branch.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-and-tested-by: Jordan Justen <jordan.l.justen@intel.com>
(cherry picked from commit 328961d95586931a17fe81ba816d362e8389c105)
/external/mesa3d/src/mesa/main/teximage.c
f9bb66b1cee2272b20ff3086e84d17026b8e8bb9 08-Sep-2012 Brian Paul <brianp@vmware.com> mesa: make _mesa_get_proxy_target() non-static

Needed for the next patch.

Note: This is a candidate for the stable branches.
(cherry picked from commit d17440dcaa42ac4c19dad1be7d4c7199395135a9)
/external/mesa3d/src/mesa/main/teximage.c
6e9baa85a95495e9343ca899a808d264076d67f8 05-Sep-2012 Brian Paul <brianp@vmware.com> mesa: fix per-level max texture size error checking

This is a long-standing omission in Mesa's texture image size checking.
We need to take the mipmap level into consideration when checking if the
width, height and depth are too large.

Fixes the new piglit max-texture-size-level test.
Thanks to Stéphane Marchesin for finding this problem.

Note: This is a candidate for the stable branches.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
(cherry picked from commit 771e7b6d884bb4294a89f276a904d90b28efb90a)
/external/mesa3d/src/mesa/main/teximage.c
42723d88d370a7599398cc1c2349aeb951ba1c57 22-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Do something sensible when on-line compression is requested but not possible

It is possible to force S3TC extensions to be enabled. This is
generally done to support applications that will only supply
pre-compressed textures. This accounts for the vast majority of
applications.

However, there is still the possibility of an application asking for
on-line compression. In that case, generate a warning and substitute a
generic compressed format. The driver will either pick an uncompressed
format or a compressed format that Mesa can handle on-line (e.g., FXT1).

This should only cause problems for applications that request on-line
compression and read the compressed texture back. This is likely an
infinitesimal subset of an already infinitesimal subset.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/teximage.c
ae88281b7b67d656a7d1467c39c8d93dc8778485 18-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Disallow alpha, luminance, and LA textures in core context

Also disallow the 1, 2, 3, and 4 formats.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
bb4a39ec951a696efa07a120c9446b677703abab 27-Jul-2012 Eric Anholt <eric@anholt.net> mesa: Expose texture buffer objects when the context is GL 3.1 core.

v2: Use API_OPENGL_CORE.

v3: Only require desktop GL. If a driver can't support TexBOs in a non-core
context, it should not enable them.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/teximage.c
d47a6ada9ca9670c60fc141fabadf40c63031c08 24-Aug-2012 Brian Paul <brianp@vmware.com> mesa: add texture target field to ChooseTextureFormat() driver hook

This will let us choose the actual hardware format depending on the
type of texture.

v2: fixup radeon, nouveau, intel and swrast drivers too

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/teximage.c
388af5b6f43fc81d7a9423a42358bcea65ab8ba9 24-Aug-2012 Brian Paul <brianp@vmware.com> main: fix ES compile breakage
/external/mesa3d/src/mesa/main/teximage.c
fe2cc65fbb37bca40ff215a3709dacbcd317350c 22-Aug-2012 Brian Paul <brianp@vmware.com> mesa: code movement in teximage.c

To get rid of a forward declaration.
/external/mesa3d/src/mesa/main/teximage.c
bdff1dfb398afdc187787b70bb62511ae1edd4ee 22-Aug-2012 Brian Paul <brianp@vmware.com> mesa: consolidate glTexImage and glCompressedTexImage code

There was a lot of similar or duplicated code before.
To minimize this patch's size, use a forward declaration for
compressed_texture_error_check(). Move the function in the next patch.
/external/mesa3d/src/mesa/main/teximage.c
e93cb4b34fed27eccf291963b5fe2c26cea46251 22-Aug-2012 Brian Paul <brianp@vmware.com> mesa: make glTexImage, glCompressedTexImage proxy code more alike

Next up, we can combine the teximage() and compressed_teximage() functions.
/external/mesa3d/src/mesa/main/teximage.c
c1a9e6010baceeff78f72ac0692aefc4312d815f 22-Aug-2012 Brian Paul <brianp@vmware.com> mesa: rename texpal.[ch] to texcompress_cpal.[ch]

To be consistent with other files related to texture compression.
/external/mesa3d/src/mesa/main/teximage.c
8a935d71ff4ded6f3cdd8e06dcd1a5e3de3d3cc0 22-Aug-2012 Brian Paul <brianp@vmware.com> mesa: make _mesa_get_proxy_tex_image() static

It's not used by any other file.
/external/mesa3d/src/mesa/main/teximage.c
637a79aa2381e363d6b94c0bb5692a1882e9c945 22-Aug-2012 Brian Paul <brianp@vmware.com> mesa: don't clear proxy image fields when regular GL error is generated

If a proxy texture call generates a regular GL error, we should not
clear the proxy image's width/height/depth/format fields. Use a new
PROXY_ERROR token to distinguish proxy errors from regular GL errors.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/teximage.c
1f5b1f98468d5e80be39e619ed15c422fbede8d3 22-Aug-2012 Brian Paul <brianp@vmware.com> mesa: fix glTexImage proxy texture error generation

When calling glTexImage() with a proxy target most error conditions should
generate a GL error. We were erroneously doing the proxy-error behaviour
(where we zeroed-out the image's width/height/depth/format fields) in too
many places.

There's another issue with proxy textures, but that'll be fixed in the
next patch.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/teximage.c
9b028faeaa2c4b0ca2e86892aac70a2f2b872fbb 27-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Validate glCompressedTexSubImage internalFormat in Mesa code rather than the ES wrapper

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
c11096e94a68ce0a1d7c9cda0f178ceca44ce25d 27-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Validate glCopyTexImage internalFormat in Mesa code rather than the ES wrapper

v2: Add GLES3 filtering. I'm not 100% sure this is correct.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
9848e86af0c937a6f7609289ab2705c3535f378f 27-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Validate glTexSubImage format and type in Mesa code rather than the ES wrapper

v2: Add proper GLES3 filtering.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
409620e47748479aaef593dc9bec0d6dd520e14a 27-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Validate glTexImage format, type, and internalFormat in Mesa code rather than the ES wrapper

v2: Add proper GLES3 filtering.

v3: Collapse ALPHA, LUMINANCE, and LUMINANCE_ALPHA cases per review
comment from Ken.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
0686ccac950bac1a650400b29c47ddaafea22fa9 27-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Validate glTexImage border in Mesa code rather than the ES wrapper

Also validate glCopyTexImage border. This fixes a bug in the APIspec.
Previously glTexImage3DOES could be passed a non-zero border without error.

NOTE: This is a candidate for stable release branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
59d965333c05534475b60042571366656b97ab9d 27-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa: Generate an error when glCopyTexImage border is invalid

NOTE: This is a candidate for stable release branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
530c9d764b84035728a28ee2db996fffe49125ce 26-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Validate tex image targets in Mesa code rather than the ES wrapper

This should take care of all the TexImage, TexSubImage, CopyTexImage,
CompressedTexImage3DOES, and CopyTexSubImage type paths.

v2: Add proper core-profile and GLES3 filtering.

v3: Squash the CompressedTexImage3DOES patch per review comment from
Ken.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
ea9b212fca78eada7cc7c4449de3f31d2ceea1c3 26-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Validate EGLImageTargetTexture2DOES target in Mesa code rather than the ES wrapper

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
df2c4cbcedb2dcf2aa44adaa6462d9becccbea49 21-Aug-2012 Anuj Phogat <anuj.phogat@gmail.com> mesa: Fix generic compressed texture formats' handling in glTexImage/glCopyTexImage

The generic texture formats should be accepted by the <internalformat>
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and
CopyTexImage2D functions. When the application specifies a generic
format, the driver is free to pick an uncompressed format.

This patch reverts the changes due to following commit:
commit a36581ccc06693231011c3fe136207e73191b1ce
mesa: do more teximage error checking for generic compressed formats

This patch fixes compressed texture format failures in intel oglconform
pxconv-gettex test case:
https://bugs.freedesktop.org/show_bug.cgi?id=47220

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
3df13b32e56dbc76bdc72b75ea1462f79b44dce9 11-Jun-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Support GL_TEXTURE_BUFFER in GetTexLevelParameter[if]v in GL 3.1+.

The OpenGL 3.1 specification explicitly allows this. Oddly, the
ARB_texture_buffer_object spec's issues section claims this isn't
allowed, but proceeds to explain that the extension simply doesn't edit
the underlying spec to allow it, and thus it didn't appear in the list
of legal texture targets.

Thus, this patch legalizes it only in 3.1+ contexts, but still returns
INVALID_ENUM in earlier contexts that expose ARB_texture_buffer_object.

Unfortunately, the behavior of the call is horrendously undefined.

Fixes oglconform's tbo/negative.textureParams test.

v2: Require desktop OpenGL.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
58d11524dace34f6e9e513b23eaeb098d1eafd0b 11-Jun-2012 Kenneth Graunke <kenneth@whitecape.org> mesa: Add GL_TEXTURE_CUBE_MAP to _mesa_max_texture_levels(). [v2]

For cube maps, _mesa_generate_mipmap() calls this with
GL_TEXTURE_CUBE_MAP (the gl_texture_object's Target) rather than one
of the faces. This caused _mesa_max_texture_levels() to return 0, which
resulted in maxLevels == -1 and the next line's assertion to fail.

This function is called from seven places:
- fbobject.c: framebuffer_texture()
- mipmap.c: _mesa_generate_mipmap()
- texgetimage.c:
- getteximage_error_check()
- getcompressedteximage_error_check()
- texparam.c: _mesa_GetTexLevelParameteriv()
- texstorage.c: tex_storage_error_check()

All of these (or their callers) now explicitly check for invalid targets
already, so this shouldn't cause invalid targets to slip through.
(Technically _mesa_generate_mipmap() doesn't check for invalid targets,
but the API-facing _mesa_GenerateMipmapEXT() function does.)

+2 oglconforms (float-texture/mipmap.automatic and mipmap.manual)

In addition to fixing the mipmap bug, it should also cause glTexStorage
to accept GL_TEXTURE_CUBE_MAP, which is explicitly allowed by the spec.

v2: Drop alterations to callers; this is now in a patch series that adds
explicit checking to API functions.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
9c1b41879aab2ff7386c547a2ccce7686c018cf5 26-Jul-2012 Eric Anholt <eric@anholt.net> mesa: Replace VersionMajor/VersionMinor with a Version field.

As we get into supporting GL 3.x core, we come across more and more features
of the API that depend on the version number as opposed to just the extension
list. This will let us more sanely do version checks than "(VersionMajor == 3
&& VersionMinor >= 2) || VersionMajor >= 4".

v2: Fix a bad <= 30 check.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/teximage.c
09714c09a40501d82823e42f7461d7b8d7bf11c0 19-Jul-2012 Jordan Justen <jordan.l.justen@intel.com> mesa: add support for using API_OPENGL_CORE

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
9ad8f431b2a47060bf05517246ab0fa8d249c800 25-Jun-2012 Jordan Justen <jordan.l.justen@intel.com> mesa: add glformats integer type/format detection routines

_mesa_is_integer_format is moved to formats.c and renamed
as _mesa_is_enum_format_integer.

_mesa_is_format_unsigned, _mesa_is_type_integer,
_mesa_is_type_unsigned, and _mesa_is_enum_format_or_type_integer
are added.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
e9b908b014be57cd2d3f0432adf16ac5b9631325 16-Jul-2012 Paul Berry <stereotype441@gmail.com> msaa: Generate proper error for operations prohibited on MSAA buffers.

From the GL 3.0 spec, section 4.3.3, in the documentation for
CopyPixels():

"An INVALID_OPERATION error will be generated if the object bound
to READ_FRAMEBUFFER_BINDING is framebuffer complete and the value
of SAMPLE_BUFFERS is greater than zero."

The same applies to CopyTexImage...() and CopyTexSubImage...()
functions, since they are defined in terms of CopyPixels().

Previously we were generating an INVALID_FRAMEBUFFER_OPERATION error
in these cases.

Fixes piglit tests
"EXT_framebuffer_multisample/negative-{copypixels,copyteximage}".

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/teximage.c
1a06e8454ec714e950bc88882cd985534a18bf1f 12-Jul-2012 Marek Olšák <maraeo@gmail.com> mesa,st/mesa: implement GL_RGB565 from ARB_ES2_compatibility

This was not implemented, because the spec was changed just recently.

Everything has been in place already.

Gallium has PIPE_FORMAT_B5G6R5_UNORM, while Mesa has MESA_FORMAT_RGB565.

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

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
a36581ccc06693231011c3fe136207e73191b1ce 01-May-2012 Brian Paul <brianp@vmware.com> mesa: do more teximage error checking for generic compressed formats

When glTexImage or glCopyTexImage is called with internalFormat being a
generic compressed format (like GL_COMPRESSED_RGB) we need to do the same
error checks as for specific compressed formats. In particular, check if
the texture target is compatible with the format. None of the texture
compression formats we support so far work with GL_TEXTURE_1D, for example.

See also https://bugs.freedesktop.org/show_bug.cgi?id=49124

NOTE: This is a candidate for the 8.0 branch.
/external/mesa3d/src/mesa/main/teximage.c
18bb6852b234a69530a4a6f3ff4e9d33b8e8c7fb 29-Apr-2012 Dylan Noblesmith <nobled@dreamwidth.org> mesa: reject immutable textures in glEGLImageTargetTexture2DOES()

GL_ARB_texture_storage says:

The commands eglBindTexImage, wglBindTexImageARB, glXBindTexImageEXT or
EGLImageTargetTexture2DOES are not permitted on an immutable-format
texture.
They will generate the following errors:
- EGLImageTargetTexture2DOES: INVALID_OPERATION
- eglBindTexImage: EGL_BAD_MATCH
- wglBindTexImage: ERROR_INVALID_OPERATION
- glXBindTexImageEXT: BadMatch

Fixing the EGL and GLX cases requires extending the DRI interface,
since setTexBuffer2 doesn't currently return any error information.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
bf82ce3c66507e5e1722fccff0df47cf9dcdb2d4 28-Mar-2012 Eric Anholt <eric@anholt.net> mesa: Add support for the GL 3.1 R/RG formats in texture buffer objects.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/teximage.c
664355f05b39303fa0995b72160c82f5bf50e95e 27-Mar-2012 Eric Anholt <eric@anholt.net> mesa: Track a gl_format for the texture buffer format.

There was a function full of unused mappings from the GLenum to
datatype/comps, but that wasn't all the information a driver would
want, which includes the other fields that a gl_format has. Given
that all the texture buffer formats were represented in gl_format,
just use that as our description.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/teximage.c
878c69fe540a73011b676ead33ac8d9b8c9e63aa 17-Mar-2012 Brian Paul <brianp@vmware.com> mesa: use _mesa_dirty_texobj() function

To mark the texture object as incomplete.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/teximage.c
6c1dea54457c1d19b67794f188c40c74c23ba762 07-Mar-2012 Brian Paul <brianp@vmware.com> mesa: handle array textures in strip_texture_border()

If the texture is a 1D array, don't remove the border pixel from the
height. Similarly for 2D array textures and the depth direction.
Simplify the function by assuming the border is always one pixel.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
/external/mesa3d/src/mesa/main/teximage.c
a9523af0e88017d683c19ff238bfc5eb7cb88fd0 02-Mar-2012 Anuj Phogat <anuj.phogat@gmail.com> mesa: Fix valid texture target test in _mesa_GetTexLevelParameteriv()

_mesa_max_texture_levels() is also used to test valid texture target
in _mesa_GetTexLevelParameteriv(). GL_TEXTURE_CUBE_MAP is not allowed
as texture target in glGetTexLevelParameter(). So, this should throw
GL_INVALID_ENUM error.

Few other functions which use _mesa_max_texture_levels() like
getcompressedteximage_error_check() and getteximage_error_check()
also don't accept GL_TEXTURE_CUBE_MAP.

Above fix makes piglit fbo-cubemap test to fail. This is because of
incorrect texture target passed to _mesa_max_texture_levels() in
framebuffer_texture(). Fixing that as well

Note: This is a candidate for the stable branches

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
6eba268ec65523fe8b2ec7dee670b2b5d4ebe1d9 28-Feb-2012 Brian Paul <brianp@vmware.com> mesa: asst. fixes for texture arrays and borders

For 1D array textures, there is no border on the height dimension.
For 2D array textures, there is no border on the depth dimension.
/external/mesa3d/src/mesa/main/teximage.c
15357947226c5630bf546b0deec86f7e994de76a 28-Feb-2012 Brian Paul <brianp@vmware.com> mesa: minor comment, whitespace fixes in teximage.c
/external/mesa3d/src/mesa/main/teximage.c
b5c409363cfd144b1caad50b77ccc7591de42af2 16-Feb-2012 Anuj Phogat <anuj.phogat@gmail.com> mesa: fix issues with texture border and array textures

For a 1D texture array, the border only applies to the width. For a 2D
texture array the border applies to the width and height but not the depth.
Sucha cases were not handled correctly in _mesa_init_teximage_fields().

Note: This is a candidate for stable branches

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
6f3d91840945fbd9221a247e4f95b32c4051f202 15-Feb-2012 Brian Paul <brianp@vmware.com> mesa: add missing texture integer test in glTexSubImage()

If the texture format is integer, the incoming user data must also be
integer (and similarly for non-integer textures).

NOTE: This is a candidate for the stable branches.

Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/teximage.c
ea228d97f811092b9ffcb90565184a7a8f089477 26-Jan-2012 Anuj Phogat <anuj.phogat@gmail.com> mesa: fix maximum allowed proxy texture size condition

width, height parameter in glTexImage2D() includes: texture image
width + 2 * border (if any). So when doing the texture size check
in _mesa_test_proxy_teximage() width and height should not exceed
maximum supported size for target texture type + 2 * border.
i.e. 1 << (ctx->Const.MaxTextureLevels - 1) + 2 * border

Texture border is anyway stripped out before it is given to intel
or gallium drivers.

This patch fixes Intel oglconform test case:
max_values negative.textureSize.textureCube
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44970

Note: This is a candidate for mesa 8.0 branch.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ian Romanick <idr@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
627b435dfe17698a1c69e9a259838fc6f2e6bd4e 07-Feb-2012 Brian Paul <brianp@vmware.com> mesa: new _mesa_error_check_format_and_type() function

This replaces the _mesa_is_legal_format_and_type() function.

According to the spec, some invalid format/type combinations to
glDrawPixels, ReadPixels and glTexImage should generate
GL_INVALID_ENUM but others should generate GL_INVALID_OPERATION.

With the old function we didn't make that distinction and generated
GL_INVALID_ENUM errors instead of GL_INVALID_OPERATION. The new
function returns one of those errors or GL_NO_ERROR.

This will also let us remove some redundant format/type checks in
follow-on commit.

v2: add more checks for ARB_texture_rgb10_a2ui at the top of
_mesa_error_check_format_and_type() per Ian.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
15986d21ebaaeedb234b066edba5cf7f6ea87a3c 26-Jan-2012 Anuj Phogat <anuj.phogat@gmail.com> mesa: fix maximum allowed proxy texture size condition

width, height parameter in glTexImage2D() includes: texture image
width + 2 * border (if any). So when doing the texture size check
in _mesa_test_proxy_teximage() width and height should not exceed
maximum supported size for target texture type.
i.e. 1 << (ctx->Const.MaxTextureLevels - 1)

Texture border is anyway stripped out before it is given to intel
or gallium drivers.

This patch fixes Intel oglconform test case: max_values
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44970

Note: This is a candidate for mesa 8.0 branch.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ian Romanick <idr@freedesktop.org>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
3363e87d7d5b3f19294fc770dc7c506c26646010 22-Jan-2012 Marek Olšák <maraeo@gmail.com> mesa: allow exposing GL3 without EXT_texture_integer

Strictly speaking, it's not legal to expose EXT_texture_integer without
EXT_gpu_shader4. It might be even dangerous (apps can assume EXT_gpu_shader4
is available without checking for it).

The check in compute_version is removed as well, because that's already
covered by GLSLVersion >= 130.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
422b18794eacc8f0be5b4e9611e2726f4e0d86b6 20-Jan-2012 Eric Anholt <eric@anholt.net> mesa: Fix CopyTex{Sub,}Image error checks for integer vs non-integer.

Fixes Intel oglconform negative.typeFormatMismatch.copyteximage.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
6950a4faf650fe119ee97aa18b006eed099038be 11-Jan-2012 Eric Anholt <eric@anholt.net> mesa: Throw the required error for glCopyTex{Sub,}Image from multisample FBO.

Fixes piglit EXT_framebuffer_multisample/negative-copyteximage.

Reviewed-by: Brian Paul <brianp@vmware.com>
NOTE: This is a candidate for the 8.0 branch.
/external/mesa3d/src/mesa/main/teximage.c
36ede89687fe2de213f2637ab7acfb80cfd856cd 12-Jan-2012 Brian Paul <brianp@vmware.com> mesa: use _mesa_is_user_fbo() and _mesa_is_winsys_fbo() functions

Rather than testing the fbo's name against zero.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
56b57aa360a8bad0c4b68fbdf7c64ac33f9e7661 29-Dec-2011 Brian Paul <brianp@vmware.com> mesa: rework ctx->Driver.CopyTexSubImage() parameters

Replace target, level parameters with gl_texture_image.
Add gl_renderbuffer parameter to indicate source buffer for the copy.

This removes some redundant code in the drivers to find the source
renderbuffer and the destination texture image (which we already had
in _mesa_CopyTexSubImage).

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
892a2542a3f0753a7064c710b96f077dd5490624 04-Jan-2012 Brian Paul <brianp@vmware.com> mesa: remove unused _mesa_init_teximage_fields() target parameter

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.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/teximage.c
dae2fca70521909cfdd8d217d5e42fc6b33b05f6 16-Dec-2011 Pekka Paalanen <ppaalanen@gmail.com> mesa: fix a leak in _mesa_delete_texture_image()

Valgrind complains about a definitely lost block allocated in
intelNewTextureImage(). This leak was apparently created by
6e0f9001fe3fb191c2928bd09aa9e9d05ddf4ea9, "mesa: move
gl_texture_image::Data, RowStride, ImageOffsets to swrast", as it
removes the free() from _mesa_delete_texture_image().

Put the free() back, fixes a Valgrind error.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
009ac0618ccb8c1347c353b576442ed70592c20e 18-Dec-2011 Brian Paul <brianp@vmware.com> mesa: make _mesa_set_tex_image() static since it's not called anywhere else
/external/mesa3d/src/mesa/main/teximage.c
d842a118b26a56c9c5e4310f30f70199c42ea90e 16-Dec-2011 Brian Paul <brianp@vmware.com> mesa: make update_fbo_texture() non-static

We'll call this from the mipmap generation code.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/teximage.c
29a7d7784def4f37d3fe38a123a17836dd7fafc0 24-Nov-2011 Anuj Phogat <anuj.phogat@gmail.com> mesa: Allow glTexImage2D with a depth component cube map.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
89efc1b839591473d0a448dc1087a5deb56579c7 02-Dec-2011 Brian Paul <brianp@vmware.com> mesa: move _mesa_error() call in compressedteximage()

We shouldn't call _mesa_error() if the target is a proxy texture.
Errors are handled later in the function.
Fixes a Coverity warning.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
fc144728c7e33e53f7a4a4486eb81fddff156758 23-Nov-2011 Brian Paul <brianp@vmware.com> mesa: update comment for clear_teximage_fields()
/external/mesa3d/src/mesa/main/teximage.c
2efa3d4f9fd1e1683c5366d402d8740ecfb688e5 19-Nov-2011 Brian Paul <brianp@vmware.com> mesa: define, use _mesa_is_cube_face() in several places

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/teximage.c
0c87f16817ff0bf1f05e0d634944fd47b097faee 23-Oct-2011 Chia-I Wu <olv@lunarg.com> mesa: add support for GL_OES_EGL_image_external

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

Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
a0d736b3b7c325ab0295da3b0e3b92d170b44261 31-Oct-2011 Brian Paul <brianp@vmware.com> mesa: new glTexImage error checks for GL_ARB_texture_storage

If the texture memory was allocated with glTexStorage1/2/3D() we can
only change the image data with glTexSubImage calls.
/external/mesa3d/src/mesa/main/teximage.c
638b657f838266e3d4892d06ff53a1c1bee24a9b 25-Oct-2011 Eric Anholt <eric@anholt.net> mesa: Apply StripTextureBorder to CopyTexImage as well.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
9c4b02528752eb6392009e41025202fc9f9ca5b3 17-Oct-2011 Eric Anholt <eric@anholt.net> mesa: Fold gallium's texture border stripping into a core Mesa option.

We wanted to reuse this in the Intel driver.

v2: Move the flag to ctx->Const

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
b487fc50b0f977719729a540230e72d406063860 24-Oct-2011 Brian Paul <brianp@vmware.com> mesa: remove dead code from teximage.c
/external/mesa3d/src/mesa/main/teximage.c
66681b4c8cb1ef16f42c1591298cb30c83bca09b 23-Oct-2011 Brian Paul <brianp@vmware.com> mesa: remove _mesa_alloc_texmemory(), _mesa_free_texmemory()

Core Mesa no longer does any texture memory allocation.
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
e06277bd886a9a79f0bf9b175ec26fbe187689c2 13-Oct-2011 Brian Paul <brianp@vmware.com> s/format/baseFormat/ to be more explicit

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/teximage.c
241b3e4bbe93ecab545b4454f656c9ffd073ae85 13-Oct-2011 Brian Paul <brianp@vmware.com> mesa: remove redundant buffer checks in copytexsubimage_error_check2()

Again, there was already a call to _mesa_source_buffer_exists() earlier in
the function.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/teximage.c
63aa53bf3499672a14259af9ce964065776584fe 13-Oct-2011 Brian Paul <brianp@vmware.com> mesa: remove redundant buffer checks in copytexture_error_check()

There was already a call to _mesa_source_buffer_exists() earlier in
the function.

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/teximage.c
9520f483b8f1e45fa474674b415554988de5d8d3 01-Oct-2011 Brian Paul <brianp@vmware.com> mesa: s/INLINE/inline/

INLINE is still seen in some files (some generated files, etc) but this
is a good start.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/teximage.c
29386d1f2d60e905d63f4c5f045ff3794b2ff99c 31-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove EXT_bgra and EXT_texture_format_BGRA8888 extension enable flags

All drivers remaining in Mesa support this extension. This extension
is either required or optional features in desktop OpenGL, OpenGL ES
1.x, and OpenGL ES 2.x.

EXT_texture_format_BGRA8888 is mostly a subset of EXT_bgra. The only
difference seems to be that EXT_texture_format_BGRA8888 allows GL_BGRA
as an internal format to glTexImage2D and friends.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/teximage.c
9e9a76eea17bc92c8ac74323c99e10b9480ee583 22-Sep-2011 Brian Paul <brianp@vmware.com> mesa: remove support for GL_APPLE_client_storage extension

AFAIK, there are few users of this extension and I can see a couple
reasons why this is probably broken in Mesa anyway.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
980f6f1b37ca88529b3e000235156eab93254fac 22-Sep-2011 Brian Paul <brianp@vmware.com> mesa: move gl_texture_image::Width/Height/DepthScale fields to swrast

These fields were only used for swrast so move them into
swrast_texture_image.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
eaf376ba354db11f7729452060570b48a029c9a0 22-Sep-2011 Brian Paul <brianp@vmware.com> mesa: move gl_texture_image::_IsPowerOfTwo into swrast

It's only used by swrast.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
3ebbfc8372d410801c799b3eb7821075dae73b17 12-Sep-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Refactor compressed texture error checks to work with paletted textures

This code was really broken before. A lot of the error checks were
done much later (too late), and some of the error checks would fail.
The underlying problem is that Mesa doesn't ever keep compressed paletted
textures in their original format. The textures are immediately
converted to some RGB or RGBA format.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39991
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Jin Yang <jin.a.yang@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
fc0fa16be3792bdabad0993fc4026bf621d6092f 12-Sep-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Add GL_OES_compressed_paletted_texture formats to _mesa_base_tex_format

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Jin Yang <jin.a.yang@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
a1661dc8957a35899d653e9fffd97f166c56be56 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: move gl_texture_image::FetchTexel fields to swrast

This also involves passing swrast_texture_image instead of gl_texture_image
into all the fetch functions.
/external/mesa3d/src/mesa/main/teximage.c
146f536b3332b7a2022bb4ba5e2d1d2ec4bedd98 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: add new DeleteTextureImage() driver hook

Matches the NewTextureImage() hook. With new subclasses of
gl_texture_image coming we need a new hook to properly delete objects of
those subclasses.
/external/mesa3d/src/mesa/main/teximage.c
ce82914f5ad4bb9148370826099925590e9798fd 17-Sep-2011 Brian Paul <brianp@vmware.com> mesa: move _mesa_update_fetch_functions() calls into swrast

Do it during swrast state validation since the FetchTexel() functions
are only called from swrast now and not core Mesa.
Remove assertions in mipmap.c since they're no longer appropriate.
/external/mesa3d/src/mesa/main/teximage.c
eba527bf9ffc2fd67c44fb77104107556f509b49 29-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Remove API facing bits of EXT_paletted_texture and EXT_shared_texture_palette

This was also discussed at XDS 2010. However, actually making the
change was delayed because several drivers still exposed these
extensions to significant benefit (e.g., tdfx). Now that those
drivers have been removed, this code can be removed as well.

v2: A lot of bits that were missed in the previous patch have been removed.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/teximage.c
68f8cf72638e974a5bf2ae3e88c2e3539d88e2b6 27-Jul-2011 Eric Anholt <eric@anholt.net> mesa: Don't check for image->Data when freeing an image's contents.

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

This was produced by the following semantic patch:

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

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

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

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
a231d245514b43cf547ccb996b68efc0186e6821 15-Jul-2011 Brian Paul <brianp@vmware.com> mesa: add gl_texture_image::Face, Level fields

Several drivers have these fields in their subclasses of gl_texture_image.
They'll be useful for core Mesa too...

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
120d71a45cfda1edfa8cd6b1732e209eb98b53d8 30-Jul-2011 Brian Paul <brianp@vmware.com> mesa: minor comment changes in teximage.c
/external/mesa3d/src/mesa/main/teximage.c
5874890c26f434f54e9218b83fae4eb8175c24e9 20-Jul-2011 Brian Paul <brianp@vmware.com> mesa: stop using ctx->Driver.CopyTexImage1D/2D() hooks
/external/mesa3d/src/mesa/main/teximage.c
ca7510bbf9bdff35f813f970e3120a9c7f728cca 24-Jun-2011 Brian Paul <brianp@vmware.com> mesa: fix incorrect error string
/external/mesa3d/src/mesa/main/teximage.c
753660780a84187043d0dc4b0e0f449786862182 17-Jun-2011 Brian Paul <brianp@vmware.com> mesa: allow depth texture arrays

The GL_EXT_texture_array spec allows this (Section 3.8.1).
Fixes failing piglit fbo-depth-array test.

NOTE: This is a candidate for the 7.10 branch.
/external/mesa3d/src/mesa/main/teximage.c
b537f54b3a2bd47ec861f5c432c49529684eef21 09-Jun-2011 Roland Scheidegger <sroland@vmware.com> mesa: use __builtin_clz for logbase2 when available

Also rename to _mesa_logbase2 and move to imports.h to keep the ugly
ifdef GNUC stuff outside other files (also to allow reuse).
/external/mesa3d/src/mesa/main/teximage.c
bab3b4a75886acd040e81730d9d3dfb31d4f0d48 02-Jun-2011 Benjamin Bellec <b.bellec@gmail.com> mesa: faster logbase2

With minor clean-ups by Brian Paul.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
4609e80288bacf19af99b0ed7656eef9bb280912 27-May-2011 Brian Paul <brianp@vmware.com> mesa: s/height/depth/ in texsubimage()

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=37648
/external/mesa3d/src/mesa/main/teximage.c
d5a5893adc395158e1dc77dacd417f4eb2696237 16-Apr-2011 Carl-Philip Haensch <Carl-Philip.Haensch@mailbox.tu-dresden.de> mesa: provide more info for glCompressedTexImage() errors

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/teximage.c
af0e2ef8cc5c823e3c950233a09b8de87933a363 16-Apr-2011 Brian Paul <brianp@vmware.com> mesa: move error check code in compressedteximage()

This was mistakenly inside the #if FEATURE_ES block.
/external/mesa3d/src/mesa/main/teximage.c
874a2c0b7da62f4dd08dedcec221f55b22e40e95 06-Apr-2011 Brian Paul <brianp@vmware.com> mesa: core support for GL_ARB_texture_buffer_object

No GLSL or driver support yet.
/external/mesa3d/src/mesa/main/teximage.c
db0f9e701d59dcfcd3b50f4d245897692f27fec9 05-Apr-2011 Brian Paul <brianp@vmware.com> mesa: added _mesa_get_attachment_teximage() helpers
/external/mesa3d/src/mesa/main/teximage.c
0be369975fdfa79bcb702d0c13aa0a221055f61b 18-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: initial EXT_texture_snorm support

The component ordering of some formats has been been reversed to match
Gallium types.
/external/mesa3d/src/mesa/main/teximage.c
7ecb61c30c4984a8513b306b640f9d274d8ecf61 23-Mar-2011 Brian Paul <brianp@vmware.com> mesa: remove _MESA_NEW_TRANSFER_STATE
/external/mesa3d/src/mesa/main/teximage.c
69f16accd0aa3b8d414092a5e52ccc99649da01a 07-Mar-2011 Marek Olšák <maraeo@gmail.com> mesa: add ATI_texture_compression_3dc

LUMINANCE_ALPHA_LATC2 = LUMINANCE_ALPHA_3DC, so this is easy.

Note that there is no specification for 3DC, just a few white papers
from ATI.
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
b0fceae22f008f3963a392ebd57d7d2a095a5e05 01-Mar-2011 Brian Paul <brianp@vmware.com> mesa: reduce calls to _mesa_test_framebuffer_completeness()

when doing glCopyTex[Sub]Image() and checking the source buffer's
completeness.
We only need to determine FBO completeness when the status is indeterminate.
/external/mesa3d/src/mesa/main/teximage.c
684c66bb8b8cdaa7fc18b64a6f739ad70a10cd54 26-Jan-2011 Brian Paul <brianp@vmware.com> mesa: fix MESA/EXT typo

Spotted by Bernd Buschinski.
/external/mesa3d/src/mesa/main/teximage.c
f2dd11817a66b6254e1533398dc53f1bc51953be 26-Jan-2011 Brian Paul <brianp@vmware.com> mesa: add checks for GL_EXT_texture_array

In case the driver enables GL_MESA_texture_array but not the EXT version.
/external/mesa3d/src/mesa/main/teximage.c
f1452844fe2522387bbc6633f22aec09b8a06204 21-Jan-2011 Benjamin Franzke <benjaminfranzke@googlemail.com> mesa: allow internalFormat=GL_BGRA_EXT in TexImage2D
/external/mesa3d/src/mesa/main/teximage.c
a988ddf3798e0ec568704e4a72b46030079c7e45 10-Jan-2011 Dave Airlie <airlied@redhat.com> mesa/swrast: handle sRGB FBOs correctly (v2)

From reading EXT_texture_sRGB and EXT_framebuffer_sRGB and interactions
with FBO I've found that swrast is converting the sRGB values to linear for
blending when an sRGB texture is bound as an FBO. According to the spec
and further explained in the framebuffer_sRGB spec this behaviour is not
required unless the GL_FRAMEBUFFER_SRGB is enabled and the Visual/config
exposes GL_FRAMEBUFFER_SRGB_CAPABLE_EXT.

This patch fixes swrast to use a separate Fetch call for FBOs bound to
SRGB and avoid the conversions.

v2: export _mesa_get_texture_dimensions as per Brian's comments.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
3488b14a047bf1f05831b3bbdc374a0da482212c 05-Jan-2011 Eric Anholt <eric@anholt.net> mesa: Fix the baseFormat for GL_COMPRESSED_SLUMINANCE_EXT.

It's just LUMINANCE, not LUMINANCE_ALPHA. Fixes
fbo-generatemipmap-formats GL_EXT_texture_sRGB-s3tc assertion failure
when it tries to pack the L8 channels into LUMINANCE_ALPHA and wonders
why it's trying to do that.
/external/mesa3d/src/mesa/main/teximage.c
09a5e028a6d254f619132e302a96c8535018603d 09-Dec-2010 Brian Paul <brianp@vmware.com> mesa: simplify target checking for TexImage functions
/external/mesa3d/src/mesa/main/teximage.c
7404fa3f07a953343f2640fa97d82ab82ba5545d 09-Dec-2010 Brian Paul <brianp@vmware.com> mesa: revamp error checking for compressed texture images

Simplify some code, remove unneeded checks, etc.
/external/mesa3d/src/mesa/main/teximage.c
c64447f47de168e82086bc2fb483817b82e59cab 08-Dec-2010 Brian Paul <brianp@vmware.com> mesa: make _mesa_test_proxy_teximage() easier to read
/external/mesa3d/src/mesa/main/teximage.c
4ff70b7a8f5f6383d8f320e68d798d0654799210 08-Dec-2010 Brian Paul <brianp@vmware.com> mesa: consolidate glCompressedTexImage1/2/3D() functions
/external/mesa3d/src/mesa/main/teximage.c
1c23b860cea93534f726d2a18658444f37f43538 08-Dec-2010 Brian Paul <brianp@vmware.com> mesa: consolidate glCopyTexSubImage1/2/3D() functions
/external/mesa3d/src/mesa/main/teximage.c
11f386fb504b9f07dd501a65f31185cfa0e9a679 08-Dec-2010 Brian Paul <brianp@vmware.com> mesa: consolidate glCopyTexImage1/2D() code
/external/mesa3d/src/mesa/main/teximage.c
45124e043da5a67e1081526d61b99422f4ccde19 08-Dec-2010 Brian Paul <brianp@vmware.com> mesa: consolidate the glTexSubImage1/2/3D() functions
/external/mesa3d/src/mesa/main/teximage.c
35f620d55ced7fcb3f39465c173ba2ae435a2ba1 08-Dec-2010 Brian Paul <brianp@vmware.com> mesa: simplify proxy texture code in texture_error_check()
/external/mesa3d/src/mesa/main/teximage.c
d0b2b8da7d363f6b79fcab7bfe6e81d1d436944e 07-Dec-2010 Brian Paul <brianp@vmware.com> mesa: consolidate glTexImage1/2/3D() code

Something similar could be done for glCopyTex[Sub]Image() and the
compressed texture image functions as well.
/external/mesa3d/src/mesa/main/teximage.c
4b08f35487fa439fd9ca4d653d3a146c3dc09c1c 02-Dec-2010 Brian Paul <brianp@vmware.com> mesa: raise max texture sizes to 16K

This allows 16K x 16K 2D textures, for example, but we don't want to
allow that for 3D textures. The new gl_constants::MaxTextureMBytes
field is used to prevent allocating too large of texture image.
This allows a 16K x 32 x 32 3D texture, for example, but prevents 16K^3.
Drivers can override this limit. The default is currently 1GB.

Apps should use the proxy texture mechanism to determine the actual
max texture size.
/external/mesa3d/src/mesa/main/teximage.c
5e3733fadf08178fca7c9f20a0f4783f940383aa 21-Nov-2010 Brian Paul <brianp@vmware.com> mesa: fix get_texture_dimensions() for texture array targets

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31779
/external/mesa3d/src/mesa/main/teximage.c
83e93b6008213ad86607027e8434ecaccc8b1a2c 19-Nov-2010 Brian Paul <brianp@vmware.com> mesa: pass gl_format to _mesa_init_teximage_fields()

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

Also remove unneeded calls to clear_teximage_fields().

Finally, call _mesa_set_fetch_functions() from the
_mesa_init_teximage_fields() function so callers have one less
thing to worry about.
/external/mesa3d/src/mesa/main/teximage.c
85288ad722aa0ad378004c523a0e1a4984e15316 16-Nov-2010 Brian Paul <brianp@vmware.com> mesa: reorder texture_error_check() params

To better match other functions.
/external/mesa3d/src/mesa/main/teximage.c
3c59febf05e6af80d63e5b9a478a11b275ac429c 16-Nov-2010 Brian Paul <brianp@vmware.com> mesa: 80-column wrapping
/external/mesa3d/src/mesa/main/teximage.c
56b4819932b0a44bfef9e10ed5f55649534252a8 12-Nov-2010 Brian Paul <brianp@vmware.com> mesa: consolidate assertions in teximage code
/external/mesa3d/src/mesa/main/teximage.c
412b9608838b872bc294569b3ee913343a7e66f6 27-Oct-2010 Brian Paul <brianp@vmware.com> mesa: rename function to _mesa_is_format_integer_color()

Be a bit more clear about its operation.
/external/mesa3d/src/mesa/main/teximage.c
326b981d3fafbf0cc253d2b224f0c9ad307038a3 26-Oct-2010 Brian Paul <brianp@vmware.com> mesa: additional teximage error checks for GL_EXT_texture_integer
/external/mesa3d/src/mesa/main/teximage.c
646afcc34045cd482e79ded241aac23082e65f6c 23-Oct-2010 Brian Paul <brianp@vmware.com> mesa: simplify target_can_be_compressed() function
/external/mesa3d/src/mesa/main/teximage.c
8fb49554d9404cd3538f569003a0f917fbdfb2d8 14-Oct-2010 Brian Paul <brianp@vmware.com> mesa: remove post-convolution width/height vars

These were left-over bits from when convolution was removed.
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
e2a054b70cb5dace40fc1426cbf936366dc72fb9 02-Oct-2010 Ian Romanick <ian.d.romanick@intel.com> mesa: Add ARB_texture_compression_rgtc as an alias for EXT_texture_compression_rgtc

Change the name in the extension tracking structure to ARB (from EXT).
/external/mesa3d/src/mesa/main/teximage.c
3ebbc176f9200ac954d461758937e755220ac551 28-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> ARB_texture_rg: Correct some errors in RED / RG internal format handling

Fixes several problems:

The half-float, float, and integer internal formats depend on
ARB_texture_rg and other extensions.

RG_INTEGER is not a valid internal format.

Generic compressed formats depend on ARB_texture_rg, not
EXT_texture_compression_rgtc.

Use GL_RED instead of GL_R.
/external/mesa3d/src/mesa/main/teximage.c
a62efdf82c20747feb11dfd7756f0579aa914b57 10-Sep-2010 Eric Anholt <eric@anholt.net> mesa: Remove EXT_convolution.

More optional code.
/external/mesa3d/src/mesa/main/teximage.c
c5dde53f4e42612518cd927bb58f08c0e22db17a 03-Sep-2010 Vinson Lee <vlee@vmware.com> mesa: Fix printf-like warnings.
/external/mesa3d/src/mesa/main/teximage.c
bab484a59b21fff84579a492d079d46e27d486dd 20-Jul-2010 Brian Paul <brianp@vmware.com> mesa: call ctx->Driver.ChooseTextureFormat() only when necessary.

When defining mipmap level 'L' and level L-1 exists and the new level's
internalFormat matches level L-1's internalFormat, then use the same hw
format. Otherwise, do the regular ctx->Driver.ChooseTextureFormat() call.

This avoids a problem where we end up choosing different hw formats for
different mipmap levels depending on how the levels are defined (glTexImage
vs. glCopyTexImage vs. glGenerateMipmap, etc).

The root problem is the ChooseTextureFormat() implementation in some
drivers uses the user's glTexImage format/type parameters in the choosing
heuristic. Later mipmap levels might be generated with different calls
(ex: glCopyTexImage()) so we don't always have format/type info and the
driver may choose a different format.

For more background info see the July 2010 mesa-dev thread "Bug in
_mesa_meta_GenerateMipmap"
/external/mesa3d/src/mesa/main/teximage.c
5f9d7bb2425aee65e75667953a6cc304072f2b11 16-Jul-2010 Vinson Lee <vlee@vmware.com> mesa: Add error path in compressed_texture_error_check.

Add error path for unhandled dimensions in
compressed_texture_error_check.
/external/mesa3d/src/mesa/main/teximage.c
6988f65e43297ae63bbce30bf882f870b370096c 08-Jul-2010 Brian Paul <brianp@vmware.com> mesa: initial support for new GL 3.0 texture formats
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
2236a301c35d29a8e0775d2b62499d8843607ee1 12-May-2010 Brian Paul <brianp@vmware.com> mesa: fix error message strings
/external/mesa3d/src/mesa/main/teximage.c
0870e4a2022cff79805613ae7cd4b9237a2f564c 02-May-2010 Kristian Høgsberg <krh@bitplanet.net> Merge branch 'gles2-2'

Conflicts:
src/mesa/drivers/dri/common/dri_util.h
fc1be4a99425d09103bba9e06026f31f2b0142d2 02-May-2010 Vinson Lee <vlee@vmware.com> mesa: s/sprintf/_mesa_snprintf/
/external/mesa3d/src/mesa/main/teximage.c
7179a822628963d8cfa0817cf072c5acb70638a7 25-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Move support for paletted textures to main/teximage.c
/external/mesa3d/src/mesa/main/teximage.c
c34feadd1c2fa5c62022c1f48ee675b25a985ac6 23-Apr-2010 Brian Paul <brianp@vmware.com> mesa: make is_compressed_format() non-static
/external/mesa3d/src/mesa/main/teximage.c
3643841079a1413695172d0e5dd5e0a5f2e22945 23-Apr-2010 Brian Paul <brianp@vmware.com> mesa: faster, simpler is_compressed_format()
/external/mesa3d/src/mesa/main/teximage.c
8978e45e50118d0e3660fdd9cd58b8790c0a6bb8 16-Apr-2010 Vinson Lee <vlee@vmware.com> mesa: Add missing format specifiers in error strings.
/external/mesa3d/src/mesa/main/teximage.c
2002e4d06e2627241cd4af88f65b54d2101ef151 06-Apr-2010 Chia-I Wu <olv@lunarg.com> mesa: Add OES_EGL_image to extension list.
/external/mesa3d/src/mesa/main/teximage.c
17efc8c05c6931a4638ee9f6138794f2b2b29540 24-Feb-2010 Vinson Lee <vlee@vmware.com> mesa: Fix SCons build.
/external/mesa3d/src/mesa/main/teximage.c
d1dc5b124e133379be5bb57b68733c09c0e04f71 11-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> core: Implement GL_OES_EGL_image entry points
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
ca0d048e4e0cc5885cd309cdf9057cfe6044924e 28-Jan-2010 Brian Paul <brianp@vmware.com> mesa: fix int/uint comparison warnings

Reported by Karl Schultz.
/external/mesa3d/src/mesa/main/teximage.c
6938dccf1ac0955026ac68794a03f49bc370fd44 18-Jan-2010 Vinson Lee <vlee@vmware.com> mesa: Remove unnecessary header from teximage.c.
/external/mesa3d/src/mesa/main/teximage.c
ecb03d75a2961b28ab3d90fdd5df768608fc9447 16-Nov-2009 Brian Paul <brianp@vmware.com> mesa: added another check in check_gen_mipmap()

We don't need to call ctx->Driver.GenerateMipmap() if we're updating
a texture level >= MAX_LEVEL.
/external/mesa3d/src/mesa/main/teximage.c
b8fdb900fb9b1c8b1e9ec88509624237307a869a 31-Oct-2009 Brian Paul <brianp@vmware.com> mesa: make _mesa_get_current_tex_objec() public
/external/mesa3d/src/mesa/main/teximage.c
a71edc9455ef81a8dd5ec284e88061a585e63580 31-Oct-2009 Brian Paul <brianp@vmware.com> mesa: better error message
/external/mesa3d/src/mesa/main/teximage.c
67df4fb56bcb72eddcfc187454d95b663cc43578 29-Oct-2009 Brian Paul <brianp@vmware.com> mesa: move, clean-up _mesa_print_texture()
/external/mesa3d/src/mesa/main/teximage.c
d580c0c8f7cad69b808118ef2aa6161f62f160d8 29-Oct-2009 Brian Paul <brianp@vmware.com> mesa: fix some tests in subtexture_error_check2()

Don't use hard-coded compressed block sizes.
Update comments and error strings.
/external/mesa3d/src/mesa/main/teximage.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
6bc1e9fd6989483fbc1c94730a8014b4c62b242c 28-Oct-2009 Brian Paul <brianp@vmware.com> mesa: consolidate _mesa_CompressedTexSubImage[123]DARB() functions
/external/mesa3d/src/mesa/main/teximage.c
f3c29bd74f01370a6bbff1329966ca9d1864315f 28-Oct-2009 Brian Paul <brianp@vmware.com> mesa: consolidate CompressedTexSubImage1/2/3DARB() error checking
/external/mesa3d/src/mesa/main/teximage.c
9519603f7405a1043ea39bf1dfaf4c88529ce2d1 28-Oct-2009 Brian Paul <brianp@vmware.com> mesa: simplify teximage code with get_current_tex_object()
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
07ad6393cb31d8f1f086f9c46705334ef9cf25f6 26-Oct-2009 Brian Paul <brianp@vmware.com> mesa: fix-up error checking related to compressed texture block size
/external/mesa3d/src/mesa/main/teximage.c
54bb414e00a4daedbe530b9933bc11bac4ae7149 25-Oct-2009 Brian Paul <brianp@vmware.com> mesa: clean-up, simplify compressed texture size checking
/external/mesa3d/src/mesa/main/teximage.c
90cd968300b8490f6efd75ef751fd3b6554f16d3 06-Oct-2009 Brian Paul <brianp@vmware.com> mesa: don't include texformat.h
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.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/teximage.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/teximage.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/teximage.c
d100cbf721010f4eacc87507cc87c5314150d493 19-Sep-2009 Maciej Cencora <m.cencora@gmail.com> mesa: add some debug info to teximage.c
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
a31ac84d743e33dabdcbbb4998fb6b7ceccf27d4 16-Sep-2009 Brian Paul <brianp@vmware.com> mesa: remove last of gotos
/external/mesa3d/src/mesa/main/teximage.c
c352566933b932ef09cea3f144df21147a7f6bc1 16-Sep-2009 Brian Paul <brianp@vmware.com> mesa: more goto removal
/external/mesa3d/src/mesa/main/teximage.c
ecf6f37fc201d7c88f8214b04ca1f61071c460a1 16-Sep-2009 Brian Paul <brianp@vmware.com> mesa: remove some gotos

This will make some subsequent changes easier...
/external/mesa3d/src/mesa/main/teximage.c
fe988d786c4076bfbf410b84085d8c1115baa489 13-Aug-2009 Brian Paul <brianp@vmware.com> mesa: add extension checks in _mesa_max_texture_levels()
/external/mesa3d/src/mesa/main/teximage.c
6aa7a03d856f4cfdbed493c976387b2164a0c922 13-Aug-2009 Brian Paul <brianp@vmware.com> mesa: use _mesa_get_current_tex_unit() in more places
/external/mesa3d/src/mesa/main/teximage.c
73b150c816c46a88e3e5d97f9b73ab0095f2bc60 13-Aug-2009 Brian Paul <brianp@vmware.com> mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.c
/external/mesa3d/src/mesa/main/teximage.c
ba2a55ccd61d9fa5565640faefb64fd6fb0e70ab 13-Aug-2009 Brian Paul <brianp@vmware.com> mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.c

All the glGetTexImage code is in one file now.
/external/mesa3d/src/mesa/main/teximage.c
434ec3ada841915a00ffc23f699401eb3e7b37ee 12-Aug-2009 Brian Paul <brianp@vmware.com> mesa: use _mesa_is_bufferobj()
/external/mesa3d/src/mesa/main/teximage.c
42b6b067ac68ac1309d0570613bea4a88f745559 06-Aug-2009 Chia-I Wu <olvaffe@gmail.com> mesa/main: Add functions to clear and dirty texture objects.

This commit adds a function to clear a texture object such that there is
no image data associated with it, and a function to dirty it so that it
will be re-tested for completeness.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/mesa/main/teximage.c
2465c4fa9cabe8c40e526b9e081de3b70c851455 04-Aug-2009 Brian Paul <brianp@vmware.com> mesa: more glGetTexImage() error checking consolidation, new assertion
/external/mesa3d/src/mesa/main/teximage.c
9c936403de1aa868de1218deb2b93344b0d8d95d 30-Jul-2009 Brian Paul <brianp@vmware.com> mesa: re-enable _mesa_source_buffer_exists() call

Somehow this code wound up inside a comment a while back.
/external/mesa3d/src/mesa/main/teximage.c
4406f79402e8f986913c20c3138d12d0af670bd4 30-Jul-2009 Brian Paul <brianp@vmware.com> mesa: get_current_tex_unit() helper function
/external/mesa3d/src/mesa/main/teximage.c
25be043940b25a5fe6eb8058070b3e8f12e92039 30-Jul-2009 Brian Paul <brianp@vmware.com> mesa: refactor glGetTexImage error checking code
/external/mesa3d/src/mesa/main/teximage.c
c156eeb682d673e571c1798ff21e183ad4114fea 30-Jul-2009 Brian Paul <brianp@vmware.com> mesa: simplify _mesa_select_tex_image()
/external/mesa3d/src/mesa/main/teximage.c
9c9a9abd7b953ec9b6cfc52c2f6981c5d38b1691 30-Jul-2009 Brian Paul <brianp@vmware.com> mesa: simplify _mesa_set_tex_image()
/external/mesa3d/src/mesa/main/teximage.c
a120778c72324bc56c63cd0f1873c6f2772228ea 19-Jun-2009 Michel Dänzer <daenzer@vmware.com> Always free image offsets memory when re-initializing texture image fields.

Fixes leak running compiz with direct rendering.
/external/mesa3d/src/mesa/main/teximage.c
63f01309801c5a900d8d7f5ccd63413e33ff9bff 02-May-2009 Brian Paul <brianp@vmware.com> mesa: fix state validation bug for glCopyTex[Sub]Image()

We need to make sure the framebuffer state is up to date to make sure we
read pixels from the right buffer when doing a texture image copy.
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
1eee1bac1f6d911e6124daafc9b9291666d91cef 17-Mar-2009 Vinson Lee <vlee@vmware.com> mesa: update/fix doxygen comments
/external/mesa3d/src/mesa/main/teximage.c
1826ff3fb34e9fb19bc8d8dee2cce5280da5e069 13-Mar-2009 Brian Paul <brianp@vmware.com> mesa: override_internal_format() function for debug/test purposes (disabled)
/external/mesa3d/src/mesa/main/teximage.c
8a8919a7ddd2348c4a4cbcbab2358c49e47e2ea5 13-Mar-2009 Brian Paul <brianp@vmware.com> mesa: improve some error messages
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
9818734e0148510967ca9ee0d1aa8b196b509f02 21-Feb-2009 Brian Paul <brianp@vmware.com> mesa: use an array for current texture objects

Use loops to consolidate lots of texture object code.
/external/mesa3d/src/mesa/main/teximage.c
5340b6dff73a0a23531ce2a5f28fba8303adab6e 11-Feb-2009 Brian Paul <brianp@vmware.com> Merge commit 'origin/gallium-master-merge'

This is the big merge of the gallium-0.2 branch into master.
gallium-master-merge was just the staging area for it.
Both gallium-0.2 and gallium-master-merge are considered closed now.

Conflicts:

progs/demos/Makefile
src/mesa/main/state.c
src/mesa/main/texenvprogram.c
1ed5fe5cbfb64c57997ec46684748f8ae516d19c 10-Feb-2009 Brian Paul <brianp@vmware.com> mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more consistant with other flags
/external/mesa3d/src/mesa/main/teximage.c
e97681c7f551a2a2a6bd5eff0f4192a870c816c0 09-Feb-2009 Brian Paul <brianp@vmware.com> mesa: merge gallium-0.2 into gallium-master-merge

Merge commit 'origin/gallium-0.2' into gallium-master-merge

Conflicts:

Makefile
docs/relnotes-7.4.html
docs/relnotes.html
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/main/imports.c
src/mesa/main/mtypes.h
src/mesa/main/texcompress.c
src/mesa/main/texenvprogram.c
src/mesa/main/version.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_draw.c
803504e69fbd85713fc6d93af21f5245852cecab 04-Feb-2009 Brian Paul <brianp@vmware.com> mesa: minor error msg improvement
/external/mesa3d/src/mesa/main/teximage.c
80684649a6d01f0e0517b14f61cbcad6fa101929 30-Jan-2009 Brian Paul <brianp@vmware.com> mesa: simplify the _mesa_get_proxy_tex_image() function
/external/mesa3d/src/mesa/main/teximage.c
ea4b183b8c3730ec2c6b5152cad1a68889634487 30-Jan-2009 Brian Paul <brianp@vmware.com> mesa: fix incorrect call to clear_teximage_fields() in _mesa_TexImage2D()

Fixes failed assertion / segfault for particular proxy texture tests.
/external/mesa3d/src/mesa/main/teximage.c
2897cee99fb877e1f3cd9a881a61418c9c31867f 29-Jan-2009 Brian Paul <brianp@vmware.com> mesa: fix a render to texture FBO validation bug

When glTexImage() is called we need to re-validate any FBOs that point to
the texture (i.e. render-to-texture) since changing the texture's size/format
will effect FBO completeness.

We don't keep a list of all FBOs rendering into each texture (which would be
a bit messy) so we check all FBOs in existance. To optimize this, the
gl_texture_object->_RenderToTexture flag is used to avoid checking textures
that have never been used as renderbuffers. So, we only walk over all FBOs
(there's usually only a few) when glTexImage() modifies a RTT texture.

Fixes a bug seen in shadowtex.c when toggling packed depth/stencil mode.
/external/mesa3d/src/mesa/main/teximage.c
33fa5e4bfad8005f09ad3c9fc92c40fa863935d1 28-Jan-2009 Ian Romanick <idr@freedesktop.org> Make GL_ARB_texture_compression mandatory

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/teximage.c
19e4222f937c9bb95d3a899dd788afb930eecaa4 11-Nov-2008 Brian Paul <brian.paul@tungstengraphics.com> Merge commit 'origin/master' into gallium-0.2

Conflicts:

src/mesa/shader/prog_execute.c
src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
be1b8e5d6c6692010a3ec117035d9b218929e2b3 11-Nov-2008 Brian <brian.paul@tungstengraphics.com> mesa: new _mesa_is_pow_two() function
/external/mesa3d/src/mesa/main/teximage.c
61d3a66456852642ed8fdc1106dc0012e4b89779 27-Oct-2008 Alan Hourihane <alanh@tungstengraphics.com> Merge commit 'origin/master' into gallium-0.2
95c04cccfef2e5743279e1f5a6a13f3925c7024c 22-Oct-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: move convolution image adjustment code for glCopyTexSubImage1/2/3D()

Do it after initial error checking, after we know the texture's internal format.
/external/mesa3d/src/mesa/main/teximage.c
9dfd54fa83f9d2266ee637721365f8922deb17fc 22-Oct-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: some re-org of glCopyTexSubImage1/2/3D() error checking
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
3a3801c1431203fc4dca24d56577995ae2e78956 10-Oct-2008 Keith Whitwell <keith@tungstengraphics.com> Merge commit 'origin/master' into gallium-0.2

Conflicts:

src/mesa/glapi/descrip.mms
src/mesa/shader/grammar/descrip.mms
4741dbcbbc2514de370a760f4b78a17491014555 02-Oct-2008 Ian Romanick <ian.d.romanick@intel.com> Unify ARB_depth_texture and SGIX_depth_texture

The ARB extension is a superset of the older SGIX extension. Any
hardware that can support the SGIX version can also support the ARB
version. In Mesa, any driver that supports one also supports the
other. This unification just simplifies some bits of code.
/external/mesa3d/src/mesa/main/teximage.c
03bafd1f9fa000abdb794b2ae344a68840c83201 27-Sep-2007 Brian <brian.paul@tungstengraphics.com> Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in the drivers.

This should probably be pulled into main-line Mesa...
(cherry picked from commit 324ecadbfdf9b944e059832f146451e4151dcb21)
/external/mesa3d/src/mesa/main/teximage.c
e93243f8b7d43695654a36334c8cc5cea140d23c 11-Feb-2008 Brian <brian.paul@tungstengraphics.com> added _mesa_tex_target_to_face()
(cherry picked from commit b52ce6341f877a0a1cfd3c50c07eeb1c156ae89e)
/external/mesa3d/src/mesa/main/teximage.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/teximage.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
0bc2409e3808df54bf7d228475320e2ec4fe80a1 04-Jul-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.

Simplification in colortab.c too.

cherry-picked from master (fe469007037d9d5cdbe1677d8ff7368b276e9e7c)
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
85ea7ff25cec703a00d79246df49a4ae6192c395 21-Mar-2008 Brian <brian.paul@tungstengraphics.com> Fix some PBO breakage.

In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset
into a PBO. Similarly for _mesa_GetTexImage.
/external/mesa3d/src/mesa/main/teximage.c
c80a380ebb58c15db87309d466ef57fb006b40ae 21-Mar-2008 Brian <brian.paul@tungstengraphics.com> Fix some PBO breakage.

In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset
into a PBO. Similarly for _mesa_GetTexImage.
/external/mesa3d/src/mesa/main/teximage.c
c813b545ab4726fc5030f123ec6255224d64ad82 11-Mar-2008 Brian <brian.paul@tungstengraphics.com> fix Height2/Depth2 init problem when using texture borders
/external/mesa3d/src/mesa/main/teximage.c
b52ce6341f877a0a1cfd3c50c07eeb1c156ae89e 11-Feb-2008 Brian <brian.paul@tungstengraphics.com> added _mesa_tex_target_to_face()
/external/mesa3d/src/mesa/main/teximage.c
9f6022d0567dc1288888212d7128acc48795b306 05-Jan-2008 Brian <brian.paul@tungstengraphics.com> fix depth/1 typo in glTexImage3D proxy code
/external/mesa3d/src/mesa/main/teximage.c
324ecadbfdf9b944e059832f146451e4151dcb21 27-Sep-2007 Brian <brian.paul@tungstengraphics.com> Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in the drivers.

This should probably be pulled into main-line Mesa...
/external/mesa3d/src/mesa/main/teximage.c
53cf87be1b93c760228e6a9af8115d2a9ff99337 18-Aug-2007 Brian <brian.paul@tungstengraphics.com> some fixes for compressed cube maps (bug 11986)
/external/mesa3d/src/mesa/main/teximage.c
fe469007037d9d5cdbe1677d8ff7368b276e9e7c 16-Aug-2007 Brian <brian.paul@tungstengraphics.com> Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.

Simplification in colortab.c too.
/external/mesa3d/src/mesa/main/teximage.c
7c4c82fc6d5301e27643868517aeb23fcb5c40e6 13-Jul-2007 Brian <brian.paul@tungstengraphics.com> fix width/depth mix-up (bug 11577)
/external/mesa3d/src/mesa/main/teximage.c
aa328291c5b015e74ebfd9c5cdb39227265b3000 08-Jul-2007 Brian <brian.paul@tungstengraphics.com> Fix size test bug in _mesa_test_proxy_teximage().

width/height/depth == 0 is a legal texture size (no error generated).
Later, the texture will be considered incomplete, however, and texturing
will effectively be disabled.
See bug 11309.
/external/mesa3d/src/mesa/main/teximage.c
144e1e439faf994ad25901aaf2a9d60a1078eed9 13-Jun-2007 Brian <brian.paul@tungstengraphics.com> fix an error string, refactor _mesa_GetCompressedTexImageARB() to get rid of a goto
/external/mesa3d/src/mesa/main/teximage.c
227315278dea9095cee6e508d03b28720b2e7880 12-Jun-2007 Brian <brian.paul@tungstengraphics.com> Replace texobj->Complete with texobj->_Complete since it's a derived field.
/external/mesa3d/src/mesa/main/teximage.c
d834a870e600684382b50d202a2bfc6d98cf6a0b 17-May-2007 Ian Romanick <idr@us.ibm.com> Add missing _EXT suffix to 2D_ARRAY target enums.
/external/mesa3d/src/mesa/main/teximage.c
817181ea5044b222f7612a425562bbc9313d5c75 17-May-2007 Ian Romanick <idr@us.ibm.com> Add array texture targets to list that can use compressed formats.
/external/mesa3d/src/mesa/main/teximage.c
064cd7c78c3108012f5d15206c70470f7b500259 17-May-2007 Ian Romanick <idr@us.ibm.com> Refactor determining whether a texture target can use compressed format
/external/mesa3d/src/mesa/main/teximage.c
bb372f1c9bc08e8b0dca983cb4ba36b2f2f039fb 17-May-2007 Ian Romanick <idr@us.ibm.com> Initial implementation of MESA_texture_array

Shadow sampling from texture arrays is still not implemented. Everything
else should be there, though.
/external/mesa3d/src/mesa/main/teximage.c
e2e4b60c7d9fc3618c0f9d7496c9ce3d5eee3ab5 10-May-2007 Ian Romanick <idr@us.ibm.com> Refactor the way TestProxyTexImage is called in texture_error_check.
/external/mesa3d/src/mesa/main/teximage.c
985a2eff82111e81f70b6dea9d9b3184dd0061d3 22-Mar-2007 Alan Hourihane <alanh@fairlite.demon.co.uk> Ensure we have a valid ReadBuffer for CopyTexSubImage, and

if not bail accordingly.

Previously we'd only do this test on compressed textures.
/external/mesa3d/src/mesa/main/teximage.c
71f71c2c8ab0b8af95cddc99df5dd01e4ca6af68 02-Nov-2006 Brian Paul <brian.paul@tungstengraphics.com> s/GLchan/GLubyte/ in debug code
/external/mesa3d/src/mesa/main/teximage.c
5ac93f86210eb5c2a8dee74ec19b0ecd54376863 01-Nov-2006 Keith Whitwell <keith@tungstengraphics.com> Merge texmem-0-3-branch.
/external/mesa3d/src/mesa/main/teximage.c
da62bcecfb92978d7243928cfa0fb076b3de762d 04-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> minor formatting fix
/external/mesa3d/src/mesa/main/teximage.c
0a4be7036864efa6b30d78e0aac449d34b812c13 04-Aug-2006 Brian Paul <brian.paul@tungstengraphics.com> more work for GL_EXT_texture_sRGB.
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
114ecb9d67b1254d0929bfeec80dee8015834425 19-Jul-2006 Brian Paul <brian.paul@tungstengraphics.com> indentation fix
/external/mesa3d/src/mesa/main/teximage.c
df926955be59a0128eea44141eb46fc52556dc05 19-Jul-2006 Brian Paul <brian.paul@tungstengraphics.com> add missing 'return' after a few _mesa_error() calls in _mesa_GetTexImage()
/external/mesa3d/src/mesa/main/teximage.c
8bc00c2047f69d8cd37d4fd70256850445b0fa1d 13-Jun-2006 Brian Paul <brian.paul@tungstengraphics.com> fix size assertions in _mesa_init_teximage_fields()
/external/mesa3d/src/mesa/main/teximage.c
2b04dd9d2cba6ec3506e78016e64cffce6e8abf7 02-Jun-2006 Brian Paul <brian.paul@tungstengraphics.com> fix depth-component test to allow rectangular textures
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
008ed1df83735c72c2731c509a3665938d3c7209 09-May-2006 Brian Paul <brian.paul@tungstengraphics.com> Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whether
all formats or just those without restrictions/limitations should be returned.
We want all when validating the internalFormat parameter to
glCompressedTexImage2D but only want unrestricted formats when handling the
GL_COMPRESSED_TEXTURE_FORMATS query.
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
ea4fe661d7f3a95d9db17e1475076f1badf8e1a6 26-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> merge from texman branch
/external/mesa3d/src/mesa/main/teximage.c
519b23b21f9cd6945fd17cdb26e7a6f531cdeec0 20-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> Lots of changes/fixes for rendering to framebuffer objects.
- When deleting texture objects, unbind from FBOs if necessary.
- Changed driver hooks for starting/ending render to texture.
- Now properly handle case where gl[Copy]TexImage() is called after
glFramebufferTexture[123]D(). That didn't work before.
/external/mesa3d/src/mesa/main/teximage.c
34bd1233a9874fe12a822c4fcb926d48456e1f29 20-Mar-2006 Brian Paul <brian.paul@tungstengraphics.com> additional error checking to be sure source renderbuffer exists for glCopyTex[Sub]Image()
/external/mesa3d/src/mesa/main/teximage.c
cf2702e3dbf41939a6be0a09f58b9578da88e910 01-Dec-2005 Brian Paul <brian.paul@tungstengraphics.com> added comment about glTexImage and renderbuffers
/external/mesa3d/src/mesa/main/teximage.c
1a5f1bdb428ea3ded1e77796590014f89fe78f77 16-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Use new gl_framebuffer _Depth/_StencilBuffer fields instead of
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers
around combined depth/stencil renderbuffers attached at the later points.
/external/mesa3d/src/mesa/main/teximage.c
77ee31930a1b0cc7766939415f4f04ed6a1fa4ac 11-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Make _mesa_is_proxy_texture() non-static and use in a few more places.
Use COPY_4FV() where possible.
Added some comments, clean-ups.
/external/mesa3d/src/mesa/main/teximage.c
4d0b7618cb3ada3b13e9e9b650ace34f5131e318 05-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> minor improvements in _mesa_init_teximage_fields()
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
0899afae33a29d1f6d15ebc96dc6ea8a8371cdb6 01-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> additional error checking for GL_EXT_packed_depth_stencil
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
4618a9bfc2cd57c47ddf3590782c751ec194d362 08-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few places
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
3e62d3a8d88b48d4ed19e00ea2bbc3d0a2b6acf7 22-Mar-2005 Keith Whitwell <keith@tungstengraphics.com> add FreeTexImageData hook to help single-copy texturing in drivers
/external/mesa3d/src/mesa/main/teximage.c
0d22b9054094c863062c7787b45e1fb4d3834a67 08-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> indentation fix
/external/mesa3d/src/mesa/main/teximage.c
8c3ddf4270ff075ee783a67e5d5d04fa16a9cb45 05-Feb-2005 Brian Paul <brian.paul@tungstengraphics.com> add a few comments
/external/mesa3d/src/mesa/main/teximage.c
714c36c1202cd49c58cf6462afd391fd059b96c2 17-Jan-2005 Daniel Borca <dborca@users.sourceforge.net> allow more internalFormat/format combinations (i hope i got it right)
/external/mesa3d/src/mesa/main/teximage.c
2982dce27e242c89e4bc99979a878263df33ad2f 20-Dec-2004 Daniel Borca <dborca@users.sourceforge.net> really protect against npot compressed textures (logbase2 never returns -1).
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
3cc28c96cd2003f9a598a36520305bba58d6489f 10-Dec-2004 Daniel Borca <dborca@users.sourceforge.net> allow GetTexImage with RGBA format and COLOR_INDEX internalformat
/external/mesa3d/src/mesa/main/teximage.c
22ae633d1ea636e0e07ba044a0f8fa2195c83bc6 02-Dec-2004 Alan Hourihane <alanh@tungstengraphics.com> Fix some warnings
/external/mesa3d/src/mesa/main/teximage.c
ebe8d3152d864b9f4a0501c868c54e472c9d67a4 22-Nov-2004 Brian Paul <brian.paul@tungstengraphics.com> added GL_RED/GREEN/BLUE to is_color_format()
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
1c868139226c07b1537e1951ad237bc070585161 31-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> PBO support for glGetCompressedTexImage().
/external/mesa3d/src/mesa/main/teximage.c
b46712ca9d379d9c091f5543500088d82cf9776c 31-Oct-2004 Brian Paul <brian.paul@tungstengraphics.com> glGetTexImage() now works with PBOs.
/external/mesa3d/src/mesa/main/teximage.c
a2dc424acfe83f3c66d3509f5a1efc24ce884367 08-Oct-2004 Ian Romanick <idr@us.ibm.com> Reject unsupported texture formats passed to glCompressedTexImage?D. This
fixes Mesa bug #1028405.
/external/mesa3d/src/mesa/main/teximage.c
529e0a98d477e33f41f680926f8b9c745aebbe90 23-Sep-2004 Brian Paul <brian.paul@tungstengraphics.com> don't test for NULL pixels pointer here, do that in the 'store' routines after validating PBO address
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
2371033bbaf6e7477bfa893654a0467a084f335b 02-Jul-2004 Brian Paul <brian.paul@tungstengraphics.com> document some assumptions made about compressed texture tile size
/external/mesa3d/src/mesa/main/teximage.c
f252f64430ccb957698fcf85e84c9d64008147eb 19-Jun-2004 Brian Paul <brian.paul@tungstengraphics.com> Big-endian texture fixes from Michel Dänzer.
/external/mesa3d/src/mesa/main/teximage.c
997e81fe75ce32ed3d8bb4d8f73a226644cf3a2f 15-Jun-2004 Roland Scheidegger <rscheidegger@gmx.ch> added more compressed formats to is_color_format()
/external/mesa3d/src/mesa/main/teximage.c
3405708e21ae36ce3ea92bbaea900bacc70a0034 14-Jun-2004 Brian Paul <brian.paul@tungstengraphics.com> added compressed formats to is_color_format() and updated some comments
/external/mesa3d/src/mesa/main/teximage.c
beef59e73aad91ca52d72fd0224e696826038318 11-Jun-2004 Brian Paul <brian.paul@tungstengraphics.com> added GL_BGR and GL_BGRA to is_color_format() (Ronny Vindenes
/external/mesa3d/src/mesa/main/teximage.c
601df9c742939c1f77de489561fe3e1d02f49618 10-Jun-2004 Brian Paul <brian.paul@tungstengraphics.com> Additional error checking for glTexImageXD.
Only allow 1D and 2D GL_DEPTH_COMPONENT textures.
Make sure internal format and user format are in same catagory.
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
5b45c1148624f0ee2b93cc15f5c3ae21667f5463 22-Apr-2004 Brian Paul <brian.paul@tungstengraphics.com> use FetchTexelf() in GetTexImage() to return float textures correctly
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.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/teximage.c
1749a25ca889d514889b34cf6311c8014d97bf66 24-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> New error checking in _mesa_GetTexImage().
Updated comments and some better function parameter names.
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
add9f2168a5d6b15eb9955ee761246c4f4cf8458 11-Jan-2004 Brian Paul <brian.paul@tungstengraphics.com> add GL_TEXTURE_CUBE_MAP_ARB to _mesa_max_texture_levels(), reordered some comments
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
663a9e1b7ef7b8384abe2f81e1a8749b942f6d3a 21-Nov-2003 Daniel Borca <dborca@users.sourceforge.net> more texture compression
/external/mesa3d/src/mesa/main/teximage.c
40bd9d0b190e11d39350d1b08d2c2b28e3040bca 29-Oct-2003 Daniel Borca <dborca@users.sourceforge.net> texture compression
/external/mesa3d/src/mesa/main/teximage.c
c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8c 22-Oct-2003 Kendall Bennett <KendallB@scitechsoft.com> Added GLAPIENTRY decorations for all first level OpenGL API function entry
points so that the calling conventions will work correctly with the assembler
stubs with the Open Watcom compiler.
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
f6e76fe9b5c4c57ac6dc81143b4474ebfee879d2 07-Jul-2003 Brian Paul <brian.paul@tungstengraphics.com> fix conformance glitch introduced with NPOT extension
/external/mesa3d/src/mesa/main/teximage.c
887e2cf01a99f7fe1b7c94320b7bdbbf0d6ad2f8 03-Jul-2003 Brian Paul <brian.paul@tungstengraphics.com> Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation).
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
27f4484fb73ac7bf4f790ca2d3efd50b6bea25c3 02-Apr-2003 Brian Paul <brian.paul@tungstengraphics.com> added GL_PROXY_TEXTURE_RECTANGLE_NV to is_proxy_target()
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
27558a160a9fe91745728d7626995cd88f8fe339 01-Mar-2003 Brian Paul <brian.paul@tungstengraphics.com> Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]
Moved type conversion and interpolation macros into macros.h
Updated all the files that used to include mmath.h
/external/mesa3d/src/mesa/main/teximage.c
fa268adc9df30c8e3413990ee0e68c139ca0c069 08-Jan-2003 Brian Paul <brian.paul@tungstengraphics.com> fix glCopyTexSubImage2D error checking (bug 661907)
/external/mesa3d/src/mesa/main/teximage.c
36b518a7ca98e49d95c3fe54544700004716cdef 30-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> s/sprintf/_mesa_sprintf/
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
e71654961868eac559210ced359c1af114138d8a 18-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> only allow intformat==GL_COLOR_INDEX if EXT_paletted_texture is supported
/external/mesa3d/src/mesa/main/teximage.c
798d83cf67098a7df293c711e0d2c8c296fc4c8f 18-Oct-2002 Karl Schultz <kschultz@freedesktop.org> Add casts to quiet compiler warnings.
/external/mesa3d/src/mesa/main/teximage.c
23cdcede5d225f90928ae072edf42e2fe1b12ccc 10-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> check texImage->IsClientData before freeing memory
/external/mesa3d/src/mesa/main/teximage.c
d8419c730e73c3be2eadfb0bee176ab06885766a 02-Oct-2002 Brian Paul <brian.paul@tungstengraphics.com> better error checking related to YCbCr images
/external/mesa3d/src/mesa/main/teximage.c
89fb06fcc11cbe3f23521312155d6c55d869f526 27-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> new texture compression infrastructure
/external/mesa3d/src/mesa/main/teximage.c
681b8c9d1ba06c8c82e687a5ced369b72e6b1eb9 23-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> merge gl_texture_image RowStride from DRI 4.0.4
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
57aca2bf6e82cdab43575123530fce2ba54bf9c7 14-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> fixed pixel pack bug in glGetTexImage()
/external/mesa3d/src/mesa/main/teximage.c
6c25e3a111e19587b288dcf5384b8e5eda3edc80 06-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> incorrect dimenstion passed to texture_error_check() in compressed teximage functions
/external/mesa3d/src/mesa/main/teximage.c
b9f75444e60477e7a523e7eec1bb49a8232fd4e7 03-Sep-2002 Brian Paul <brian.paul@tungstengraphics.com> improved error string
/external/mesa3d/src/mesa/main/teximage.c
3b4fbbc129c711a5aec8d653d5c6eb2e195f947c 09-Jul-2002 Brian Paul <brian.paul@tungstengraphics.com> Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()
indicates the read AND draw color buffer for all software rasterization.
Lots of related clean-ups. See RELNOTES-4.1 for details.
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
62c36a2ff39d775c1f1bc377b9ddbc69e2340799 23-Apr-2002 Brian Paul <brian.paul@tungstengraphics.com> call _mesa_sizeof_packed_type() in _mesa_GetTexImage() (bug 547203)
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
b5fd886ee12ef52126969f712dee0bd4b2eea706 18-Nov-2001 Brian Paul <brian.paul@tungstengraphics.com> API dispath updates
/external/mesa3d/src/mesa/main/teximage.c
85e7d7c1d889f867762c6f62070729089f1877ac 03-Nov-2001 Brian Paul <brian.paul@tungstengraphics.com> fix error in error checking conditional (bug 476846)
/external/mesa3d/src/mesa/main/teximage.c
7b9fe820a3fba3849864682fbb1cb512362934ab 19-Sep-2001 Karl Schultz <kschultz@freedesktop.org> more compiler warning fixes
/external/mesa3d/src/mesa/main/teximage.c
172281dad8d1f1d32f5f31583a5fa565aa1bf5da 26-Jul-2001 Brian Paul <brian.paul@tungstengraphics.com> fixes for proxy cube map texture images
/external/mesa3d/src/mesa/main/teximage.c
62c734f49948df7aeef55ad23a6664cbf3e11533 23-Jul-2001 Brian Paul <brian.paul@tungstengraphics.com> don't make default teximage if glTexImage's pixels=NULL (Gerk Huisma)
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
b23f5b5a5ccf5910f1d11d749c2e440e6a46259b 13-Jul-2001 Brian Paul <brian.paul@tungstengraphics.com> replace _NEW_PIXEL with _IMAGE_NEW_TRANSFER_STATE to catch color matrix changes
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.c
5ed63e089564a3d10e65bc22902ac722f92bdd29 13-Jun-2001 Brian Paul <brian.paul@tungstengraphics.com> disable pixel transfer ops for glGetTexImage(), per the spec
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
3893e638e6521b9c070e01c0b31d22754ff97a88 21-May-2001 Brian Paul <brian.paul@tungstengraphics.com> initial support for GL_SGIS_generate_mipmap extension
/external/mesa3d/src/mesa/main/teximage.c
29acfe5bd40e1741c07959c4b44a9bf46d250283 24-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> assign texImage->FetchTexel only if NULL
/external/mesa3d/src/mesa/main/teximage.c
5ff4075a6961b26042dc2d7f4adcf333439823f4 20-Apr-2001 Brian Paul <brian.paul@tungstengraphics.com> bug fixes, added missing state query cases
/external/mesa3d/src/mesa/main/teximage.c
347b3f0dafe8d0cc30e9d1e7595d12b0ac31bb4a 30-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> add texture border width to x/y/zoffset in gl[Copy]TexSubImage*D() functions to accomodate negative offsets correctly
/external/mesa3d/src/mesa/main/teximage.c
e116d3b3e55a70ceb4af270ecd1b614117f631a2 30-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> texImage->FetchTexel wasn't getting initialized in _mesa_CopyTexImage1/2D()
/external/mesa3d/src/mesa/main/teximage.c
16a8e986cebae6560d00992b6b9f54549e1d03c6 28-Mar-2001 Gareth Hughes <gareth@valinux.com> - Restore texImage->IntFormat.
- Fix FX driver texture image conversions.
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
5535aca5dffdfb8ad9a1970a062e6109227aa17f 26-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> change glTexImage3D() internalFormat to GLenum to match other OpenGLs
/external/mesa3d/src/mesa/main/teximage.c
709892459922a32096fe9dd8261d0d92337bb02f 19-Mar-2001 Keith Whitwell <keith@tungstengraphics.com> Split driver struct into swrast/tnl/core components.
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
22144ab7552f0799bcfca506bf4ffa7f70a06649 12-Mar-2001 Gareth Hughes <gareth@valinux.com> Consistent copyright info (version number, date) across all files.
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
75280a2c742ee241d392618a3b29548fce1520a9 05-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> added missing ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() macros
/external/mesa3d/src/mesa/main/teximage.c
08836341788a9f9d638d9dc8328510ccd18ddeb5 03-Mar-2001 Brian Paul <brian.paul@tungstengraphics.com> lots of gl_*() to _mesa_*() namespace clean-up
/external/mesa3d/src/mesa/main/teximage.c
bf8b5f99a11ad43bb3404ed4ae04eceb3027bbab 27-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> signal _NEW_TEXTURE in all teximage functions
/external/mesa3d/src/mesa/main/teximage.c
1f57563b9dccfb6ce5026eaf5b7a418dc4dd52b9 26-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> added a cube map error check
/external/mesa3d/src/mesa/main/teximage.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/teximage.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/teximage.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/teximage.c
9a0b12ab00a82a6060ca33e17fc135179024751c 07-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed texel indexing bug in _mesa_GetTexImage()
/external/mesa3d/src/mesa/main/teximage.c
a1f1586bcb9fcd4a30930fd14b73323642ce85c5 07-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> added some code for proxy texture tests
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
f378ab825c0c74aab263e7dec30194eead22c288 07-Feb-2001 Brian Paul <brian.paul@tungstengraphics.com> added a number of debugging tests to be sure drivers handle texture images correctly
/external/mesa3d/src/mesa/main/teximage.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/teximage.c
f2718b0966f54049056e16e7cca08718341557b2 24-Jan-2001 Brian Paul <brian.paul@tungstengraphics.com> fixed glTexSubImage error check bug #128775
/external/mesa3d/src/mesa/main/teximage.c
cab974cf6c2dbfbf5dd5d291e1aae0f8eeb34290 26-Dec-2000 Keith Whitwell <keith@tungstengraphics.com> Major rework of tnl module
New array_cache module
Support 8 texture units in core mesa (now support 8 everywhere)
Rework core mesa statechange operations to avoid flushing on many
noop statechanges.
/external/mesa3d/src/mesa/main/teximage.c
083e466f88e1203f08b7699fa34b05d0e45b3172 14-Dec-2000 Brian Paul <brian.paul@tungstengraphics.com> Renamed texture object _P to _MaxLevel and _M to _MaxLambda.
Now add BaseLevel in _MaxLevel computation.
/external/mesa3d/src/mesa/main/teximage.c
ab6e78f3a0abac7becbd8a58ed2c89f860cc6b0b 09-Dec-2000 Brian Paul <brian.paul@tungstengraphics.com> adjust texture size for convolution in glCopyTex[Sub]Image[123]D()
/external/mesa3d/src/mesa/main/teximage.c
ec15398681249fca439794de03bf2a89d04f6c55 08-Dec-2000 Brian Paul <brian.paul@tungstengraphics.com> more detailed texture error messages
/external/mesa3d/src/mesa/main/teximage.c
5e3bc0c2a2bcdf59949410f94c9b705fc1281ce8 22-Nov-2000 Jouk Jansen <joukj@hrem.stm.tudelft.nl> Committing in .

Modified Files:
Mesa/macos/gli_api/gliapi1.h Mesa/macos/gli_api/gliapi2.h
Mesa/macos/gli_api/gliapiext.h Mesa/macos/src-gli/fxgli.c
Mesa/macos/src-gli/fxgli.h Mesa/macos/src-gli/fxgli2.c
Mesa/macos/src-gli/fxgli_tridebug.c Mesa/src/accum.c
Mesa/src/accum.h Mesa/src/all.h Mesa/src/alpha.c
Mesa/src/alpha.h Mesa/src/attrib.c Mesa/src/attrib.h
Mesa/src/bitmap.c Mesa/src/bitmap.h Mesa/src/blend.c
Mesa/src/blend.h Mesa/src/buffers.c Mesa/src/buffers.h
Mesa/src/clip.c Mesa/src/clip.h Mesa/src/colortab.h
Mesa/src/config.c Mesa/src/context.c Mesa/src/context.h
Mesa/src/convolve.c Mesa/src/convolve.h Mesa/src/copypix.c
Mesa/src/copypix.h Mesa/src/debug.c Mesa/src/depth.c
Mesa/src/depth.h Mesa/src/dlist.c Mesa/src/dlist.h
Mesa/src/drawpix.c Mesa/src/drawpix.h Mesa/src/enable.c
Mesa/src/enable.h Mesa/src/eval.c Mesa/src/eval.h
Mesa/src/extensions.c Mesa/src/extensions.h
Mesa/src/feedback.c Mesa/src/feedback.h Mesa/src/fog.c
Mesa/src/fog.h Mesa/src/get.c Mesa/src/get.h Mesa/src/glapi.c
Mesa/src/glthread.h Mesa/src/highpc.c Mesa/src/hint.h
Mesa/src/histogram.h Mesa/src/image.c Mesa/src/image.h
Mesa/src/imports.c Mesa/src/light.c Mesa/src/light.h
Mesa/src/lines.c Mesa/src/lines.h Mesa/src/logic.c
Mesa/src/logic.h Mesa/src/masking.c Mesa/src/masking.h
Mesa/src/matrix.c Mesa/src/matrix.h Mesa/src/pixel.c
Mesa/src/pixel.h Mesa/src/points.c Mesa/src/points.h
Mesa/src/polygon.c Mesa/src/polygon.h Mesa/src/rastpos.c
Mesa/src/readpix.c Mesa/src/scissor.c Mesa/src/scissor.h
Mesa/src/state.c Mesa/src/state.h Mesa/src/stencil.c
Mesa/src/stencil.h Mesa/src/teximage.c Mesa/src/teximage.h
Mesa/src/texobj.c Mesa/src/texobj.h Mesa/src/texstate.c
Mesa/src/texstate.h Mesa/src/texture.c Mesa/src/texture.h
Mesa/src/texutil.c Mesa/src/texutil.h Mesa/src/varray.c
Mesa/src/varray.h Mesa/src/X/fakeglx.c Mesa/src/X/xm_api.c
Mesa/src/X/xm_dd.c Mesa/src/X/xm_line.c Mesa/src/X/xm_span.c
Mesa/src/X/xm_tri.c Mesa/src/swrast/s_aaline.c
Mesa/src/swrast/s_aaline.h Mesa/src/swrast/s_aatriangle.h
Mesa/src/swrast/s_accum.h Mesa/src/swrast/s_alpha.h
Mesa/src/swrast/s_alphabuf.h Mesa/src/swrast/s_blend.h
Mesa/src/swrast/s_context.c Mesa/src/swrast/s_context.h
Mesa/src/swrast/s_depth.h Mesa/src/swrast/s_drawpix.h
Mesa/src/swrast/s_feedback.h Mesa/src/swrast/s_fog.h
Mesa/src/swrast/s_histogram.h Mesa/src/swrast/s_lines.h
Mesa/src/swrast/s_logic.h Mesa/src/swrast/s_masking.h
Mesa/src/swrast/s_pb.h Mesa/src/swrast/s_pixeltex.h
Mesa/src/swrast/s_points.h Mesa/src/swrast/s_quads.c
Mesa/src/swrast/s_quads.h Mesa/src/swrast/s_scissor.h
Mesa/src/swrast/s_span.h Mesa/src/swrast/s_stencil.h
Mesa/src/swrast/s_texture.h Mesa/src/swrast/s_triangle.h
Mesa/src/swrast/s_zoom.h Mesa/src/swrast/swrast.h
Mesa/src/swrast_setup/ss_context.h
Mesa/src/swrast_setup/ss_triangle.c
Mesa/src/swrast_setup/ss_triangle.h
Mesa/src/swrast_setup/ss_vb.h Mesa/src/tnl/t_clip.c
Mesa/src/tnl/t_clip.h Mesa/src/tnl/t_context.c
Mesa/src/tnl/t_context.h Mesa/src/tnl/t_cva.c
Mesa/src/tnl/t_cva.h Mesa/src/tnl/t_debug.c
Mesa/src/tnl/t_debug.h Mesa/src/tnl/t_dlist.h
Mesa/src/tnl/t_eval.c Mesa/src/tnl/t_eval.h
Mesa/src/tnl/t_fog.c Mesa/src/tnl/t_fog.h
Mesa/src/tnl/t_light.c Mesa/src/tnl/t_light.h
Mesa/src/tnl/t_pipeline.c Mesa/src/tnl/t_pipeline.h
Mesa/src/tnl/t_shade.c Mesa/src/tnl/t_shade.h
Mesa/src/tnl/t_stages.c Mesa/src/tnl/t_stages.h
Mesa/src/tnl/t_texture.c Mesa/src/tnl/t_texture.h
Mesa/src/tnl/t_trans_elt.c Mesa/src/tnl/t_trans_elt.h
Mesa/src/tnl/t_varray.c Mesa/src/tnl/t_varray.h
Mesa/src/tnl/t_vb.c Mesa/src/tnl/t_vb.h
Mesa/src/tnl/t_vbcull.c Mesa/src/tnl/t_vbcull.h
Mesa/src/tnl/t_vbfill.c Mesa/src/tnl/t_vbfill.h
Mesa/src/tnl/t_vbindirect.c Mesa/src/tnl/t_vbindirect.h
Mesa/src/tnl/t_vbrender.c Mesa/src/tnl/t_vbrender.h
Mesa/src/tnl/t_vbxform.c Mesa/src/tnl/t_vbxform.h
Mesa/src/tnl/tnl.h
Added Files:
Mesa/src/mtypes.h
Removed Files:
Mesa/src/types.h

Changed Mesa/src/types to Mesa/src/mtypes.h to avoid conflicts while
compiling on a VMS system.

----------------------------------------------------------------------
/external/mesa3d/src/mesa/main/teximage.c
c34cea7de54525a337c904cf22fc026b7ca31578 22-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> call RENDER_START/FINISH in read_color_image()
/external/mesa3d/src/mesa/main/teximage.c
a852378a6289d154364dde440f89a39bbfc33e2d 20-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.
Completely removed the dirty texture object list. Set texObj->Complete
to GL_FALSE to indicate dirty.
Made point/line/triangle/quad SWvertex parameters const.
Minor code clean-ups.
/external/mesa3d/src/mesa/main/teximage.c
d45fdeae3531634bb4c5ea48e934e535372fb527 13-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed another texImage mistake in _mesa_GetTexImage()
/external/mesa3d/src/mesa/main/teximage.c
8e3366fda795797d92afb6877cd280cf96a6d4e7 10-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> restored call to _mesa_select_tex_image() in _mesa_GetTexImage()
/external/mesa3d/src/mesa/main/teximage.c
7298e71360ca1f38e7f0e0426fbf1a8dcbafdbd7 07-Nov-2000 Brian Paul <brian.paul@tungstengraphics.com> adjust x/y/zoffset parameters to fill_texture_image() by texture border width
/external/mesa3d/src/mesa/main/teximage.c
14940c4ffe066a8b85bc14274c19ad3d8e334d61 05-Nov-2000 Keith Whitwell <keith@tungstengraphics.com> - Changes for new software rasterizer modules
- Remove support for choosing software fallbacks from core code
- Remove partial fallback code from vbrender.c -- drivers are now
expected to be able to find a triangle/quad function for every state,
even if they have to use _swsetup_Triangle or _swsetup_Quad.
- Marked derived variables in the GLcontext struct with a leading
underscore '_'.
/external/mesa3d/src/mesa/main/teximage.c
724abeb058ca9372c5a9b9e38ee43dde1accaa41 31-Oct-2000 Keith Whitwell <keith@tungstengraphics.com> Moved the software rasterizer to a new directory.
/external/mesa3d/src/mesa/main/teximage.c
9499e017b7e05411a32b3e4fa94885eaec0d7277 30-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead.
More minor GLchan changes.
Silence some compiler warnings in cva.[ch]
/external/mesa3d/src/mesa/main/teximage.c
a96308c37db0bc0086a017d318bc3504aa5f0b1a 30-Oct-2000 Keith Whitwell <keith@tungstengraphics.com> Replace the flags Mesa was using for ctx->NewState with a new set
based on the GL attribute groups.

Introduced constants describing the circumstances under which some
key derived values can change:
_SWRAST_NEW_RASTERMASK -- ctx->RasterMask
_SWRAST_NEW_TRIANGLE -- The software rasterizer's triangle
function
_DD_NEW_FEEDBACK -- the 'DD_FEEDBACK' bit in ctx->TriangleCaps

These are helpful in deciding whether you need to recalculate state if your
recalculation involves reference to a derived value.
/external/mesa3d/src/mesa/main/teximage.c
ebb248aa5c018dc676d389221d76ed329059789e 29-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> more minor header file re-org (moved CONST, ASSERT, INLINE to config.h)
/external/mesa3d/src/mesa/main/teximage.c
699bc7b73d2fede77d3290f66c1ec355afd0373e 29-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> More GLchan color channel changes.
Some header file re-org:
Move matrix, vertex buffer structs to types.h to fix #include mess.
Remove typedef, extern declarations from config.h
/external/mesa3d/src/mesa/main/teximage.c
ba643a2094a1e844b6ce60f468057057557859ce 28-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> Basic work to support deep color channels:
Replace GLubyte with GLchan
Replace 255 with CHAN_MAX
/external/mesa3d/src/mesa/main/teximage.c
1873b567b28a3e3f4d94d0eacb27ffd235ec9529 17-Oct-2000 Brian Paul <brian.paul@tungstengraphics.com> added _mesa_get_teximages_from_driver()
/external/mesa3d/src/mesa/main/teximage.c
37a6211795cfd0a4431bdb7c676acf54f29df994 28-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> new params for SpecificCompressedTexFormat() (Bill White)
/external/mesa3d/src/mesa/main/teximage.c
38d3f3d660225150715bc06f6b33e394ba803299 07-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> added device driver function for texture proxy testing
/external/mesa3d/src/mesa/main/teximage.c
f96ce6a707979cbece10cd42f8b03a25d26cac65 06-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> oops- forgot convolution for glGetTexImage. Done now.
/external/mesa3d/src/mesa/main/teximage.c
c52fc9b49cbd6158da9e96ccd57a38197293a3e0 06-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> passing proxy targets to glGetTexImage() should generate GL_INVALID_ENUM
/external/mesa3d/src/mesa/main/teximage.c
9c27278acfb786c8f2fc591eef9ed0c25135bcf0 06-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> use clear_proxy_teximage() instead of MEMSET()
/external/mesa3d/src/mesa/main/teximage.c
01e54753ff2bc1831359b04a1906f462d39f33e1 05-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> Fixed bug in fill_texture_image(). Clean-up in _mesaGetTexImage()
/external/mesa3d/src/mesa/main/teximage.c
a805bb969199a0f2a5ca7224898a87112ccd2177 02-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> finished convolution
/external/mesa3d/src/mesa/main/teximage.c
bfc6ee1b1371605af434cc411b6e0cc9e987f95b 02-Sep-2000 Brian Paul <brian.paul@tungstengraphics.com> destBytesPerRow was uninitialized in make_texture_image()
/external/mesa3d/src/mesa/main/teximage.c
5a0d3dc7b39c041a373cb0389bc3563c87ff6c81 31-Aug-2000 Brian Paul <brian.paul@tungstengraphics.com> convolution for glTexImage[123]D now works
/external/mesa3d/src/mesa/main/teximage.c
f93b3dd69e744cf1dd6b102a11cdb07c2df4a967 30-Aug-2000 Brian Paul <brian.paul@tungstengraphics.com> more convolution work
/external/mesa3d/src/mesa/main/teximage.c
289d47eee5342bd7ec1c25a29d9bdc8d6f9dc4ed 30-Aug-2000 Brian Paul <brian.paul@tungstengraphics.com> finished compressed texture support (Bill White)
/external/mesa3d/src/mesa/main/teximage.c
fa4525e289b475b928a7b2c4055af9dd7fe46600 21-Aug-2000 Brian Paul <brian.paul@tungstengraphics.com> implemented new ImageTransferState bitmask
/external/mesa3d/src/mesa/main/teximage.c
73b5e3766fb3d0115946c6a9f6b37e53671f3a3b 28-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed two proxy texture typos
/external/mesa3d/src/mesa/main/teximage.c
7dac13272a959654f1010b80c1f1ec6dcae5a4fa 15-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> revamped glCopyTexSubImage1/2/3D() to be more like glCopyTexImage1/2/3D()
/external/mesa3d/src/mesa/main/teximage.c
9540a1dbcf213645b23c6cd9284e92a1152cca05 06-Jun-2000 Brian Paul <brian.paul@tungstengraphics.com> more work on GL_ARB_texture_compression
/external/mesa3d/src/mesa/main/teximage.c
ad817704fa2c6d8449f55565f07ab5592a574fb6 30-May-2000 Brian Paul <brian.paul@tungstengraphics.com> more work on GL_ARB_texture_cube_map
/external/mesa3d/src/mesa/main/teximage.c
413d6a21f849a689b5c83ea04395856b44fc65a8 26-May-2000 Brian Paul <brian.paul@tungstengraphics.com> more work on GL_ARB_texture_cube_map
/external/mesa3d/src/mesa/main/teximage.c
aea66b135eaa5a5f2bc8c652fa7a1a42cca2fe83 24-May-2000 Brian Paul <brian.paul@tungstengraphics.com> more work on GL_ARB_texture_compression
/external/mesa3d/src/mesa/main/teximage.c
1207bf057aeea3376e5e0f03f789a5d67ed4d29d 23-May-2000 Brian Paul <brian.paul@tungstengraphics.com> initial work for GL_ARB_texture_compression
/external/mesa3d/src/mesa/main/teximage.c
35d5301a54153930ee6fd60dff1010ce9f901397 23-May-2000 Brian Paul <brian.paul@tungstengraphics.com> more texture cube work, misc code clean-up
/external/mesa3d/src/mesa/main/teximage.c
fc4b44399a07a7a7559f20ceab8a791209b4d875 23-May-2000 Brian Paul <brian.paul@tungstengraphics.com> more work on GL_ARB_texture_cube_map
/external/mesa3d/src/mesa/main/teximage.c
86fc370d399167ec9bb978d053d4a72215c86c16 22-May-2000 Brian Paul <brian.paul@tungstengraphics.com> initial code for GL_ARB_texture_cube_map
/external/mesa3d/src/mesa/main/teximage.c
e5d68a2b7dba4d4402ee117dcaebde0b35c87956 30-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> improved PrintTexture debug function
/external/mesa3d/src/mesa/main/teximage.c
4827179cc0d314f69671e97dcb016f5a3b90a213 29-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> changes for single-copy textures
/external/mesa3d/src/mesa/main/teximage.c
021a525616bef2bafc8f60edc193b975ed2b0efa 27-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> put _mesa prefix on some functions
/external/mesa3d/src/mesa/main/teximage.c
9fd2b0a698163b397b0a17493e52b27273e51b63 25-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed a Driver.TexImage call typo, misc clean-up
/external/mesa3d/src/mesa/main/teximage.c
b132e8da5e5f2b7da1f2141e0322e66bb0608e02 23-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> replaced decode_internal_format() with _mesa_base_tex_format()
/external/mesa3d/src/mesa/main/teximage.c
0293878846551bfe349a4aa029a0489f9a73f1ff 22-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> lots of changes for single-copy texture image DD interface
/external/mesa3d/src/mesa/main/teximage.c
b7d076fc96ac27117421653a043d00a95f789d24 21-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> changed imaging functions to _mesa_ prefix
/external/mesa3d/src/mesa/main/teximage.c
43911c8ef06c44d486a17cf9a8fa8ea263b08ade 21-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> clean-up of texture image construction
/external/mesa3d/src/mesa/main/teximage.c
77ce6da028589efc2f3f16cece287f56fd98ce8e 21-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> added new_texture_image()
/external/mesa3d/src/mesa/main/teximage.c
f7b5707d66678f09bec652ecce024a0da6cc4a4b 20-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> added device driver functions for CopyTexImage, CopyTexSubImage, GetTexImage
/external/mesa3d/src/mesa/main/teximage.c
959f802dabd4f4347dc0ea925ae687abb6938588 19-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed compiler warnings on BeOS R4
/external/mesa3d/src/mesa/main/teximage.c
65d54604c387dca986c876e811362d8e8517dcac 02-Mar-2000 Brian Paul <brian.paul@tungstengraphics.com> inserted static const in make_null_texture()
/external/mesa3d/src/mesa/main/teximage.c
df6a28d105a31cfdc3c7d52574ef81f9d31bd3bd 21-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> fixed minor bug in copytexsubimage_error_check()
/external/mesa3d/src/mesa/main/teximage.c
3ab6bbe6135da26dfe9a9ba880386fdc98f6580a 12-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> now using dynamically allocated api dispatch tables
/external/mesa3d/src/mesa/main/teximage.c
663049a719ed76aa0a6f24f1951a411d241bc8a4 01-Feb-2000 Brian Paul <brian.paul@tungstengraphics.com> added _mesa_TexImage3DEXT()
/external/mesa3d/src/mesa/main/teximage.c
cea0e8e6700e871bb9bcb334cb75fbfbfcdfd702 25-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> replaced Driver.SetBuffer() with SetDrawBuffer() and SetReadBuffer()
/external/mesa3d/src/mesa/main/teximage.c
3f02f90f943a996d88abc20f74503afbb56a4c98 24-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> added support for separate read/draw buffers per context
/external/mesa3d/src/mesa/main/teximage.c
fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5 11-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> first big check-in of new Mesa 3.3 code
/external/mesa3d/src/mesa/main/teximage.c
327c69127cf6203681d418a76186f70cc71b9212 08-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> clean-up of header includes (Daryll)
/external/mesa3d/src/mesa/main/teximage.c
5b37c322741f019118a618bc6220f37adba4fbcd 05-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> clean-up to reduce MSVC warnings
/external/mesa3d/src/mesa/main/teximage.c
c3f0a511a725c7b3d3d7d93b1955aaaa2bb32f0d 03-Nov-1999 Brian Paul <brian.paul@tungstengraphics.com> new texture image processing
/external/mesa3d/src/mesa/main/teximage.c
64a79b2f3ad964fa61c46bf3239634736e508a44 22-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> applied Jonn Carmack's patch for faster glTexSubImage2D() in Quake
/external/mesa3d/src/mesa/main/teximage.c
fc811e2bfdb77365c23a8679201473bb9ec9f870 21-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> silenced ininitialized var warnings
/external/mesa3d/src/mesa/main/teximage.c
d53573daf7bb53a41c9307339d70cfbba4f3b7a5 19-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> fixed a number of error-test bugs
/external/mesa3d/src/mesa/main/teximage.c
91baaa3d5a34a0a746dcb70967364a388d5ca438 18-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> negative offsets to TexSubImage w/ texture borders caused memory corruption
/external/mesa3d/src/mesa/main/teximage.c
bd5cdaf4442872d3cd2ff94eeafadd481d27fcfb 13-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> removed GL_ prefix from memory macros
/external/mesa3d/src/mesa/main/teximage.c
60a249d009acec34bd61e12f01caf7bdf87e895c 10-Oct-1999 Brian Paul <brian.paul@tungstengraphics.com> now using GL_MALLOC, GL_FREE
/external/mesa3d/src/mesa/main/teximage.c
485f04074151686fa24d40e3eeb83029d3d8c425 08-Oct-1999 Keith Whitwell <keith@tungstengraphics.com> Fixed includes & added a few hooks for the DRI.
/external/mesa3d/src/mesa/main/teximage.c
afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1c 19-Aug-1999 jtg <jtg> Initial revision
/external/mesa3d/src/mesa/main/teximage.c