summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pixel.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Remove unnecessary header from pixel.c.Vinson Lee2010-01-181-1/+0
|
* mesa/main: Make FEATURE_pixel_transfer follow feature conventions.Chia-I Wu2009-09-241-9/+31
| | | | | As shown in mfeatures.h, this allows users of pixel.h to work without knowing if the feature is available.
* mesa: use new _mesa_map_pbo_source/dest() functions in more placesBrian Paul2009-09-031-158/+81
| | | | | This trims down the code a bit. The next step would be to combine the validate and map operations into one helper...
* mesa: use _mesa_is_bufferobj()Brian Paul2009-08-121-12/+12
|
* mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul2009-05-071-6/+6
| | | | | Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
* mesa: fix comment typoBrian Paul2009-04-221-1/+1
|
* mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more ↵Brian Paul2009-02-101-1/+1
| | | | consistant with other flags
* mesa: new _mesa_is_pow_two() functionBrian2008-11-101-3/+3
|
* mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca2008-09-231-1/+1
|
* mesa: refactor: move initialization of DefaultPacking state.Brian Paul2008-09-211-20/+0
|
* mesa: refactor: move pixel map/scale/bias code into image.cBrian Paul2008-09-211-407/+11
| | | | pixel.c is just the API-related code now.
* mesa: refactor: new _mesa_init_pixelstore() functionBrian Paul2008-09-211-28/+0
| | | | (cherry picked from commit 5f91007f996d0b7e3233f221a6b0056203e356d2)
* mesa: refactor: move glPixelStore function into new pixelstore.c fileBrian Paul2008-09-211-196/+0
|
* merge from masterBrian2007-03-211-311/+172
|\
| * Colortable re-org.Brian2007-03-161-12/+8
| | | | | | | | | | The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
| * pixelmap code simplificationBrian2007-03-141-253/+124
| |
| * Re-org of gl_pixel_attrib struct.Brian2007-03-141-112/+106
| | | | | | | | | | | | | | | | 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.
* | fix ctx->Pixel.PostConvolutionScale/Bias subscript bugsBrian2007-03-131-6/+6
|/
* s/GLchan/GLubyte/Brian Paul2006-10-241-4/+4
|
* 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
|