Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | remove unneeded sizeof(GLdepth) test | Brian Paul | 2005-09-20 | 1 | -2/+1 | |
| | ||||||
* | Replace GLuint with GLbitfield where appropriate. Also replace GLuint | Brian Paul | 2005-09-15 | 1 | -2/+2 | |
| | | | | with GLboolean in a few places. | |||||
* | Remove NEW_RENDERBUFFER stuff. | Brian Paul | 2005-07-01 | 1 | -2/+0 | |
| | | | | | Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function. | |||||
* | remove OLD_RENDERBUFFER code | Brian Paul | 2005-07-01 | 1 | -87/+16 | |
| | ||||||
* | Remove last of the old span code. | Brian Paul | 2005-06-02 | 1 | -8/+1 | |
| | ||||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -21/+107 | |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | |||||
* | GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking | Brian Paul | 2004-11-10 | 1 | -21/+21 | |
| | | | | | | | 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. | |||||
* | Removed _swrast_clip_pixelrect(). Use _mesa_clip_drawpixels() instead. | Brian Paul | 2004-11-09 | 1 | -47/+0 | |
| | ||||||
* | Allow the software fallback glDrawPixels, glReadPixels, glBitmap commands to | Brian Paul | 2004-10-31 | 1 | -5/+28 | |
| | | | | | work with real, hardware-based PBOs in the future by mapping/unmapping the PBO buffer as needed. | |||||
* | set span.y prior to each span write in draw_depth_pixels, like Karl's other fix | Brian Paul | 2004-09-30 | 1 | -11/+11 | |
| | ||||||
* | Fix bug in glDrawPixels when writing color indexed images on color indexed | Karl Schultz | 2004-09-28 | 1 | -2/+2 | |
| | | | | | devices. In draw_index_pixels(), use the correct variables for the span Y and span end values. | |||||
* | consistantly use unpack parameter, instead of ctx->Unpack (Daniel Borca) | Brian Paul | 2004-07-26 | 1 | -26/+32 | |
| | ||||||
* | Minor fixes/optimizations to type conversions in draw_depth_pixels(). | Brian Paul | 2004-05-14 | 1 | -27/+41 | |
| | | | | Fix off by one errors in a few assertions. | |||||
* | New glTexImage code. | Brian Paul | 2004-04-22 | 1 | -1/+1 | |
| | | | | | | | | 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 Paul | 2004-03-13 | 1 | -8/+13 | |
| | | | | | 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 the | Brian Paul | 2004-02-28 | 1 | -3/+2 | |
| | | | | | | IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet). | |||||
* | rename some span pack/unpack functions for better uniformity | Brian Paul | 2004-02-28 | 1 | -2/+2 | |
| | ||||||
* | Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings. | Brian Paul | 2003-12-04 | 1 | -6/+0 | |
| | ||||||
* | indentation fix | Brian Paul | 2003-08-23 | 1 | -1/+1 | |
| | ||||||
* | glDrawPixels(GL_DEPTH_COMPONENT) with glPixelZoom didn't work | Brian Paul | 2003-08-23 | 1 | -12/+6 | |
| | ||||||
* | Added ctx->Texture._EnabledCoordUnits bitfield. | Brian Paul | 2003-04-08 | 1 | -6/+4 | |
| | | | | | | Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now. | |||||
* | replace _mesa_ prefix with _swrast_, remove s_histogram.[ch] | Brian Paul | 2003-03-25 | 1 | -33/+33 | |
| | ||||||
* | Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] | Brian Paul | 2003-03-01 | 1 | -2/+1 | |
| | | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h | |||||
* | casts to silence g++ warnings | Brian Paul | 2003-02-25 | 1 | -2/+2 | |
| | ||||||
* | another fix for glDrawPixels + clipping | Brian Paul | 2003-01-16 | 1 | -9/+21 | |
| | ||||||
* | fix glDrawPixels hang when clipping | Brian Paul | 2003-01-15 | 1 | -15/+30 | |
| | ||||||
* | comment changes | Brian Paul | 2002-12-18 | 1 | -3/+3 | |
| | ||||||
* | properly handle very wide images | Brian Paul | 2002-12-05 | 1 | -135/+163 | |
| | ||||||
* | set default texcoords for glBitmap/glDrawPixels | Brian Paul | 2002-11-25 | 1 | -2/+4 | |
| | ||||||
* | remove some stray debug/abort code | Brian Paul | 2002-10-30 | 1 | -3/+1 | |
| | ||||||
* | Header file clean-up: | Brian Paul | 2002-10-24 | 1 | -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. | |||||
* | finally get rid of ctx->Texture._ReallyEnabled field | Brian Paul | 2002-10-08 | 1 | -3/+3 | |
| | ||||||
* | struct sw_span is again allocated on the stack, but the arrays of span | Brian Paul | 2002-08-07 | 1 | -110/+115 | |
| | | | | | | | 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. | |||||
* | Implemented GL_NV_texture_rectangle extension. | Brian Paul | 2002-06-15 | 1 | -3/+3 | |
| | | | | | | | | | 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. | |||||
* | Added ctx parameter to _mesa_debug() | Brian Paul | 2002-06-15 | 1 | -2/+58 | |
| | | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes. | |||||
* | Allocate a sw_span struct in the swrast context instead of allocating it | Brian Paul | 2002-04-19 | 1 | -114/+109 | |
| | | | | | on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows. | |||||
* | Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitive | Brian Paul | 2002-04-12 | 1 | -16/+16 | |
| | | | | type, width, interp mask and array mask. | |||||
* | don't include s_fog.h | Brian Paul | 2002-02-17 | 1 | -2/+1 | |
| | ||||||
* | fixed float->int conversion. Fix conditional for 16-bit Z buffer path | Brian Paul | 2002-02-15 | 1 | -22/+16 | |
| | ||||||
* | sw_span can now hold x/y arrays of fragment positions - getting ready to | Brian Paul | 2002-02-02 | 1 | -21/+4 | |
| | | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions. | |||||
* | Clean-up and optimize alpha test code. | Brian Paul | 2002-01-31 | 1 | -83/+85 | |
| | | | | Major clean-up of pixel zoom code. | |||||
* | More span clean-up, mostly texture-related. | Brian Paul | 2002-01-28 | 1 | -2/+1 | |
| | | | | | _mesa_rasterize_span() is gone, replaced by new _mesa_write_textured_span(). Removed some unneeded triangle functions - more simplification possible. | |||||
* | LOTS of changes, building upon Klaus's work. | Brian Paul | 2002-01-27 | 1 | -102/+88 | |
| | | | | | struct sw_span is used throughout span/fragment processing. This is leading to less code and more chances for optimization. | |||||
* | added some missing error checks | Brian Paul | 2002-01-15 | 1 | -1/+6 | |
| | ||||||
* | Klaus's latest patches: change texcoord[3] to texcoord[4] everywhere | Brian Paul | 2002-01-10 | 1 | -26/+8 | |
| | ||||||
* | first checkpoint commit of Klaus's new span code (struct sw_span) | Brian Paul | 2001-12-17 | 1 | -10/+21 | |
| | ||||||
* | More raster fog coord fixes. | Brian Paul | 2001-06-26 | 1 | -11/+7 | |
| | | | | | New truncate vs. floor comments in drawpixels.c Added current raster secondary color state, not used yet. | |||||
* | fix glDraw/CopyPixels w/ fog bug. minor fog code clean-ups. | Brian Paul | 2001-06-18 | 1 | -5/+20 | |
| | ||||||
* | added current raster fog coord and related code | Brian Paul | 2001-05-30 | 1 | -5/+13 | |
| | ||||||
* | use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon) | Brian Paul | 2001-05-16 | 1 | -3/+14 | |
| |