aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_context.h
Commit message (Collapse)AuthorAgeFilesLines
* swrast: Include missing header in s_context.h.Vinson Lee2010-08-071-0/+1
| | | | Include compiler.h for _ASMAPIP symbol.
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-101-1/+1
|
* swrast: fix secondary color add for glBitmapBrian Paul2009-04-061-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 codeBrian Paul2009-04-011-1/+1
|
* swrast: do texture sampling/combining in floating pointBrian Paul2009-04-011-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 moduleBrian Paul2009-02-281-0/+28
| | | | Fixed point is only used in swrast and sw-based drivers.
* swrast: replace RENDER_START/FINISH macros with inline functionsBrian Paul2009-01-301-13/+22
|
* swrast: replace macro with inline functionBrian Paul2009-01-301-1/+14
|
* mesa: allocate pixel zoom arrays on heap, not stackBrian Paul2008-06-161-0/+1
| | | | Fixes stack overflow on Windows.
* Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian2008-01-061-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 stencilBrian2007-11-301-1/+3
|
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-041-2/+2
| | | | of -I flags.
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-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 ↵Brian2007-04-231-6/+19
| | | | come...
* Put gl_program_machine into swrast structure rather than using a local variable.Brian2007-04-191-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.Brian2007-04-171-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.Brian2007-03-111-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.Brian2007-02-051-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.hBrian2007-02-011-200/+3
|
* new comments, ideasBrian2007-01-251-21/+22
|
* varying var changesBrian2006-12-151-4/+4
|
* Lots of changes to support runtime renderbuffer depths.Brian Paul2006-10-121-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 Paul2006-10-011-11/+12
|
* more changes for runtime renderbuffer depthsBrian Paul2006-09-291-1/+1
|
* Initial work for supporting different renderbuffer color depths at runtime.Brian Paul2006-09-251-4/+37
|
* remove rgb[] array from span_arrays_struct - was only used in a few placesBrian Paul2006-09-211-4/+2
|
* More GLSL code:Michal Krol2006-04-111-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_20060325Brian Paul2006-03-261-0/+7
|
* New comments, clean-up of fields related to point/line/triangle validation.Brian Paul2006-01-261-9/+18
|
* Added OSMesaColorClamp(), bug 4917Brian Paul2005-11-121-0/+1
|
* At keithw's request, remove all traces of the "fragment program to C" andIan Romanick2005-11-081-14/+0
| | | | TCC experiment.
* replace GLdepth with GLuint and remove GLdepthBrian Paul2005-09-211-2/+2
|
* change some commentsBrian Paul2005-09-161-5/+4
|
* Rework the texture filtering functions a bit.Brian Paul2005-09-161-2/+1
| | | | No need to pass the texture unit number as an argument.
* more GLuint->GLbitfield changesBrian Paul2005-09-161-4/+4
|
* Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul2005-09-151-5/+5
| | | | with GLboolean in a few places.
* remove obsolete CurrentBufferBitBrian Paul2005-09-051-1/+0
|
* Remove last remnants of pre-renderbuffer code.Brian Paul2005-09-031-2/+2
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-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_shaderDave Airlie2004-12-191-0/+1
| | | | no error detection, slow, may not be 100% correct but a good start
* Fix minor fog / fragment program state bug.Brian Paul2004-10-131-0/+1
| | | | Don't add diffuse and specular colors when using fragment program.
* More updates for Doxygen.Brian Paul2004-09-101-0/+11
|
* Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compileKeith Whitwell2004-04-141-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 Paul2004-03-211-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 Paul2004-02-171-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_WBrian Paul2004-02-171-8/+9
|
* More SciTech SNAP updates. Some of these files didn't really change, butKendall Bennett2003-10-221-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 Paul2003-09-181-1/+1
|
* move a commentBrian Paul2003-09-171-24/+22
|
* Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places.Brian Paul2003-05-011-2/+2
| | | | Misc vertex array / vertex program changes.