summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_context.h
AgeCommit message (Collapse)Author
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-08-07swrast: Include missing header in s_context.h.Vinson Lee
Include compiler.h for _ASMAPIP symbol.
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2009-04-06swrast: fix secondary color add for glBitmapBrian Paul
Also, clean up the logic involved in choosing per-vertex vs. per-fragment primary+secondary color addition.
2009-04-01swrast: remove old texture_apply() code; always use texture combine codeBrian Paul
2009-04-01swrast: do texture sampling/combining in floating pointBrian Paul
The code's cleaner and a step toward supporting float-valued texture sampling. Some optimizations for common cases can be added and re-enabled...
2009-02-28mesa: move GLfixed type and related macros to swrast moduleBrian Paul
Fixed point is only used in swrast and sw-based drivers.
2009-01-30swrast: replace RENDER_START/FINISH macros with inline functionsBrian Paul
2009-01-30swrast: replace macro with inline functionBrian Paul
2008-06-16mesa: allocate pixel zoom arrays on heap, not stackBrian Paul
Fixes stack overflow on Windows.
2008-01-06Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian
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...
2007-11-30fix broken two-sided stencilBrian
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
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-23Improve the code for interpolating fragment attributes a little. More to ↵Brian
come...
2007-04-19Put gl_program_machine into swrast structure rather than using a local variable.Brian
Basically an easy way to make sure the memory gets initialized once (to zero) to avoid lots of valgrind warnings.
2007-04-17Enable texture sampling for vertex programs/shaders.Brian
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.
2007-03-11Implement 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-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-01move span-related types/tokens into s_span.hBrian
2007-01-25new comments, ideasBrian
2006-12-15varying var changesBrian
2006-10-12Lots 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-01New SWspan and SWspanarrays typedefs.Brian Paul
2006-09-29more changes for runtime renderbuffer depthsBrian Paul
2006-09-25Initial work for supporting different renderbuffer color depths at runtime.Brian Paul
2006-09-21remove rgb[] array from span_arrays_struct - was only used in a few placesBrian Paul
2006-04-11More GLSL code:Michal Krol
- 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;
2006-03-26merge from texman branchBrian Paul
2006-01-26New comments, clean-up of fields related to point/line/triangle validation.Brian Paul
2005-11-12Added OSMesaColorClamp(), bug 4917Brian Paul
2005-11-08At keithw's request, remove all traces of the "fragment program to C" andIan Romanick
TCC experiment.
2005-09-21replace GLdepth with GLuint and remove GLdepthBrian Paul
2005-09-16change some commentsBrian Paul
2005-09-16Rework the texture filtering functions a bit.Brian Paul
No need to pass the texture unit number as an argument.
2005-09-16more GLuint->GLbitfield changesBrian Paul
2005-09-15Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul
with GLboolean in a few places.
2005-09-05remove obsolete CurrentBufferBitBrian Paul
2005-09-03Remove last remnants of pre-renderbuffer 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.
2004-12-19Implement software ATI_fragment_shaderDave Airlie
no error detection, slow, may not be 100% correct but a good start
2004-10-13Fix minor fog / fragment program state bug.Brian Paul
Don't add diffuse and specular colors when using fragment program.
2004-09-10More updates for Doxygen.Brian Paul
2004-04-14Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compileKeith Whitwell
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.
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
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-17added SPAN_WBrian Paul
2003-10-22More SciTech SNAP updates. Some of these files didn't really change, butKendall Bennett
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.
2003-09-18s/_backface_sign/_BackfaceSign/Brian Paul
2003-09-17move a commentBrian Paul