Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | For deferredTexture, need to check if the fragment program/shader writes | Brian Paul | 2006-10-21 | 1 | -6/+31 | |
| | | | | the fragment Z. | |||||
* | move interpolate_varying() call | Brian Paul | 2006-10-21 | 1 | -4/+2 | |
| | ||||||
* | Move interpolate_texcoords() and interpolate_varying() calls into ↵ | Brian Paul | 2006-10-21 | 1 | -21/+18 | |
| | | | | | | shade_texture_span(). Added some INLINE hints. | |||||
* | Consolidate some code into shade_texture_span(). | Brian Paul | 2006-10-19 | 1 | -84/+81 | |
| | | | | Clean up logic for deferred texturing/shading. | |||||
* | fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertion | Brian Paul | 2006-10-19 | 1 | -1/+4 | |
| | ||||||
* | added clamp_colors(), updated assertions | Brian Paul | 2006-10-18 | 1 | -21/+33 | |
| | ||||||
* | Always convert colors to float before running a fragment shader/program. | Brian Paul | 2006-10-17 | 1 | -13/+24 | |
| | ||||||
* | Seperate interpolate_colors() and interpolate_specular(). | Brian Paul | 2006-10-17 | 1 | -174/+192 | |
| | | | | Fix bugs in apply_aa_coverage(). | |||||
* | apply_aa_coverage() for ubyte/ushort/float | Brian Paul | 2006-10-17 | 1 | -6/+32 | |
| | ||||||
* | Fix CHAN_BITS=32 issues. | Brian Paul | 2006-10-17 | 1 | -0/+7 | |
| | | | | Save/restore array->ChanType in case colors are converted. | |||||
* | Lots of changes to support runtime renderbuffer depths. | Brian Paul | 2006-10-12 | 1 | -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 assertions | Brian Paul | 2006-10-11 | 1 | -102/+26 | |
| | ||||||
* | deal with union/aliasing in convert_color_type() | Brian Paul | 2006-10-06 | 1 | -24/+40 | |
| | ||||||
* | New SWspan and SWspanarrays typedefs. | Brian Paul | 2006-10-01 | 1 | -17/+17 | |
| | ||||||
* | more changes for runtime renderbuffer depths | Brian Paul | 2006-09-29 | 1 | -107/+359 | |
| | ||||||
* | Initial work for supporting different renderbuffer color depths at runtime. | Brian Paul | 2006-09-25 | 1 | -2/+51 | |
| | ||||||
* | Change logicop, blend, masking functions to use the colors/indexes in the | Brian Paul | 2006-09-24 | 1 | -5/+5 | |
| | | | | sw_span object, rather than an explicit parameter. | |||||
* | Roll the multi_write_rgba_span() code into _swrast_write_rgba_span(). | Brian Paul | 2006-09-24 | 1 | -159/+131 | |
| | ||||||
* | Use _Enabled rather than _Active when checking for fragment shaders | Keith Whitwell | 2006-09-22 | 1 | -10/+10 | |
| | ||||||
* | Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492. | Michal Krol | 2006-08-01 | 1 | -2/+8 | |
| | ||||||
* | fix an assertion | Brian Paul | 2006-04-26 | 1 | -1/+1 | |
| | ||||||
* | Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units | Brian Paul | 2006-04-14 | 1 | -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 Krol | 2006-04-11 | 1 | -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 Krol | 2006-03-21 | 1 | -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 Scheidegger | 2006-03-03 | 1 | -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/shading | Brian Paul | 2006-02-28 | 1 | -1/+2 | |
| | ||||||
* | Add arbshader stage. | Michal Krol | 2006-02-15 | 1 | -5/+16 | |
| | ||||||
* | get depthBits from the current drawbuffer | Brian Paul | 2005-12-01 | 1 | -3/+3 | |
| | ||||||
* | Added OSMesaColorClamp(), bug 4917 | Brian Paul | 2005-11-12 | 1 | -0/+14 | |
| | ||||||
* | check swrast->_FogEnabled instead of ctx->Fog.Enabled | Brian Paul | 2005-10-31 | 1 | -2/+2 | |
| | ||||||
* | fragment program writing to result.depth.z was broken | Brian Paul | 2005-10-24 | 1 | -13/+18 | |
| | ||||||
* | added _swrast_get_row() | Brian Paul | 2005-09-30 | 1 | -0/+33 | |
| | ||||||
* | added _swrast_put_row() | Brian Paul | 2005-09-29 | 1 | -0/+34 | |
| | ||||||
* | replace GLdepth with GLuint and remove GLdepth | Brian Paul | 2005-09-21 | 1 | -2/+2 | |
| | ||||||
* | Change zLeft and zval to GLuint. Seems to fix 32-bit Z computation | Brian Paul | 2005-09-20 | 1 | -1/+1 | |
| | ||||||
* | Fix potential segfault when trying to read pixels outside renderbuffer bounds. | Brian Paul | 2005-09-16 | 1 | -0/+38 | |
| | | | | Use _swrast_get_values() which does clipping. | |||||
* | Replace GLuint with GLbitfield where appropriate. Also replace GLuint | Brian Paul | 2005-09-15 | 1 | -4/+4 | |
| | | | | with GLboolean in a few places. | |||||
* | Update includes post-splitting of s_texture.c | Brian Paul | 2005-09-15 | 1 | -1/+1 | |
| | ||||||
* | Remove last remnants of pre-renderbuffer code. | Brian Paul | 2005-09-03 | 1 | -22/+0 | |
| | ||||||
* | ATI_fragment_shader fixes: fix bug in passTexCoord (caused by recent ↵ | Roland Scheidegger | 2005-09-02 | 1 | -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 query | Brian Paul | 2005-08-27 | 1 | -4/+6 | |
| | | | | objects for future types of queries. | |||||
* | removed GL_HP_occlusion_test extension | Brian Paul | 2005-08-25 | 1 | -11/+1 | |
| | ||||||
* | s/clippping/clipping/ | Brian Paul | 2005-07-18 | 1 | -2/+2 | |
| | ||||||
* | Remove NEW_RENDERBUFFER stuff. | Brian Paul | 2005-07-01 | 1 | -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 it | Brian Paul | 2005-06-21 | 1 | -1/+2 | |
| | ||||||
* | be sure we have span texcoords before calling _swrast_texture_span() | Brian Paul | 2005-06-10 | 1 | -2/+2 | |
| | ||||||
* | set OLD_RENDERBUFFER=0, need to clean up a few more things before totally ↵ | Brian Paul | 2005-06-04 | 1 | -1/+1 | |
| | | | | removing that | |||||
* | remove old span code | Brian Paul | 2005-06-04 | 1 | -70/+26 | |
| | ||||||
* | Don't let FragmentProgram._Active influence choice of vertex vs pixel | Keith Whitwell | 2005-05-11 | 1 | -1/+1 | |
| | | | | fog. | |||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -199/+260 | |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. |