summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fixed an assertionBrian Paul2001-06-131-2/+2
|
* use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)Brian Paul2001-05-161-6/+22
|
* _mesa_pack_index_span() was broken for non-GLubyte datatypesBrian Paul2001-05-151-7/+7
|
* GL_INTENSITY case was incorrect in extract_float_rgba()Brian Paul2001-04-041-3/+2
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-12/+11
| | | | of potential problems
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-20/+20
|
* Changed FetchTexel() function pointer arguments.Brian Paul2001-02-171-29/+13
| | | | | | | Implemented glGetTexImage(format=GL_COLOR_INDEX). Changed _mesa_unpack_depth_span() args. Minor changes/clean-ups in mtypes.h. Histogram counter component sizes were wrong.
* moved depth/index/stencil span packing into image.cBrian Paul2001-02-161-2/+368
|
* removed bogus assertionsBrian Paul2001-02-131-7/+1
|
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-4/+4
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* More color macro clean-ups.Brian Paul2001-01-031-7/+7
| | | | FLOAT_TO_CHAN() macro removed.
* Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)Brian Paul2001-01-021-17/+17
| | | | | Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
* Pass scale and bias values to _mesa_scale_and_bias_rgba().Brian Paul2000-11-281-4/+52
| | | | Implemented post-convolution scale and bias operation.
* Committing in .Jouk Jansen2000-11-221-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ----------------------------------------------------------------------
* renamed imaging files to histogram since that's what's insideBrian Paul2000-11-101-2/+2
|