summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_triangle.c
AgeCommit message (Collapse)Author
2007-05-20Overhaul/simplify SWvertex and SWspan attribute handling.Brian
Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
2007-04-24get rid of an extra textured triangle functionBrian
2007-04-24only need one CI-mode triangle functionBrian
2007-04-24s/INTERP_TEX/INTERP_ATTRIBS/Brian
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
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-22Use _Enabled rather than _Active when checking for fragment shadersKeith Whitwell
2006-09-21remove rgb[] array from span_arrays_struct - was only used in a few placesBrian Paul
2006-04-25update some tests for visual bit depths to use renderbuffersBrian Paul
2006-04-25Remove carriage returns.Michal Krol
2006-04-14don't need s_depth.hBrian Paul
2006-04-04Fix texcoord interpolation for fragment shaders.Michal Krol
2006-03-29put braces around RENDER_SPAN macro when called, not when defined. Fixes ↵Brian Paul
-pedantic warnings in x11 driver
2005-12-07Fix bugzilla 5253. Add {} around code in RENDER_SPAN macros when code ↵Karl Schultz
includes a variable declaration.
2005-11-16Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
2005-10-05Remove _IsPowerOfTwo from gl_texture_object, not really needed.Brian Paul
2005-10-05In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul
_BaseFormat to be consistant with gl_renderbuffer.
2005-09-21replace GLdepth with GLuint and remove GLdepthBrian Paul
2005-09-02Check for ATI_fragment_shader enabledDave Airlie
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-06-30Redo all the GL_LINEAR interpolation code in terms of LERP macros/functions.Brian Paul
This cleans up and simplifies the arithmetic quite a bit.
2005-06-10pass mask array to PutRowRGB() in simple_z_textured_triangle()Brian Paul
2005-06-02Remove last of the old span code.Brian Paul
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.
2004-12-18Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian 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-06-23Fixed occlusion_zless_triangle() to work with 16 or 32-bit Z buffers.Brian Paul
Removed some unneeded lines, other minor clean-ups.
2004-05-25only use simple_z_textured_triangle if depthBits <= 16Brian 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-03-09Fix color index mode rendering.Brian Paul
Changed SWvertex's index field to GLfloat and fix a few other bits.
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-02-17just some reformattingBrian Paul
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-09-18s/_backface_sign/_BackfaceSign/Brian Paul
2003-07-03Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation).Brian Paul
2003-06-13Implemented GL_ARB_occlusion_query (not 100% finalized).Brian Paul
2003-04-21remove unneeded fragment program testBrian 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-14Clean-up of parser error handling/reporting.Brian Paul
Basic fragment program texture instructions are limping along.
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
2002-12-18comment changesBrian Paul
2002-11-13moved function declaration into the template, define the NAME to specify the ↵Brian Paul
function names