aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_points.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: adjust texcoords for swrast sprite points.Brian Paul2008-10-061-2/+2
| | | | Fixes glean pointSprite test w/ software rendering
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-5/+5
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* mesa: fix issues around multisample enableRoland Scheidegger2008-07-021-1/+1
| | | | | multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
* check if span length > 0 before calling _swrast_write_rgba_span()Brian2008-01-051-5/+7
|
* fix broken two-sided stencilBrian2007-11-301-1/+9
|
* Consolidate point size computation, clamping in get_size().Brian2007-11-221-36/+35
| | | | | Also, apply user-defined clamp limits to point size even when not using attentuation or program-computed size.
* Implement gl_PointCoord attribute for GLSL fragment shaders.Brian2007-10-241-50/+67
| | | | Contains the normalized fragment position within a point sprite.
* tweak point rast to fix conform failureBrian2007-09-271-4/+6
|
* fix even-sized point positioning (bug 11874)Brian2007-08-071-4/+4
|
* Remove ctx->Point._Size and ctx->Line._Width.Brian2007-07-211-4/+4
| | | | | | The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
* simplify INIT_SPAN codeBrian2007-06-291-3/+3
|
* overhaul point rasterization, no longer use s_pointtemp.hBrian2007-06-291-192/+465
|
* fix bug rendering points with fragment program (see #11330)Brian2007-06-221-7/+13
|
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-12/+27
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* s/TEXTURE/ATTRIBS/Brian2007-04-241-5/+5
|
* Use Point._Size in calculationKeith Whitwell2004-12-291-1/+1
|
* added SPECULAR flag for sprite point functionsBrian Paul2004-04-091-4/+4
|
* Trivial changes to add support for GL_ARB_point_sprite, which is aIan Romanick2003-08-231-1/+1
| | | | subset of GL_NV_point_sprite (which was already supported).
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-081-7/+5
| | | | | | 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-3/+3
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-2/+1
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-4/+4
| | | | | | | | | 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.
* replaced experimental MESA_sprite_point with NV_point_spriteBrian Paul2002-05-271-4/+5
|
* sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul2002-02-021-11/+10
| | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
* implemented vertex program point size controlBrian Paul2002-01-061-3/+3
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-8/+7
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-3/+3
|
* Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell2001-02-161-1/+15
| | | | | | | | | | | | | texturing is not enabled, and without requiring the two colors be added externally. As a part of this, collapsed the decomposition of quads into triangles inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch]. Removed checks on texture state from t_vb_light.c, which was previously required by swrast. Moved the t_dd_ templates to a new directory.
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-3/+3
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* changed some point functions, new picking codeBrian Paul2001-01-041-57/+81
|
* New point rasterization functions based on template code thatBrian Paul2001-01-031-894/+81
| | | | handles CI/RGB, texture, antialiasing, attenuation, etc.
* Initial work on GL_MESA_sprite_point extension.Brian Paul2000-12-081-2/+111
| | | | Still need to resolve clipping issues, finalize the spec.
* Compute attenuated point size in a new pipeline stage.Brian Paul2000-12-081-43/+29
| | | | Store computed point size in the SWvertex struct.
* Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul2000-11-191-13/+13
| | | | | | | Completely removed the dirty texture object list. Set texObj->Complete to GL_FALSE to indicate dirty. Made point/line/triangle/quad SWvertex parameters const. Minor code clean-ups.
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-161-2/+1
| | | | | | | | | | | | | | | math: Provides basic matrix and vector functionality that might be useful to multiple software t&l implementations, and is used by core mesa to manage the Model, Project, etc matrices. tnl: The real transform & lighting code from core mesa, including everything from glVertex3f through vertex buffer handling, transformation, clipping, lighting and handoff to a driver for rasterization. The interfaces of these can be further tightened up, but the basic splitting up of state and code move is done.
* Replaced ctx->Point.Size with ctx->Point._SizeBrian Paul2000-11-151-11/+11
| | | | Replaced ctx->Point.UserSize with ctx->Point.Size
* Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell2000-11-131-8/+11
| | | | | | | | | | | | into a new directory. Specifically the handling of changes to lighting lighting space (light in model vs. light in eye) have been revamped. Moved several derived values used only by swrast into that directory. Removed direct calls to swrast_flush() from vbrender.c -- pushed into ctx->Driver.RenderFinish. Optimized flat-shading case in swrast_setup.
* minor changes to silence compiler warningsBrian Paul2000-11-101-1/+3
|
* Reorganized software rasterizer as a module which manages its own state,Keith Whitwell2000-11-051-892/+654
| | | | | | with tighter interfaces with the rest of the world. Proper documentation to come.
* Moved software rasterizer functionality to new directory.Keith Whitwell2000-10-311-0/+1193