summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pixel.c
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate, move, fix code related to color index and stencil image transferBrian Paul2006-10-131-81/+0
| | | | operations (shift, offset, table lookup, etc).
* Revamp color table code.Brian Paul2006-10-131-416/+176
| | | | Always store all color tables as both float and ubyte.
* remove _mesa_chan_to_float_span(), rename _mesa_map_ci8_to_rgba()Brian Paul2006-10-121-68/+4
|
* _mesa_map_ci_to_rgba_chan() no longer usedBrian Paul2006-10-121-45/+2
|
* Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul2005-12-141-4/+1
| | | | done with fragment programs nowadays.
* Bug 4996.Brian Paul2005-11-091-10/+10
| | | | | 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.
* s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.Brian Paul2005-10-051-2/+2
|
* added _mesa_scale_and_bias_depth()Brian Paul2005-09-281-0/+13
|
* the PIXEL_MAP_I_TO_I table should be GLfloat, not GLintBrian Paul2005-08-101-12/+13
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-2/+0
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-101-6/+6
| | | | | | | 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.
* Use the _mesa_scale_and_bias_rgba() function in the convolution functions.Brian Paul2004-10-311-3/+1
| | | | Minor clean-ups.
* PBO support for gl[Get]PixelMap functionsBrian Paul2004-10-311-82/+371
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-0/+2
| | | | 1015696)
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-3/+7
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul2004-03-131-1/+29
| | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
* move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()Brian Paul2004-02-281-52/+321
|
* replace color table FloatTable boolean with Type enumBrian Paul2004-02-281-6/+7
|
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-11/+11
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* Fix glPixelMap: s/GLint/GLsizei/Brian Paul2003-08-191-5/+5
|
* fix a few more glitches from last big check-inBrian Paul2003-07-231-0/+4
|
* fix GL_SGI_texture_colortable bugsBrian Paul2003-07-231-0/+3
|
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-2/+196
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* remove bad assertion, fix minor bug in _mesa_lookup_rgba()Brian Paul2003-01-261-4/+2
|
* Header file clean-up:Brian Paul2002-10-241-8/+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.
* GL_MESA_pack_invertBrian Paul2002-09-211-1/+12
|
* updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)Brian Paul2002-09-211-1/+7
|
* test mapsize against 1, not 0 in glPixelMap()Brian Paul2002-04-241-4/+4
|
* Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul2001-12-181-2/+2
| | | | | | Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
* fixed potential array overwrite problemBrian Paul2001-12-041-15/+9
|
* compiler warningsKarl Schultz2001-09-181-17/+17
|
* assorted changes for supporting GLfloat color channels (not done)Brian Paul2001-07-131-3/+7
|
* fix bug 426657: need to clamp RGBA before color table lookupsBrian Paul2001-05-231-27/+63
|
* Added IROUND_POS() macro to mmath.h and use where appropriate. (Klaus ↵Brian Paul2001-04-101-29/+29
| | | | Niederkrueger)
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-5/+5
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-22/+22
|
* colortable w/ size=0 wasn't handled correctlyBrian Paul2001-02-271-2/+2
|
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-11/+11
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* More color macro clean-ups.Brian Paul2001-01-031-9/+9
| | | | FLOAT_TO_CHAN() macro removed.
* Major rework of tnl moduleKeith Whitwell2000-12-261-58/+188
| | | | | | | 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.
* improved precision of glReadPixels for colorbuffers < 24bppBrian Paul2000-12-131-1/+46
|
* Pass scale and bias values to _mesa_scale_and_bias_rgba().Brian Paul2000-11-281-18/+14
| | | | Implemented post-convolution scale and bias operation.
* Committing in .Jouk Jansen2000-11-221-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ----------------------------------------------------------------------
* Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead.Brian Paul2000-10-301-6/+5
| | | | | More minor GLchan changes. Silence some compiler warnings in cva.[ch]
* Replace the flags Mesa was using for ctx->NewState with a new setKeith Whitwell2000-10-301-1/+6
| | | | | | | | | | | | | | 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.
* More GLchan color channel changes.Brian Paul2000-10-291-22/+58
| | | | | | Some header file re-org: Move matrix, vertex buffer structs to types.h to fix #include mess. Remove typedef, extern declarations from config.h
* New colormac.h file for color-related macros.Brian Paul2000-10-281-1/+2
| | | | Lot's of clean-up in macros.h and mmath.h
* Basic work to support deep color channels:Brian Paul2000-10-281-8/+8
| | | | | Replace GLubyte with GLchan Replace 255 with CHAN_MAX
* glPixelStore(GL_PACK/UNPACK_SKIP_IMAGES) wasn't handled correctlyBrian Paul2000-10-191-2/+18
|