summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/colortab.c
Commit message (Collapse)AuthorAgeFilesLines
* merge from masterBrian2007-03-211-201/+112
|\
| * Colortable re-org.Brian2007-03-161-201/+112
| | | | | | | | | | The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
* | in _mesa_GetColorTable, return silently if table size is 0Brian2007-03-151-2/+6
|/
* fixes for C++ warnings/errorsBrian2007-01-231-2/+2
|
* In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul2006-10-131-1/+1
| | | | | | | 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.
* s/GL_FALSE/0x0/Brian Paul2006-10-131-1/+1
|
* Revamp color table code.Brian Paul2006-10-131-234/+94
| | | | Always store all color tables as both float and ubyte.
* fixes for CHAN_BITS!=8Brian Paul2006-04-271-14/+50
|
* s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.Brian Paul2005-10-051-18/+18
|
* fudge set_component_sizes() a bit, see commentsBrian Paul2005-09-031-1/+5
|
* fix a few proxy color table bugs (bug 4270)Brian Paul2005-08-281-8/+11
|
* move set_component_sizes() to fix bug 3135Brian Paul2005-04-271-1/+3
|
* uint*t -> u_int*t changesAlan Hourihane2004-12-141-3/+2
|
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-101-2/+2
| | | | | | | 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.
* PBO support for glColorTable, glColorSubTable, glGetColorTable, etc.Brian Paul2004-10-311-9/+62
|
* Update the doxygen configuration file.Jose Fonseca2004-09-091-5/+5
| | | | Minor updates/fixes to the source documentation.
* New glTexImage code.Brian Paul2004-04-221-2/+2
| | | | | | | | 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.
* Remove clamp parameter from _mesa_unpack_color_span_float(). Pass theBrian Paul2004-02-281-2/+1
| | | | | | IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
* rename some span pack/unpack functions for better uniformityBrian Paul2004-02-281-3/+3
|
* consolidate some codeBrian Paul2004-02-281-138/+126
|
* replace color table FloatTable boolean with Type enumBrian Paul2004-02-281-34/+50
|
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-9/+9
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* Restore more code lost during last big merge.Brian Paul2003-07-221-16/+24
| | | | Rename colortable-related functions.
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-20/+46
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-2/+1
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* Make GL_SGI_texture_color_table work per-texture unit.Brian Paul2003-01-261-49/+49
| | | | Clean-up and optimize _swrast_texture_table_lookup().
* GL_SGI_texture_color_table extension (Eric Plante)Brian Paul2003-01-211-9/+134
|
* Header file clean-up:Brian Paul2002-10-241-7/+2
| | | | | | | | 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.
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-2/+1
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul2002-06-291-4/+2
| | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
* added missing texture cube map targetsBrian Paul2002-06-081-3/+66
|
* more warning fixes (Karl Schultz)Brian Paul2001-09-151-3/+3
|
* more work on float colors (still not finished)Brian Paul2001-07-141-2/+1
|
* Minor fixes for Win32 (Karl Schultz).Brian Paul2001-04-201-2/+2
|
* Added IROUND_POS() macro to mmath.h and use where appropriate. (Klaus ↵Brian Paul2001-04-101-20/+20
| | | | Niederkrueger)
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-37/+3
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-8/+8
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-7/+18
| | | | of potential problems
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-29/+29
|
* colortable w/ size=0 wasn't handled correctlyBrian Paul2001-02-271-97/+80
|
* Major rework of tnl moduleKeith Whitwell2000-12-261-14/+9
| | | | | | | 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.
* generate GL_INVALID_OPERATION error for bad image format/type combinationsBrian Paul2000-12-101-3/+3
|
* set default table size to 0, minor error check fixBrian Paul2000-12-091-6/+12
|
* More auto* build system updatesJon Taylor2000-11-231-1/+2
|
* call gl_update_state() if needed in glGetColorTable, glGetConvolutionFilterBrian Paul2000-11-211-1/+5
|
* added some RENDER_START/RENDER_FINISH macros. Minor GLchan changesBrian Paul2000-11-211-1/+5
|
* Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul2000-11-191-16/+16
| | | | | | | 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.
* minor changes to silence compiler warningsBrian Paul2000-11-101-1/+2
|
* Moved the software rasterizer to a new directory.Keith Whitwell2000-10-311-2/+1
|