Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-24 | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | |
Contains the normalized fragment position within a point sprite. | |||
2007-07-26 | fix color interpolation for CHAN_BITS==32 | Brian | |
2007-06-29 | Undo some prev glDraw/CopyPixel changes which fixed a bug in which colors ↵ | Brian | |
were overwritten by interpolating attributes. Now just set the span->arrayAttribs mask in glDraw/CopyPixels and be sure we don't overwrite the values in interpolate_active_attribs(). | |||
2007-06-22 | fix bug rendering points with fragment program (see #11330) | Brian | |
2007-06-21 | fix rgba pointer bug hit on zoomed+fogged glDrawPixels | Brian | |
2007-06-21 | Another round of fixing attribute interpolation for glDraw/CopyPixels. | Brian | |
Need to turn off FRAG_BIT_COL0 in swrast->_ActiveAttribMask when doing glRead/CopyPixels to prevent the user's colors from getting overwritten when a fragment program is active. This was happening in the DRI drivers when MaintainTexEnv program was used (the texenv fragment program was enabled when _swrast_DrawPixels was called). This still isn't an ideal solution, but fixes things for now. | |||
2007-06-20 | fix glDrawPixels + fragment program problem | Brian | |
2007-05-20 | Overhaul/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-05-02 | changes to get DDX/DDY working again | Brian | |
2007-04-21 | Fix color sum bug 10688. | Brian | |
2007-04-19 | Don't allow deferredTexture if using occlusion query and a frag shader. | Brian | |
Occlusion query might depend on the shader killing/discarding fragments. Helps fix depth peeling technique. Also, minor tweaks in interpolate_wpos(). | |||
2007-04-18 | check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669 | Brian | |
2007-04-07 | fix comment typo | Brian | |
2007-03-26 | Add _swrast_span_default_secondary_color() for use with glBitmap, ↵ | Brian | |
glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409. | |||
2007-03-13 | be smarter about which fragment attribs are interpolated before running frag ↵ | Brian | |
progs | |||
2007-03-11 | Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1. | Brian | |
GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers. | |||
2007-03-07 | fix deferredTexture bug | Brian | |
2007-02-02 | unroll inner loop of interpolate_varying() | Brian | |
2007-02-02 | simplify interpolate_texcoords() | Brian | |
2007-02-02 | Replace color, z, w, texture interpolants with new generic attrib interpolants. | Brian | |
2007-02-02 | New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵ | Brian | |
fields. More to come. | |||
2007-02-01 | comments | Brian | |
2007-02-01 | New 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-25 | asst fixes, tranpose span->varying array indexes | Brian | |
2006-12-19 | Overhaul of GLSL API functions, dispatching, etc. | Brian | |
2006-12-15 | varying var changes | Brian | |
2006-12-15 | Renamed s_nvfragprog.[ch] to s_fragprog.[ch] | Brian | |
2006-12-14 | Remove include of s_arbshader.h | Brian | |
2006-12-13 | Checkpoint for GLSL compiler changes. | Brian | |
In brief: Check for enabled fragment program by looking at ctx->FragmentProgram._Current. New code for varying variables. | |||
2006-11-01 | fix some bugs in interpolate_specular() | Brian Paul | |
2006-10-22 | Color clamping fixes. | Brian Paul | |
2006-10-21 | fix another logic error in computing deferredTexture | Brian Paul | |
2006-10-21 | For deferredTexture, need to check if the fragment program/shader writes | Brian Paul | |
the fragment Z. | |||
2006-10-21 | move interpolate_varying() call | Brian Paul | |
2006-10-21 | Move interpolate_texcoords() and interpolate_varying() calls into ↵ | Brian Paul | |
shade_texture_span(). Added some INLINE hints. | |||
2006-10-19 | Consolidate some code into shade_texture_span(). | Brian Paul | |
Clean up logic for deferred texturing/shading. | |||
2006-10-19 | fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertion | Brian Paul | |
2006-10-18 | added clamp_colors(), updated assertions | Brian Paul | |
2006-10-17 | Always convert colors to float before running a fragment shader/program. | Brian Paul | |
2006-10-17 | Seperate interpolate_colors() and interpolate_specular(). | Brian Paul | |
Fix bugs in apply_aa_coverage(). | |||
2006-10-17 | apply_aa_coverage() for ubyte/ushort/float | Brian Paul | |
2006-10-17 | Fix CHAN_BITS=32 issues. | Brian Paul | |
Save/restore array->ChanType in case colors are converted. | |||
2006-10-12 | Lots of changes to support runtime renderbuffer depths. | Brian Paul | |
_swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases. | |||
2006-10-11 | use _mesa_convert_colors(), update some assertions | Brian Paul | |
2006-10-06 | deal with union/aliasing in convert_color_type() | Brian Paul | |
2006-10-01 | New SWspan and SWspanarrays typedefs. | Brian Paul | |
2006-09-29 | more changes for runtime renderbuffer depths | Brian Paul | |
2006-09-25 | Initial work for supporting different renderbuffer color depths at runtime. | Brian Paul | |
2006-09-24 | Change logicop, blend, masking functions to use the colors/indexes in the | Brian Paul | |
sw_span object, rather than an explicit parameter. | |||
2006-09-24 | Roll the multi_write_rgba_span() code into _swrast_write_rgba_span(). | Brian Paul | |