aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_copypix.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul2005-12-141-12/+0
| | | | done with fragment programs nowadays.
* s/MEMCPY/_mesa_memcpy/ and fix typoBrian Paul2005-11-171-5/+5
|
* Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul2005-11-161-5/+5
| | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
* check swrast->_FogEnabled instead of ctx->Fog.EnabledBrian Paul2005-10-311-4/+8
|
* implement CopyPixels for GL_DEPTH_STENCIL_EXTBrian Paul2005-09-291-15/+189
|
* Rewrite much of the pixel zoom code.Brian Paul2005-09-291-24/+20
| | | | Zoomed DrawPixels of packed depth/stencil works now.
* Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul2005-09-281-0/+13
| | | | glReadPixels done, glDrawPixels mostly done.
* Lift all the format/type error checking out of the _swrast_Draw/Read/CopyPixelsBrian Paul2005-09-271-25/+20
| | | | functions into the _mesa_Draw/Read/CopyPixels functions.
* When testing visual attributes, use the Draw/Read buffer, not the context.Brian Paul2005-09-221-8/+8
|
* replace GLdepth with GLuint and remove GLdepthBrian Paul2005-09-211-3/+1
|
* Update includes post-splitting of s_texture.cBrian Paul2005-09-151-1/+0
|
* don't use DEFARRAY/CHECKARRAY stuffBrian Paul2005-09-061-5/+1
|
* Remove last remnants of pre-renderbuffer code.Brian Paul2005-09-031-51/+1
|
* Remove last of the old span code.Brian Paul2005-06-021-19/+3
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-19/+63
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* fix convolution regression from revision 1.48 to 1.49Brian Paul2004-11-011-3/+2
|
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-3/+3
|
* Remove clamp parameter from _mesa_unpack_color_span_float(). Pass theBrian Paul2004-02-281-44/+51
| | | | | | IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
* consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() ↵Brian Paul2004-02-281-93/+12
| | | | function
* move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()Brian Paul2004-02-281-6/+6
|
* Fix a front/back CopyPixels glitch.Brian Paul2003-12-051-8/+28
|
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-081-2/+0
| | | | | | 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 Paul2003-03-251-32/+32
|
* clean-ups, commentsBrian Paul2002-12-051-24/+36
|
* don't call abort()Brian Paul2002-10-301-3/+4
|
* 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.
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-70/+69
| | | | | | | 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.
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-83/+33
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-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.
* Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul2002-04-191-73/+69
| | | | | on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
* casts to fix GLint/GLuint mismatchesBrian Paul2002-04-191-5/+5
|
* Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul2002-04-121-14/+14
| | | | type, width, interp mask and array mask.
* fixed pointer arithmetic error in glCopyPixelsBrian Paul2002-03-141-3/+3
|
* don't include s_fog.hBrian Paul2002-02-171-2/+1
|
* Clean-up and optimize alpha test code.Brian Paul2002-01-311-38/+28
| | | | Major clean-up of pixel zoom code.
* Still more texture/span simplification and clean-up.Brian Paul2002-01-281-3/+2
| | | | Updated comments, fixed indentation, etc.
* More span improvements. Removed _mesa_write_monocolor_span().Brian Paul2002-01-281-18/+1
| | | | | Removed last of span.filled* flags and Klaus's macros. More simplification of triangle functions.
* LOTS of changes, building upon Klaus's work.Brian Paul2002-01-271-160/+102
| | | | | struct sw_span is used throughout span/fragment processing. This is leading to less code and more chances for optimization.
* added another test in regions_overlap() (Klaus)Brian Paul2002-01-161-3/+6
|
* Klaus's latest patches: change texcoord[3] to texcoord[4] everywhereBrian Paul2002-01-101-39/+14
|
* first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul2001-12-171-12/+31
|
* vertex program check-inBrian Paul2001-12-141-4/+10
|
* GLubyte -> GLchan changeBrian Paul2001-07-231-2/+2
|
* assorted changes for supporting GLfloat color channels (not done)Brian Paul2001-07-131-2/+2
|
* fixed two bad casts (Stephane Conversy)Brian Paul2001-07-131-3/+3
|
* More raster fog coord fixes.Brian Paul2001-06-261-21/+13
| | | | | 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 Paul2001-06-181-9/+38
|
* added current raster fog coord and related codeBrian Paul2001-05-301-14/+34
|
* use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)Brian Paul2001-05-161-8/+28
|
* Apply antialiasing coverage factor to alpha after texture application,Brian Paul2001-05-151-8/+12
| | | | not before.