summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_readpix.c
AgeCommit message (Collapse)Author
2006-05-30free convolved image / fix mem leak (bug 7077)Brian Paul
2006-05-07minor clean-ups around DepthScale/BiasBrian Paul
2006-03-22Need to check for new state and do readpixels/drawpixels clipping afterBrian Paul
we call RENDER_START since that may involve validating the drawable and updating its dimensions.
2005-11-17optimize case of reading GL_DEPTH_STENCIL pixels from GL_DEPTH_STENCIL ↵Brian Paul
renderbuffer
2005-11-16Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
2005-10-04Use Visual.depthBits rather than Renderbuffer::DepthBits for depth bufferBrian Paul
operations.
2005-10-01simplify the read_depth_stencil_pixels() functionBrian Paul
2005-09-30minor improvementsBrian Paul
2005-09-29Rewrite much of the pixel zoom code.Brian Paul
Zoomed DrawPixels of packed depth/stencil works now.
2005-09-28Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul
glReadPixels done, glDrawPixels mostly done.
2005-09-27Lift all the format/type error checking out of the _swrast_Draw/Read/CopyPixelsBrian Paul
functions into the _mesa_Draw/Read/CopyPixels functions.
2005-09-23fix clipped glReadPixels bugBrian Paul
2005-09-22When testing visual attributes, use the Draw/Read buffer, not the context.Brian Paul
2005-09-21replace GLdepth with GLuint and remove GLdepthBrian Paul
2005-09-16lots of little clean-ups, improvementsBrian Paul
2005-09-06don't use DEFARRAY/CHECKARRAY stuffBrian Paul
2005-09-03Remove last remnants of pre-renderbuffer code.Brian Paul
2005-06-04remove old span codeBrian Paul
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2004-11-10GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul
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.
2004-11-09use the new _mesa_clip_readpixels() routineBrian Paul
2004-11-09don't use ctx->Pack, use the function argumentBrian Paul
2004-10-31Allow the software fallback glDrawPixels, glReadPixels, glBitmap commands toBrian Paul
work with real, hardware-based PBOs in the future by mapping/unmapping the PBO buffer as needed.
2004-04-22New glTexImage code.Brian Paul
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.
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-02-28rename some span pack/unpack functions for better uniformityBrian Paul
2003-11-18added missing <type> error checking in read_index_pixels()Brian Paul
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-03-25replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul
2002-10-24Header file clean-up:Brian Paul
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.
2002-09-21GL_MESA_pack_invertBrian Paul
2002-07-09Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul
indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
2002-04-19casts to fix GLint/GLuint mismatchesBrian Paul
2002-01-12don't apply scissor box in read_fast_rgba_pixels()Brian Paul
2001-05-16use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)Brian Paul
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-16moved depth/index/stencil span packing into image.cBrian Paul
2001-01-23Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul
Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
2000-12-13improved precision of glReadPixels for colorbuffers < 24bppBrian Paul
2000-11-28fixed a convolution pixel store bugBrian Paul
2000-11-13Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell
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.
2000-11-05Reorganized software rasterizer as a module which manages its own state,Keith Whitwell
with tighter interfaces with the rest of the world. Proper documentation to come.
2000-10-31Moved software rasterizer functionality to new directory.Keith Whitwell