summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_pointtemp.h
AgeCommit message (Collapse)Author
2007-02-22Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c
2007-02-05Merge SWvertex texcoord and varying fields into attrib[] array field.Brian
Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
2007-02-02Replace color, z, w, texture interpolants with new generic attrib interpolants.Brian
2007-02-02New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵Brian
fields. More to come.
2007-02-01New SWspanarrays attribs[] array.Brian
Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups.
2007-01-06Use GLuint instead of GLint to store intermediate Z values. Fixes problems ↵Brian
when using 32-bit Z buffer.
2006-12-13Checkpoint for GLSL compiler changes.Brian
In brief: Check for enabled fragment program by looking at ctx->FragmentProgram._Current. New code for varying variables.
2006-10-01New SWspan and SWspanarrays typedefs.Brian Paul
2006-09-18set lambda to zero for textured points (bug 8320)Brian Paul
2005-10-07Fix a number of point size attenuation problems.Brian Paul
Move size clamping into the rasterization function.
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.
2004-12-18Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian Paul
2004-12-16don't divide texcoords by q if using a fragment programBrian Paul
2004-12-15fixes for fragment programsBrian Paul
2004-10-06*** empty log message ***Karl Schultz
2004-09-13Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*().Brian Paul
Define 2.0 point-sprite related tokens in glheader.h (temporary).
2004-09-13changes towards GL_ARB_point_sprite (two-zero)Daniel Borca
2004-04-09added SPECULAR flag for sprite point functionsBrian Paul
2004-03-09Fix color index mode rendering.Brian Paul
Changed SWvertex's index field to GLfloat and fix a few other bits.
2004-01-14added blurb about NVIDIA extensionsBrian Paul
2003-12-04Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.Brian Paul
2003-08-23Trivial changes to add support for GL_ARB_point_sprite, which is aIan Romanick
subset of GL_NV_point_sprite (which was already supported).
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-03-25replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]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-09fix one-bit error in float->int Z calculationBrian Paul
2002-10-18Add casts to quiet compiler warnings.Karl Schultz
2002-10-04multiple GL_POINTS can now be rendered together into one fragment spanBrian 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-05-27replaced experimental MESA_sprite_point with NV_point_spriteBrian Paul
2002-04-19Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul
on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
2002-04-12Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul
type, width, interp mask and array mask.
2002-03-16New mipmap lambda calculation. Previously, trilinear filtering couldBrian Paul
result in _very_ blurry textures. Still need to do some optimization of the new code in s_span.c
2002-02-02sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul
ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
2001-12-05add inf and nan tests to swrast functionsKeith Whitwell
2001-09-19silence compiler warnings (last batch for src)Karl Schultz
2001-07-19GLchan changesBrian Paul
2001-05-17Fix order of decomposition of quad.Keith Whitwell
Remove 'swrast->_MultiTexEnabled' derived value.
2001-05-15Apply antialiasing coverage factor to alpha after texture application,Brian Paul
not before.
2001-05-09missed a GLfixed->GLfloat fog changeBrian Paul
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-01-30fixed half pixel offset bug in aa point codeBrian Paul
2001-01-04minor bug fixesBrian Paul
2001-01-03New point rasterization functions based on template code thatBrian Paul
handles CI/RGB, texture, antialiasing, attenuation, etc.