aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_span.c
Commit message (Collapse)AuthorAgeFilesLines
...
* For deferredTexture, need to check if the fragment program/shader writesBrian Paul2006-10-211-6/+31
| | | | the fragment Z.
* move interpolate_varying() callBrian Paul2006-10-211-4/+2
|
* Move interpolate_texcoords() and interpolate_varying() calls into ↵Brian Paul2006-10-211-21/+18
| | | | | | shade_texture_span(). Added some INLINE hints.
* Consolidate some code into shade_texture_span().Brian Paul2006-10-191-84/+81
| | | | Clean up logic for deferred texturing/shading.
* fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertionBrian Paul2006-10-191-1/+4
|
* added clamp_colors(), updated assertionsBrian Paul2006-10-181-21/+33
|
* Always convert colors to float before running a fragment shader/program.Brian Paul2006-10-171-13/+24
|
* Seperate interpolate_colors() and interpolate_specular().Brian Paul2006-10-171-174/+192
| | | | Fix bugs in apply_aa_coverage().
* apply_aa_coverage() for ubyte/ushort/floatBrian Paul2006-10-171-6/+32
|
* Fix CHAN_BITS=32 issues.Brian Paul2006-10-171-0/+7
| | | | Save/restore array->ChanType in case colors are converted.
* Lots of changes to support runtime renderbuffer depths.Brian Paul2006-10-121-8/+17
| | | | | | _swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases.
* use _mesa_convert_colors(), update some assertionsBrian Paul2006-10-111-102/+26
|
* deal with union/aliasing in convert_color_type()Brian Paul2006-10-061-24/+40
|
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-17/+17
|
* more changes for runtime renderbuffer depthsBrian Paul2006-09-291-107/+359
|
* Initial work for supporting different renderbuffer color depths at runtime.Brian Paul2006-09-251-2/+51
|
* Change logicop, blend, masking functions to use the colors/indexes in theBrian Paul2006-09-241-5/+5
| | | | sw_span object, rather than an explicit parameter.
* Roll the multi_write_rgba_span() code into _swrast_write_rgba_span().Brian Paul2006-09-241-159/+131
|
* Use _Enabled rather than _Active when checking for fragment shadersKeith Whitwell2006-09-221-10/+10
|
* Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol2006-08-011-2/+8
|
* fix an assertionBrian Paul2006-04-261-1/+1
|
* Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]UnitsBrian Paul2006-04-141-1/+2
| | | | | | in various places. Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image limits when referenced, not just in glActiveTexture().
* More GLSL code:Michal Krol2006-04-111-15/+55
| | | | | | | | | | | | - 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;
* GLSL fixes:Michal Krol2006-03-211-3/+3
| | | | | | | | | | | | | | | | | | - generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg;
* Fix bogus span mask in s_atifragshader.c leading to trouble when the pixel ↵Roland Scheidegger2006-03-031-4/+5
| | | | was later discarded by z test (this fixes doom3 r200 renderpath with swrast). Fix calling _swrast_alpha_test potentially leading to bogus results when Alpha Test might not be enabled. While here, don't disable deferred_texture (early z) when ATI_fragment_shader is active, as it is not necessary (for the record, this boosts doom3 swrast performance by roughly a factor of 2 (4 seconds per frame now...) with the r200 render path, might be a worthwile optimization for fragment programs which don't write z).
* check if active fragment shader for deferred texturing/shadingBrian Paul2006-02-281-1/+2
|
* Add arbshader stage.Michal Krol2006-02-151-5/+16
|
* get depthBits from the current drawbufferBrian Paul2005-12-011-3/+3
|
* Added OSMesaColorClamp(), bug 4917Brian Paul2005-11-121-0/+14
|
* check swrast->_FogEnabled instead of ctx->Fog.EnabledBrian Paul2005-10-311-2/+2
|
* fragment program writing to result.depth.z was brokenBrian Paul2005-10-241-13/+18
|
* added _swrast_get_row()Brian Paul2005-09-301-0/+33
|
* added _swrast_put_row()Brian Paul2005-09-291-0/+34
|
* replace GLdepth with GLuint and remove GLdepthBrian Paul2005-09-211-2/+2
|
* Change zLeft and zval to GLuint. Seems to fix 32-bit Z computationBrian Paul2005-09-201-1/+1
|
* Fix potential segfault when trying to read pixels outside renderbuffer bounds.Brian Paul2005-09-161-0/+38
| | | | Use _swrast_get_values() which does clipping.
* Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul2005-09-151-4/+4
| | | | with GLboolean in a few places.
* Update includes post-splitting of s_texture.cBrian Paul2005-09-151-1/+1
|
* Remove last remnants of pre-renderbuffer code.Brian Paul2005-09-031-22/+0
|
* ATI_fragment_shader fixes: fix bug in passTexCoord (caused by recent ↵Roland Scheidegger2005-09-021-4/+4
| | | | changes). Fix sampling from wrong texture unit. Apply swizzling before texture sampling, and hopefully get non-projected coordinates from swrast. (still does not work at all with sw doom3, way too dark just the same as with the doom3 arb2 path)
* Rearrange the code related to GL_ARB_occlusion_object to generalize queryBrian Paul2005-08-271-4/+6
| | | | objects for future types of queries.
* removed GL_HP_occlusion_test extensionBrian Paul2005-08-251-11/+1
|
* s/clippping/clipping/Brian Paul2005-07-181-2/+2
|
* Remove NEW_RENDERBUFFER stuff.Brian Paul2005-07-011-4/+4
| | | | | Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
* check for NULL swrast->Driver.SetBuffer before calling itBrian Paul2005-06-211-1/+2
|
* be sure we have span texcoords before calling _swrast_texture_span()Brian Paul2005-06-101-2/+2
|
* set OLD_RENDERBUFFER=0, need to clean up a few more things before totally ↵Brian Paul2005-06-041-1/+1
| | | | removing that
* remove old span codeBrian Paul2005-06-041-70/+26
|
* Don't let FragmentProgram._Active influence choice of vertex vs pixelKeith Whitwell2005-05-111-1/+1
| | | | fog.
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-199/+260
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.