summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_readpix.c
Commit message (Collapse)AuthorAgeFilesLines
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-101-15/+15
| | | | | | | 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 new _mesa_clip_readpixels() routineBrian Paul2004-11-091-34/+37
|
* don't use ctx->Pack, use the function argumentBrian Paul2004-11-091-13/+12
|
* Allow the software fallback glDrawPixels, glReadPixels, glBitmap commands toBrian Paul2004-10-311-9/+29
| | | | | work with real, hardware-based PBOs in the future by mapping/unmapping the PBO buffer as needed.
* New glTexImage code.Brian Paul2004-04-221-1/+7
| | | | | | | | 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-7/+15
| | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
* rename some span pack/unpack functions for better uniformityBrian Paul2004-02-281-4/+4
|
* added missing <type> error checking in read_index_pixels()Brian Paul2003-11-181-3/+13
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul2003-03-251-8/+8
|
* Header file clean-up:Brian Paul2002-10-241-2/+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-2/+9
|
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-9/+6
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* casts to fix GLint/GLuint mismatchesBrian Paul2002-04-191-5/+5
|
* don't apply scissor box in read_fast_rgba_pixels()Brian Paul2002-01-121-15/+15
|
* use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)Brian Paul2001-05-161-2/+4
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-12/+20
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-6/+6
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-2/+3
| | | | of potential problems
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-13/+13
|
* moved depth/index/stencil span packing into image.cBrian Paul2001-02-161-324/+48
|
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-12/+12
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* improved precision of glReadPixels for colorbuffers < 24bppBrian Paul2000-12-131-4/+22
|
* fixed a convolution pixel store bugBrian Paul2000-11-281-2/+2
|
* Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell2000-11-131-13/+13
| | | | | | | | | | | | into a new directory. Specifically the handling of changes to lighting lighting space (light in model vs. light in eye) have been revamped. Moved several derived values used only by swrast into that directory. Removed direct calls to swrast_flush() from vbrender.c -- pushed into ctx->Driver.RenderFinish. Optimized flat-shading case in swrast_setup.
* Reorganized software rasterizer as a module which manages its own state,Keith Whitwell2000-11-051-4/+8
| | | | | | with tighter interfaces with the rest of the world. Proper documentation to come.
* Moved software rasterizer functionality to new directory.Keith Whitwell2000-10-311-0/+765