aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-103-41/+41
| | | | | | | 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.
* use the new _mesa_clip_readpixels() routineBrian Paul2004-11-091-34/+37
|
* Removed _swrast_clip_pixelrect(). Use _mesa_clip_drawpixels() instead.Brian Paul2004-11-092-53/+1
|
* don't use ctx->Pack, use the function argumentBrian Paul2004-11-091-13/+12
|
* fix convolution regression from revision 1.48 to 1.49Brian Paul2004-11-011-3/+2
|
* PBO support for glColorTable, glColorSubTable, glGetColorTable, etc.Brian Paul2004-10-311-0/+16
|
* PBO support for glConvolutionFilter1D/2D, glGetConvolutionFilter, etc.Brian Paul2004-10-311-1/+17
|
* Removed _swrast_validate_pbo_access().Brian Paul2004-10-312-27/+0
| | | | In x11 driver, map/unmap PBO as needed in DrawPixels functions.
* Allow the software fallback glDrawPixels, glReadPixels, glBitmap commands toBrian Paul2004-10-313-22/+83
| | | | | work with real, hardware-based PBOs in the future by mapping/unmapping the PBO buffer as needed.
* minor fixes from J.P. DelportBrian Paul2004-10-231-0/+1
|
* Fix minor fog / fragment program state bug.Brian Paul2004-10-134-26/+29
| | | | Don't add diffuse and specular colors when using fragment program.
* *** empty log message ***Karl Schultz2004-10-061-0/+15
|
* added support for GL_ARB_draw_buffersBrian Paul2004-10-026-20/+34
|
* set span.y prior to each span write in draw_depth_pixels, like Karl's other fixBrian Paul2004-09-301-11/+11
|
* Fix bug in glDrawPixels when writing color indexed images on color indexedKarl Schultz2004-09-281-2/+2
| | | | | devices. In draw_index_pixels(), use the correct variables for the span Y and span end values.
* patches for clearing hw depth buffers from software fallback (Nicolai Haehnle)Brian Paul2004-09-242-1/+28
|
* Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*().Brian Paul2004-09-131-3/+1
| | | | Define 2.0 point-sprite related tokens in glheader.h (temporary).
* tweak texcoord for sampling texture rectangles (Dave Reveman)Brian Paul2004-09-131-22/+13
|
* changes towards GL_ARB_point_sprite (two-zero)Daniel Borca2004-09-131-1/+7
|
* More updates for Doxygen.Brian Paul2004-09-101-0/+11
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-257-2/+41
| | | | 1015696)
* work around a param bug (Adam Jackson)Brian Paul2004-08-251-1/+1
|
* Update Visual Studio Project file for src tree updates.Karl Schultz2004-08-141-2/+6
|
* added a few more debug printfs (disabled)Brian Paul2004-08-101-0/+14
|
* consistantly use unpack parameter, instead of ctx->Unpack (Daniel Borca)Brian Paul2004-07-261-26/+32
|
* added cast to fix AIX color interpolation problem (bug 983144)Brian Paul2004-07-051-14/+14
|
* fix HP occlusion testing when using generic span pathBrian Paul2004-06-243-8/+12
|
* fix capitalization, new comments, etcBrian Paul2004-06-241-26/+56
|
* Fixed occlusion_zless_triangle() to work with 16 or 32-bit Z buffers.Brian Paul2004-06-231-20/+32
| | | | Removed some unneeded lines, other minor clean-ups.
* store's to RC/HC didn't work (bug 976287)Brian Paul2004-06-201-0/+4
|
* just a commentBrian Paul2004-06-111-0/+5
|
* fix minor typo in commentBrian Paul2004-06-111-1/+1
|
* fix stencil index bug (#964704)Brian Paul2004-06-021-4/+3
|
* Check for NULL texture object when choosing texture sampler. Fixes segfault ↵Brian Paul2004-06-022-93/+107
| | | | when fragment program references an incomplete texture
* only use simple_z_textured_triangle if depthBits <= 16Brian Paul2004-05-251-1/+3
|
* Minor fixes/optimizations to type conversions in draw_depth_pixels().Brian Paul2004-05-141-27/+41
| | | | Fix off by one errors in a few assertions.
* Added big-endian texture formats.Brian Paul2004-05-121-105/+0
| | | | Moved CI->RGBA palette lookup into texel fetch function.
* fix rectangle texture clamping and border-related codeBrian Paul2004-05-061-23/+72
|
* Fix minor warnings found with g++.Brian Paul2004-05-043-8/+6
|
* Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul2004-04-233-19/+19
| | | | | | | program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
* remove some errant code from previous check-inBrian Paul2004-04-231-4/+0
|
* New glTexImage code.Brian Paul2004-04-222-2/+8
| | | | | | | | 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.
* only init temp regs to zero if executing NV fragment programBrian Paul2004-04-211-6/+10
|
* do texcoord projective division in _swrast_span_default_texcoords()Brian Paul2004-04-191-1/+11
|
* Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.Brian Paul2004-04-182-42/+154
| | | | | | Some texture instructions were using wrong LOD. Fixed interpolate_texcoords() so it doesn't do texcoord projective division when using a fragment program. The TXP instruction does that.
* Make _SAT instructions compile correctly.Keith Whitwell2004-04-151-3/+4
|
* wrap file in #ifdef USE_TCC, otherwise compilation failesBrian Paul2004-04-141-0/+3
|
* Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compileKeith Whitwell2004-04-144-15/+257
| | | | | | | | | and execute fragment programs. Very limited and experimental, but works well enough to run arbfplight.c. http://fabrice.bellard.free.fr/tcc/ Compile with 'make linux-tcc', being sure to make clean first.
* Build a single string containing the generated 'C' code.Keith Whitwell2004-04-131-84/+142
|
* added SPECULAR flag for sprite point functionsBrian Paul2004-04-092-5/+4
|