summaryrefslogtreecommitdiff
path: root/src/mesa/main/pixel.c
AgeCommit message (Collapse)Author
2008-09-21mesa: refactor: move initialization of DefaultPacking state.Brian Paul
2008-09-21mesa: refactor: move pixel map/scale/bias code into image.cBrian Paul
pixel.c is just the API-related code now.
2008-09-21mesa: refactor: new _mesa_init_pixelstore() functionBrian Paul
(cherry picked from commit 5f91007f996d0b7e3233f221a6b0056203e356d2)
2008-09-21mesa: refactor: move glPixelStore function into new pixelstore.c fileBrian Paul
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-14pixelmap code simplificationBrian
2007-03-14Re-org of gl_pixel_attrib struct.Brian
Reorder fields according to the order in which the pixel transfer operations take place. Improve comments. Move the pixel maps out of gl_pixel_attrib since they're not supposed to be pushed/popped by glPush/PopAttrib. New gl_pixelmap and gl_pixelmaps structs to contain the pixelmaps.
2007-03-13fix ctx->Pixel.PostConvolutionScale/Bias subscript bugsBrian
2006-10-24s/GLchan/GLubyte/Brian Paul
2006-10-13Consolidate, move, fix code related to color index and stencil image transferBrian Paul
operations (shift, offset, table lookup, etc).
2006-10-13Revamp color table code.Brian Paul
Always store all color tables as both float and ubyte.
2006-10-12remove _mesa_chan_to_float_span(), rename _mesa_map_ci8_to_rgba()Brian Paul
2006-10-12_mesa_map_ci_to_rgba_chan() no longer usedBrian Paul
2005-12-14Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul
done with fragment programs nowadays.
2005-11-09Bug 4996.Brian Paul
Replace use of FLOAT_TO_USHORT with either CLAMPED_FLOAT_TO_USHORT or UNCLAMPED_FLOAT_TO_USHORT. Same should be done for UBYTE, UINT, etc.
2005-10-05s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.Brian Paul
2005-09-28added _mesa_scale_and_bias_depth()Brian Paul
2005-08-10the PIXEL_MAP_I_TO_I table should be GLfloat, not GLintBrian Paul
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
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-31Use the _mesa_scale_and_bias_rgba() function in the convolution functions.Brian Paul
Minor clean-ups.
2004-10-31PBO support for gl[Get]PixelMap functionsBrian Paul
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-02-28move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()Brian 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-08-19Fix glPixelMap: s/GLint/GLsizei/Brian Paul
2003-07-23fix a few more glitches from last big check-inBrian Paul
2003-07-23fix GL_SGI_texture_colortable bugsBrian Paul
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-01-26remove bad assertion, fix minor bug in _mesa_lookup_rgba()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-09-21GL_MESA_pack_invertBrian Paul
2002-09-21updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)Brian Paul
2002-04-24test mapsize against 1, not 0 in glPixelMap()Brian Paul
2001-12-18Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul
Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
2001-12-04fixed potential array overwrite problemBrian Paul
2001-09-18compiler warningsKarl Schultz
2001-07-13assorted changes for supporting GLfloat color channels (not done)Brian Paul
2001-05-23fix bug 426657: need to clamp RGBA before color table lookupsBrian Paul
2001-04-10Added IROUND_POS() macro to mmath.h and use where appropriate. (Klaus ↵Brian Paul
Niederkrueger)
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-27colortable w/ size=0 wasn't handled correctlyBrian Paul
2001-01-23Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul
Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
2001-01-03More color macro clean-ups.Brian Paul
FLOAT_TO_CHAN() macro removed.