summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_readpix.c
AgeCommit message (Collapse)Author
2009-01-30swrast: replace RENDER_START/FINISH macros with inline functionsBrian Paul
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2008-03-21Refactor PBO validate/map code.Brian
We always need to do PBO validation, so do that in core Mesa before calling driver routine.
2008-03-21add a number of PBO validate/map/unmap functionsBrian
Helper functions for (some) drivers, including swrast.
2007-12-18Fix mismatched map/unmap of buffers in swrast read/drawpixels error paths.Eric Anholt
2007-11-27improve 24-bit Z to 32-bit Z conversionBrian
2007-03-21merge from masterBrian
2007-03-211D convolution (and post-conv scale/bias) were inadvertantly applied to 2D ↵Brian
image transfers.
2007-03-18fix assertion in read_depth_pixels()Nicolai Haehnle
2007-03-09Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/context.c
2007-02-26if renderbuffer ptr is null, just returnBrian
2007-02-22Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c
2007-02-01New SWspanarrays attribs[] array.Brian
Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups.
2007-01-23fixes for C++ warnings/errorsBrian
2006-11-14Make sure RENDER_FINISH is called on the zero pixel case. Reported byKeith Whitwell
Haihao Xiang.
2006-10-22Color clamping fixes.Brian Paul
2006-10-13Consolidate, move, fix code related to color index and stencil image transferBrian Paul
operations (shift, offset, table lookup, etc).
2006-10-13In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul
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.
2006-10-13s/GLuint/GLbitfield/Brian Paul
2006-10-12adjust_colors() function replaces old _mesa_chan_to_float_span() function.Brian Paul
2006-10-12Lots of changes to support runtime renderbuffer depths.Brian Paul
_swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases.
2006-10-06rewrite of read_fast_rgba_pixels()Brian Paul
2006-09-13updated commentBrian Paul
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