Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | swrast: Include missing header in s_context.h. | Vinson Lee | 2010-08-07 | 1 | -0/+1 |
| | | | | Include compiler.h for _ASMAPIP symbol. | ||||
* | mesa: rename src/mesa/shader/ to src/mesa/program/ | Brian Paul | 2010-06-10 | 1 | -1/+1 |
| | |||||
* | swrast: fix secondary color add for glBitmap | Brian Paul | 2009-04-06 | 1 | -0/+1 |
| | | | | | Also, clean up the logic involved in choosing per-vertex vs. per-fragment primary+secondary color addition. | ||||
* | swrast: remove old texture_apply() code; always use texture combine code | Brian Paul | 2009-04-01 | 1 | -1/+1 |
| | |||||
* | swrast: do texture sampling/combining in floating point | Brian Paul | 2009-04-01 | 1 | -2/+2 |
| | | | | | The code's cleaner and a step toward supporting float-valued texture sampling. Some optimizations for common cases can be added and re-enabled... | ||||
* | mesa: move GLfixed type and related macros to swrast module | Brian Paul | 2009-02-28 | 1 | -0/+28 |
| | | | | Fixed point is only used in swrast and sw-based drivers. | ||||
* | swrast: replace RENDER_START/FINISH macros with inline functions | Brian Paul | 2009-01-30 | 1 | -13/+22 |
| | |||||
* | swrast: replace macro with inline function | Brian Paul | 2009-01-30 | 1 | -1/+14 |
| | |||||
* | mesa: allocate pixel zoom arrays on heap, not stack | Brian Paul | 2008-06-16 | 1 | -0/+1 |
| | | | | Fixes stack overflow on Windows. | ||||
* | Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835. | Brian | 2008-01-06 | 1 | -4/+0 |
| | | | | | | | | | | | These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this... | ||||
* | fix broken two-sided stencil | Brian | 2007-11-30 | 1 | -1/+3 |
| | |||||
* | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | 2007-07-04 | 1 | -2/+2 |
| | | | | of -I flags. | ||||
* | Overhaul/simplify SWvertex and SWspan attribute handling. | Brian | 2007-05-20 | 1 | -0/+5 |
| | | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions. | ||||
* | Improve the code for interpolating fragment attributes a little. More to ↵ | Brian | 2007-04-23 | 1 | -6/+19 |
| | | | | come... | ||||
* | Put gl_program_machine into swrast structure rather than using a local variable. | Brian | 2007-04-19 | 1 | -2/+6 |
| | | | | | Basically an easy way to make sure the memory gets initialized once (to zero) to avoid lots of valgrind warnings. | ||||
* | Enable texture sampling for vertex programs/shaders. | Brian | 2007-04-17 | 1 | -0/+3 |
| | | | | | | | This is a bit of a hack for now because the tnl module is using the swrast module to fetch texels. The texture fetch/filter code should probably be moved into the main/ module since it doesn't really depend upon other swrast code. | ||||
* | Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1. | Brian | 2007-03-11 | 1 | -0/+4 |
| | | | | | | 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. | ||||
* | Merge SWvertex texcoord and varying fields into attrib[] array field. | Brian | 2007-02-05 | 1 | -0/+7 |
| | | | | | Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs. | ||||
* | move span-related types/tokens into s_span.h | Brian | 2007-02-01 | 1 | -200/+3 |
| | |||||
* | new comments, ideas | Brian | 2007-01-25 | 1 | -21/+22 |
| | |||||
* | varying var changes | Brian | 2006-12-15 | 1 | -4/+4 |
| | |||||
* | Lots of changes to support runtime renderbuffer depths. | Brian Paul | 2006-10-12 | 1 | -0/+10 |
| | | | | | | _swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases. | ||||
* | New SWspan and SWspanarrays typedefs. | Brian Paul | 2006-10-01 | 1 | -11/+12 |
| | |||||
* | more changes for runtime renderbuffer depths | Brian Paul | 2006-09-29 | 1 | -1/+1 |
| | |||||
* | Initial work for supporting different renderbuffer color depths at runtime. | Brian Paul | 2006-09-25 | 1 | -4/+37 |
| | |||||
* | remove rgb[] array from span_arrays_struct - was only used in a few places | Brian Paul | 2006-09-21 | 1 | -4/+2 |
| | |||||
* | More GLSL code: | Michal Krol | 2006-04-11 | 1 | -1/+6 |
| | | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs; | ||||
* | merge from texman branchmesa_20060325 | Brian Paul | 2006-03-26 | 1 | -0/+7 |
| | |||||
* | New comments, clean-up of fields related to point/line/triangle validation. | Brian Paul | 2006-01-26 | 1 | -9/+18 |
| | |||||
* | Added OSMesaColorClamp(), bug 4917 | Brian Paul | 2005-11-12 | 1 | -0/+1 |
| | |||||
* | At keithw's request, remove all traces of the "fragment program to C" and | Ian Romanick | 2005-11-08 | 1 | -14/+0 |
| | | | | TCC experiment. | ||||
* | replace GLdepth with GLuint and remove GLdepth | Brian Paul | 2005-09-21 | 1 | -2/+2 |
| | |||||
* | change some comments | Brian Paul | 2005-09-16 | 1 | -5/+4 |
| | |||||
* | Rework the texture filtering functions a bit. | Brian Paul | 2005-09-16 | 1 | -2/+1 |
| | | | | No need to pass the texture unit number as an argument. | ||||
* | more GLuint->GLbitfield changes | Brian Paul | 2005-09-16 | 1 | -4/+4 |
| | |||||
* | Replace GLuint with GLbitfield where appropriate. Also replace GLuint | Brian Paul | 2005-09-15 | 1 | -5/+5 |
| | | | | with GLboolean in a few places. | ||||
* | remove obsolete CurrentBufferBit | Brian Paul | 2005-09-05 | 1 | -1/+0 |
| | |||||
* | Remove last remnants of pre-renderbuffer code. | Brian Paul | 2005-09-03 | 1 | -2/+2 |
| | |||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -3/+0 |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | ||||
* | Implement software ATI_fragment_shader | Dave Airlie | 2004-12-19 | 1 | -0/+1 |
| | | | | no error detection, slow, may not be 100% correct but a good start | ||||
* | Fix minor fog / fragment program state bug. | Brian Paul | 2004-10-13 | 1 | -0/+1 |
| | | | | Don't add diffuse and specular colors when using fragment program. | ||||
* | More updates for Doxygen. | Brian Paul | 2004-09-10 | 1 | -0/+11 |
| | |||||
* | Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile | Keith Whitwell | 2004-04-14 | 1 | -0/+14 |
| | | | | | | | | | and execute fragment programs. Very limited and experimental, but works well enough to run arbfplight.c. http://fabrice.bellard.free.fr/tcc/ Compile with 'make linux-tcc', being sure to make clean first. | ||||
* | Implemented support for software-based AUX color buffers. | Brian Paul | 2004-03-21 | 1 | -1/+2 |
| | | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc. | ||||
* | A bit of an overhaul of the fog code. | Brian Paul | 2004-02-17 | 1 | -3/+5 |
| | | | | | | glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected. | ||||
* | added SPAN_W | Brian Paul | 2004-02-17 | 1 | -8/+9 |
| | |||||
* | More SciTech SNAP updates. Some of these files didn't really change, but | Kendall Bennett | 2003-10-22 | 1 | -5/+0 |
| | | | | | | | they show up in the list (GLU stuff) for some reason. The major change here is the addition of code in the glx86asm.py file to generate assembler stub entry points with the correct name decorations for _stdcall calling conventions so this can be used on Windows boxes. | ||||
* | s/_backface_sign/_BackfaceSign/ | Brian Paul | 2003-09-18 | 1 | -1/+1 |
| | |||||
* | move a comment | Brian Paul | 2003-09-17 | 1 | -24/+22 |
| | |||||
* | Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places. | Brian Paul | 2003-05-01 | 1 | -2/+2 |
| | | | | Misc vertex array / vertex program changes. |