summaryrefslogtreecommitdiff
path: root/src/mesa/main/colortab.c
AgeCommit message (Collapse)Author
2007-03-21merge from masterBrian
2007-03-16Colortable re-org.Brian
The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
2007-03-15in _mesa_GetColorTable, return silently if table size is 0Brian
2007-01-23fixes for C++ warnings/errorsBrian
2006-10-13In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul
incoming colors when applying pixel transfer ops. In all cases, the caller either indicates there's no pixel transfer ops, or the incoming colors are coming from temporary storage already and can be safely modified.
2006-10-13s/GL_FALSE/0x0/Brian Paul
2006-10-13Revamp color table code.Brian Paul
Always store all color tables as both float and ubyte.
2006-04-27fixes for CHAN_BITS!=8Brian Paul
2005-10-05s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.Brian Paul
2005-09-03fudge set_component_sizes() a bit, see commentsBrian Paul
2005-08-28fix a few proxy color table bugs (bug 4270)Brian Paul
2005-04-27move set_component_sizes() to fix bug 3135Brian Paul
2004-12-14uint*t -> u_int*t changesAlan Hourihane
2004-11-10GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul
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.
2004-10-31PBO support for glColorTable, glColorSubTable, glGetColorTable, etc.Brian Paul
2004-09-09Update the doxygen configuration file.Jose Fonseca
Minor updates/fixes to the source documentation.
2004-04-22New glTexImage code.Brian Paul
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.
2004-02-28Remove clamp parameter from _mesa_unpack_color_span_float(). Pass theBrian Paul
IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
2004-02-28rename some span pack/unpack functions for better uniformityBrian Paul
2004-02-28consolidate some codeBrian Paul
2004-02-28replace color table FloatTable boolean with Type enumBrian Paul
2003-10-21Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
2003-07-22Restore more code lost during last big merge.Brian Paul
Rename colortable-related functions.
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2003-01-26Make GL_SGI_texture_color_table work per-texture unit.Brian Paul
Clean-up and optimize _swrast_texture_table_lookup().
2003-01-21GL_SGI_texture_color_table extension (Eric Plante)Brian Paul
2002-10-24Header file clean-up:Brian Paul
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.
2002-07-09Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul
indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
2002-06-29Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
2002-06-08added missing texture cube map targetsBrian Paul
2001-09-15more warning fixes (Karl Schultz)Brian Paul
2001-07-14more work on float colors (still not finished)Brian Paul
2001-04-20Minor fixes for Win32 (Karl Schultz).Brian Paul
2001-04-10Added IROUND_POS() macro to mmath.h and use where appropriate. (Klaus ↵Brian Paul
Niederkrueger)
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-27colortable w/ size=0 wasn't handled correctlyBrian Paul
2000-12-26Major rework of tnl moduleKeith Whitwell
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.
2000-12-10generate GL_INVALID_OPERATION error for bad image format/type combinationsBrian Paul
2000-12-09set default table size to 0, minor error check fixBrian Paul
2000-11-23More auto* build system updatesJon Taylor
2000-11-21call gl_update_state() if needed in glGetColorTable, glGetConvolutionFilterBrian Paul
2000-11-21added some RENDER_START/RENDER_FINISH macros. Minor GLchan changesBrian Paul
2000-11-19Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul
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.
2000-11-10minor changes to silence compiler warningsBrian Paul
2000-10-31Moved the software rasterizer to a new directory.Keith Whitwell