summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.c
Commit message (Collapse)AuthorAgeFilesLines
* _mesa_pack_rgba_span_float: fix for packing data into groupXiang, Haihao2007-01-311-3/+5
|
* fix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044Brian Paul2006-11-161-3/+3
|
* remove needless conditionBrian Paul2006-10-131-3/+1
|
* Consolidate, move, fix code related to color index and stencil image transferBrian Paul2006-10-131-48/+111
| | | | operations (shift, offset, table lookup, etc).
* In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul2006-10-131-17/+9
| | | | | | | 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/GLuint/GLbitfield/Brian Paul2006-10-131-7/+7
|
* removed obsolete _mesa_pack_rgba_span_chan()Brian Paul2006-10-131-72/+0
|
* don't use temp storage in _mesa_convert_colors() when possibleBrian Paul2006-10-121-47/+60
|
* Added _mesa_convert_colors().Brian Paul2006-10-111-14/+146
| | | | _mesa_clip_drawpixels() now handles Pixel.ZoomY==-1.
* undo some accidental changes in _mesa_is_legal_format_and_type()Brian Paul2006-09-111-4/+7
|
* Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problemsBrian Paul2006-09-101-4/+20
| | | | | | converting 0 to exactly 0.0 This goes against the OpenGL spec (see table 2.6) but solves problems when doing byte -> float -> ubyte conversion for particular texture formats.
* misc clean-upsBrian Paul2006-05-071-35/+38
|
* check for float->uint overflow in _mesa_unpack_depth_span()Brian Paul2006-05-051-3/+16
|
* comment about byteswapping in _mesa_unpack_depth_span()Brian Paul2006-03-281-0/+1
|
* merge from texman branchmesa_20060325Brian Paul2006-03-261-1/+41
|
* Added OSMesaColorClamp(), bug 4917Brian Paul2005-11-121-1/+1
|
* Bug 4996.Brian Paul2005-11-091-27/+28
| | | | | 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.
* added _mesa_pack_depth_stencil_span()Brian Paul2005-10-011-0/+47
|
* Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul2005-09-281-34/+114
| | | | glReadPixels done, glDrawPixels mostly done.
* remove DEFARRAY, CHECKARRAY stuffBrian Paul2005-09-061-21/+6
|
* silence a variety of warnings found with g++ 3.4.2Brian Paul2004-12-031-2/+2
|
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-101-24/+67
| | | | | | | 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.
* added a comment and assertion in _mesa_clip_drawpixels() for PixelZoomBrian Paul2004-11-091-0/+3
|
* added _mesa_clip_drawpixels() and _mesa_clip_readpixels()Brian Paul2004-11-091-1/+97
|
* Use the _mesa_scale_and_bias_rgba() function in the convolution functions.Brian Paul2004-10-311-5/+5
| | | | Minor clean-ups.
* fix a commentBrian Paul2004-10-021-2/+2
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-0/+2
| | | | 1015696)
* disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of ↵Brian Paul2004-06-111-0/+2
| | | | the 1.5 spec
* GL_BGR can't be used with the packed types, according to the GL spec. ↵Brian Paul2004-05-121-1/+15
| | | | Enforce such.
* some component ordering bugs in extract_float_rgba()Brian Paul2004-05-121-24/+32
|
* New glTexImage code.Brian Paul2004-04-221-41/+46
| | | | | | | | 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.
* Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul2004-03-131-26/+8
| | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
* Remove clamp parameter from _mesa_unpack_color_span_float(). Pass theBrian Paul2004-02-281-19/+13
| | | | | | IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
* minor clean-upsBrian Paul2004-02-281-10/+15
|
* consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() ↵Brian Paul2004-02-281-199/+110
| | | | function
* rename some span pack/unpack functions for better uniformityBrian Paul2004-02-281-7/+7
|
* move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()Brian Paul2004-02-281-9/+9
|
* casts for g++Brian Paul2003-11-251-1/+1
|
* Some groundwork for supporting GLhalf datatype.Brian Paul2003-11-181-0/+160
|
* fix a few more glitches from last big check-inBrian Paul2003-07-231-6/+6
|
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-75/+104
|
* 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-4/+9
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* 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-6/+24
|
* updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)Brian Paul2002-09-211-2/+20
|
* replaced GLshort with GLushort in _mesa_sizeof_packed_type()Brian Paul2002-04-261-8/+8
|
* Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and textureBrian Paul2002-03-191-38/+116
| | | | | | | memory. These can be overridden by applications which need to manage this memory specially. Contributed by Gerk Huisma. Also, new code for 8-bit -> 16-bit/channel texture image storage which fills in the least-significant bits properly.
* added _mesa_image_image_stride()Brian Paul2002-03-131-3/+43
|
* more work on float colors (still not finished)Brian Paul2001-07-141-1/+14
|