summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_span.c
AgeCommit message (Collapse)Author
2005-09-21replace GLdepth with GLuint and remove GLdepthBrian Paul
2005-09-20Change zLeft and zval to GLuint. Seems to fix 32-bit Z computationBrian Paul
2005-09-16Fix potential segfault when trying to read pixels outside renderbuffer bounds.Brian Paul
Use _swrast_get_values() which does clipping.
2005-09-15Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul
with GLboolean in a few places.
2005-09-15Update includes post-splitting of s_texture.cBrian Paul
2005-09-03Remove last remnants of pre-renderbuffer code.Brian Paul
2005-09-02ATI_fragment_shader fixes: fix bug in passTexCoord (caused by recent ↵Roland Scheidegger
changes). Fix sampling from wrong texture unit. Apply swizzling before texture sampling, and hopefully get non-projected coordinates from swrast. (still does not work at all with sw doom3, way too dark just the same as with the doom3 arb2 path)
2005-08-27Rearrange the code related to GL_ARB_occlusion_object to generalize queryBrian Paul
objects for future types of queries.
2005-08-25removed GL_HP_occlusion_test extensionBrian Paul
2005-07-18s/clippping/clipping/Brian Paul
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-06-21check for NULL swrast->Driver.SetBuffer before calling itBrian Paul
2005-06-10be sure we have span texcoords before calling _swrast_texture_span()Brian Paul
2005-06-04set OLD_RENDERBUFFER=0, need to clean up a few more things before totally ↵Brian Paul
removing that
2005-06-04remove old span codeBrian Paul
2005-05-11Don't let FragmentProgram._Active influence choice of vertex vs pixelKeith Whitwell
fog.
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.
2005-05-04Add a facility to route all rasterization through a fragment programKeith Whitwell
which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
2005-04-26added interpolate_fog()Brian Paul
2004-12-19Implement software ATI_fragment_shaderDave Airlie
no error detection, slow, may not be 100% correct but a good start
2004-12-18Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian Paul
2004-10-13Fix minor fog / fragment program state bug.Brian Paul
Don't add diffuse and specular colors when using fragment program.
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-06-24fix HP occlusion testing when using generic span pathBrian Paul
2004-04-23Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul
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.
2004-04-23remove some errant code from previous check-inBrian Paul
2004-04-19do texcoord projective division in _swrast_span_default_texcoords()Brian Paul
2004-04-18Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.Brian Paul
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.
2004-03-24use Driver.WriteMonoRGBAPixels() when possible (Dan Schikore)Brian Paul
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-03s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/Brian Paul
2004-02-17A bit of an overhaul of the fog code.Brian Paul
glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected.
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
2003-12-09Update NEED_SECONDARY_COLOR macro to test if either vertex/fragmentBrian Paul
programs are enabled and if they need secondary color input register. Patch by Karl Rasche, with tweaks by Brian.
2003-11-25current raster color index should be GLfloatBrian Paul
2003-11-12Ville Syrjala's logic op patchBrian Paul
2003-08-31always assign texcoord[i][3] to silence valgrindBrian Paul
2003-06-13Implemented GL_ARB_occlusion_query (not 100% finalized).Brian Paul
2003-04-21Implemented GL_EXT_depth_bounds_test.Brian 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-16Store partial derivative values in sw_span structure.Brian Paul
Implemented DDX and DDY fragment program instructions (whew!) Not fully tested yet.
2003-03-15Fix up some fragment program texture enable issues.Brian Paul
Implemented TXD instruction.
2003-03-04added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof)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-27fix float color interpolation (bug 694461)Brian Paul
2003-01-14First batch of code for GL_NV_fragment_program.Brian Paul
Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
2002-11-26added missing call to _mesa_write_mono_alpha_span()Brian Paul
2002-11-09fix float->int Z calculation in _mesa_span_default_z()Brian Paul