summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_drawpix.c
AgeCommit message (Collapse)Author
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.
2006-03-19minor clean-upsBrian Paul
2005-12-14Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul
done with fragment programs nowadays.
2005-11-17optimize drawing GL_DEPTH_STENCIL pixels into a GL_DEPTH_STENCIL renderbufferBrian Paul
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-11-14remove unneeded RasterPosValid checkBrian Paul
2005-10-31check swrast->_FogEnabled instead of ctx->Fog.EnabledBrian Paul
2005-10-04Use Visual.depthBits rather than Renderbuffer::DepthBits for depth bufferBrian Paul
operations.
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-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-20remove unneeded sizeof(GLdepth) testBrian Paul
2005-09-15Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul
with GLboolean in a few places.
2005-07-01Remove NEW_RENDERBUFFER stuff.Brian Paul
Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
2005-07-01remove OLD_RENDERBUFFER codeBrian Paul
2005-06-02Remove last of the old span code.Brian 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-09Removed _swrast_clip_pixelrect(). Use _mesa_clip_drawpixels() instead.Brian 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-09-30set span.y prior to each span write in draw_depth_pixels, like Karl's other fixBrian Paul
2004-09-28Fix bug in glDrawPixels when writing color indexed images on color indexedKarl Schultz
devices. In draw_index_pixels(), use the correct variables for the span Y and span end values.
2004-07-26consistantly use unpack parameter, instead of ctx->Unpack (Daniel Borca)Brian Paul
2004-05-14Minor fixes/optimizations to type conversions in draw_depth_pixels().Brian Paul
Fix off by one errors in a few assertions.
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-28Remove clamp parameter from _mesa_unpack_color_span_float(). Pass theBrian Paul
IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
2004-02-28rename some span pack/unpack functions for better uniformityBrian Paul
2003-12-04Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.Brian Paul
2003-08-23indentation fixBrian Paul
2003-08-23glDrawPixels(GL_DEPTH_COMPONENT) with glPixelZoom didn't workBrian Paul
2003-04-08Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul
Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
2003-03-25replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2003-02-25casts to silence g++ warningsBrian Paul
2003-01-16another fix for glDrawPixels + clippingBrian Paul
2003-01-15fix glDrawPixels hang when clippingBrian Paul
2002-12-18comment changesBrian Paul
2002-12-05properly handle very wide imagesBrian Paul
2002-11-25set default texcoords for glBitmap/glDrawPixelsBrian Paul
2002-10-30remove some stray debug/abort codeBrian 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-10-08finally get rid of ctx->Texture._ReallyEnabled fieldBrian Paul
2002-08-07struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul
data are broken out into a new struct span_arrays which is allocated per-context (to avoid huge stack allocations - a problem on Windows). This lets us use span.redStep instead of span->redStep (for example) to hopefully get slightly better performance in the triangle functions.
2002-06-15Implemented GL_NV_texture_rectangle extension.Brian Paul
Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
2002-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.