Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | OpenGL 2.0's two-sided stencil feature wasn't implemented correctly. | Brian Paul | 2005-09-13 | 1 | -1/+1 |
| | | | | | See comment near top of stencil.c for info about OpenGL 2.0 vs. GL_EXT_stencil_two_side. | ||||
* | Clear either 8 or 16-bit stencil buffers. | Brian Paul | 2005-09-13 | 1 | -27/+66 |
| | |||||
* | fix some bugs with handling of GL_DOT4_ATI, GL_DOT3_ATI and GL_DOT2_ADD_ATI ↵ | Roland Scheidegger | 2005-09-09 | 1 | -5/+9 |
| | | | | ATI_fs instructions. | ||||
* | fix precision problem in depth clearing (bug 4395) | Brian Paul | 2005-09-08 | 1 | -4/+10 |
| | |||||
* | fix bug with ATI_fragment_shader in swrast (need to copy all 4 values due to ↵ | Roland Scheidegger | 2005-09-07 | 1 | -6/+4 |
| | | | | later applied srcRep) | ||||
* | minor clean-up of texture_combine() | Brian Paul | 2005-09-06 | 1 | -12/+9 |
| | |||||
* | don't use DEFARRAY/CHECKARRAY stuff | Brian Paul | 2005-09-06 | 3 | -11/+3 |
| | |||||
* | remove obsolete CurrentBufferBit | Brian Paul | 2005-09-05 | 2 | -6/+0 |
| | |||||
* | remove unused var | Brian Paul | 2005-09-05 | 1 | -1/+0 |
| | |||||
* | Remove last remnants of pre-renderbuffer code. | Brian Paul | 2005-09-03 | 9 | -259/+11 |
| | |||||
* | Check for ATI_fragment_shader enabled | Dave Airlie | 2005-09-02 | 1 | -1/+2 |
| | |||||
* | ATI_fragment_shader fixes: fix bug in passTexCoord (caused by recent ↵ | Roland Scheidegger | 2005-09-02 | 2 | -36/+37 |
| | | | | 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) | ||||
* | add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with ↵ | Roland Scheidegger | 2005-09-02 | 1 | -35/+31 |
| | | | | scope of ati fragment shader constants. Fix issues with specifying color/alpha instructions not pair-wise. Change internal representation of the shader (to better fit how the extension works, should make driver implementations simpler, and saves some memory). (still doesn't work correctly with doom3 and swrast, but not worse than before) | ||||
* | Just additional comments. | Brian Paul | 2005-08-31 | 1 | -1/+7 |
| | |||||
* | Rearrange the code related to GL_ARB_occlusion_object to generalize query | Brian Paul | 2005-08-27 | 3 | -16/+19 |
| | | | | objects for future types of queries. | ||||
* | removed GL_HP_occlusion_test extension | Brian Paul | 2005-08-25 | 4 | -25/+9 |
| | |||||
* | also check for texture border in sample_linear_2d() | Brian Paul | 2005-08-25 | 1 | -2/+3 |
| | |||||
* | improve comments about win[0..3] values (bug 2554) | Brian Paul | 2005-07-26 | 1 | -2/+5 |
| | |||||
* | s/clippping/clipping/ | Brian Paul | 2005-07-18 | 1 | -2/+2 |
| | |||||
* | pass in the renderbuffer | Alan Hourihane | 2005-07-18 | 1 | -1/+1 |
| | |||||
* | Remove NEW_RENDERBUFFER stuff. | Brian Paul | 2005-07-01 | 6 | -11/+7 |
| | | | | | Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function. | ||||
* | remove OLD_RENDERBUFFER code | Brian Paul | 2005-07-01 | 1 | -87/+16 |
| | |||||
* | Redo all the GL_LINEAR interpolation code in terms of LERP macros/functions. | Brian Paul | 2005-06-30 | 2 | -251/+279 |
| | | | | This cleans up and simplifies the arithmetic quite a bit. | ||||
* | check for NULL swrast->Driver.SetBuffer before calling it | Brian Paul | 2005-06-21 | 2 | -4/+7 |
| | |||||
* | be sure we have span texcoords before calling _swrast_texture_span() | Brian Paul | 2005-06-10 | 1 | -2/+2 |
| | |||||
* | pass mask array to PutRowRGB() in simple_z_textured_triangle() | Brian Paul | 2005-06-10 | 1 | -1/+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 functions from swrast_device_driver struct | Brian Paul | 2005-06-04 | 1 | -176/+1 |
| | |||||
* | remove old span code | Brian Paul | 2005-06-04 | 1 | -70/+26 |
| | |||||
* | fix an assertion | Brian Paul | 2005-06-04 | 1 | -1/+1 |
| | |||||
* | remove old span code | Brian Paul | 2005-06-04 | 2 | -61/+27 |
| | |||||
* | Remove last of the old span code. | Brian Paul | 2005-06-02 | 7 | -72/+13 |
| | |||||
* | moved to windows build dir | Karl Schultz | 2005-05-24 | 1 | -336/+0 |
| | |||||
* | Remove some debug output | Jon Smirl | 2005-05-20 | 1 | -0/+2 |
| | | | | Add #if DEBUG_FRAG in s_nvfragprog.c | ||||
* | fix GetRow parameters (Nicolai Haehnle) | Brian Paul | 2005-05-15 | 1 | -1/+1 |
| | |||||
* | Don't let FragmentProgram._Active influence choice of vertex vs pixel | Keith Whitwell | 2005-05-11 | 1 | -1/+1 |
| | | | | fog. | ||||
* | Previously in TXP and TEX instructions, lambda was passed to | Keith Whitwell | 2005-05-11 | 1 | -3/+24 |
| | | | | | | | | | | | | | | | | | | | | | fetch_texel as zero, but I believe this is incorrect. The spec uses a pseudocode function: vec4 TextureSample(float s, float t, float r, float lodBias, int texImageUnit, enum texTarget); to specify the behaviour of TEX, TXB and TXP instructions. For TEX and TXP, lodBias is passed as zero, TXB is passed with texcoord[4]. In our code we have static void fetch_texel( GLcontext *ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4] ) and were passing zero and a biased lambda value respectively. The difference is that TextureSample() would add in the lambda term itself, while in our code the caller is expected to do this. Thus in the TEX and TXP cases, it is necessary to pass an unbiased lambda value for things to work out correctly. | ||||
* | Don't let FragmentProgram._Active influence choice of vertex vs pixel | Keith Whitwell | 2005-05-11 | 1 | -1/+1 |
| | | | | fog. | ||||
* | Test for texcoord[3] == zero before dividing. Not so sure about this | Keith Whitwell | 2005-05-11 | 1 | -4/+15 |
| | | | | | | test - if texcoord[3] is zero, we'd probably be fine except for an ASSERT in IROUND_POS() which gets triggered by the inf values created. | ||||
* | Committing in . | Jouk Jansen | 2005-05-10 | 1 | -8/+4 |
| | | | | | | | | | | OpenVMS compile support update for new buffer-code Modified Files: Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/swrast/descrip.mms ---------------------------------------------------------------------- | ||||
* | dri fb works using renderbuffers now in RGBA mode | Jon Smirl | 2005-05-08 | 1 | -2/+4 |
| | |||||
* | restore call to SetBuffer() in clear_color_buffers(), only temporary | Brian Paul | 2005-05-06 | 1 | -7/+6 |
| | |||||
* | more updates for users of s_spantemp.h | Brian Paul | 2005-05-05 | 1 | -18/+20 |
| | |||||
* | FBO changes | Brian Paul | 2005-05-04 | 1 | -218/+103 |
| | |||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 33 | -3021/+1966 |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | ||||
* | Add a facility to route all rasterization through a fragment program | Keith Whitwell | 2005-05-04 | 7 | -28/+28 |
| | | | | | | | | | | | which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode. | ||||
* | added interpolate_fog() | Brian Paul | 2005-04-26 | 1 | -0/+26 |
| | |||||
* | undef DEPTH_TYPE at end | Brian Paul | 2005-04-22 | 1 | -0/+1 |
| | |||||
* | Reduce the size of mesa's internal fragment and vertex program | Keith Whitwell | 2005-04-21 | 1 | -34/+39 |
| | | | | | representations by switching to packed structures for registers and instructions. | ||||
* | remove stray span.y++ | Brian Paul | 2005-01-29 | 1 | -1/+1 |
| |