Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | use FABSF(fogCoord) to fix fog calculation problem (Soju Matsumoto) | Brian Paul | 2005-01-17 | 1 | -3/+3 |
| | |||||
* | fix a few warnings | Brian Paul | 2005-01-17 | 1 | -1/+2 |
| | |||||
* | add s_atifragshader.c, s_atifragshader.h | Michal Krol | 2005-01-13 | 1 | -0/+8 |
| | |||||
* | updates from Jouk | Brian Paul | 2005-01-03 | 1 | -2/+3 |
| | |||||
* | Use Point._Size in calculation | Keith Whitwell | 2004-12-29 | 1 | -1/+1 |
| | |||||
* | use clamped Line._Width in calculations | Keith Whitwell | 2004-12-29 | 2 | -7/+7 |
| | |||||
* | Implement software ATI_fragment_shader | Dave Airlie | 2004-12-19 | 5 | -1/+672 |
| | | | | no error detection, slow, may not be 100% correct but a good start | ||||
* | Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span(). | Brian Paul | 2004-12-18 | 10 | -372/+118 |
| | |||||
* | Added PRINT instruction for GL_NV_fragment_program. | Brian Paul | 2004-12-18 | 1 | -5/+22 |
| | |||||
* | fix typos in texcoord setup - fixes perspective correction bug | Brian Paul | 2004-12-16 | 1 | -7/+7 |
| | |||||
* | don't divide texcoords by q if using a fragment program | Brian Paul | 2004-12-16 | 1 | -8/+19 |
| | |||||
* | fixes for fragment programs | Brian Paul | 2004-12-15 | 1 | -3/+7 |
| | |||||
* | init span.w, dwdx, dwdy in case we're running a fragment program | Brian Paul | 2004-12-15 | 1 | -3/+7 |
| | |||||
* | tweaks to the LIT instructions | Brian Paul | 2004-12-15 | 1 | -5/+7 |
| | |||||
* | silence warning | Brian Paul | 2004-12-03 | 1 | -1/+1 |
| | |||||
* | Fix some warnings | Alan Hourihane | 2004-12-02 | 3 | -9/+2 |
| | |||||
* | new comments and assertions | Brian Paul | 2004-11-27 | 4 | -2/+7 |
| | |||||
* | Change the dispatch offsets for the VertexAttrib*NV functions so they don't | Brian Paul | 2004-11-27 | 1 | -1/+1 |
| | | | | | | | alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct. | ||||
* | GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking | Brian Paul | 2004-11-10 | 3 | -41/+41 |
| | | | | | | | and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions. | ||||
* | use the new _mesa_clip_readpixels() routine | Brian Paul | 2004-11-09 | 1 | -34/+37 |
| | |||||
* | Removed _swrast_clip_pixelrect(). Use _mesa_clip_drawpixels() instead. | Brian Paul | 2004-11-09 | 2 | -53/+1 |
| | |||||
* | don't use ctx->Pack, use the function argument | Brian Paul | 2004-11-09 | 1 | -13/+12 |
| | |||||
* | fix convolution regression from revision 1.48 to 1.49 | Brian Paul | 2004-11-01 | 1 | -3/+2 |
| | |||||
* | PBO support for glColorTable, glColorSubTable, glGetColorTable, etc. | Brian Paul | 2004-10-31 | 1 | -0/+16 |
| | |||||
* | PBO support for glConvolutionFilter1D/2D, glGetConvolutionFilter, etc. | Brian Paul | 2004-10-31 | 1 | -1/+17 |
| | |||||
* | Removed _swrast_validate_pbo_access(). | Brian Paul | 2004-10-31 | 2 | -27/+0 |
| | | | | In x11 driver, map/unmap PBO as needed in DrawPixels functions. | ||||
* | Allow the software fallback glDrawPixels, glReadPixels, glBitmap commands to | Brian Paul | 2004-10-31 | 3 | -22/+83 |
| | | | | | work with real, hardware-based PBOs in the future by mapping/unmapping the PBO buffer as needed. | ||||
* | minor fixes from J.P. Delport | Brian Paul | 2004-10-23 | 1 | -0/+1 |
| | |||||
* | Fix minor fog / fragment program state bug. | Brian Paul | 2004-10-13 | 4 | -26/+29 |
| | | | | Don't add diffuse and specular colors when using fragment program. | ||||
* | *** empty log message *** | Karl Schultz | 2004-10-06 | 1 | -0/+15 |
| | |||||
* | added support for GL_ARB_draw_buffers | Brian Paul | 2004-10-02 | 6 | -20/+34 |
| | |||||
* | set span.y prior to each span write in draw_depth_pixels, like Karl's other fix | Brian Paul | 2004-09-30 | 1 | -11/+11 |
| | |||||
* | Fix bug in glDrawPixels when writing color indexed images on color indexed | Karl Schultz | 2004-09-28 | 1 | -2/+2 |
| | | | | | devices. In draw_index_pixels(), use the correct variables for the span Y and span end values. | ||||
* | patches for clearing hw depth buffers from software fallback (Nicolai Haehnle) | Brian Paul | 2004-09-24 | 2 | -1/+28 |
| |