Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The kernel doesn't like command buffers over 64KB, so we don't | Nicolai Haehnle | 2005-05-14 | 1 | -3/+5 |
| | | | | allocate buffers bigger than that. | ||||
* | Remove dead span functions code. | Nicolai Haehnle | 2005-05-14 | 1 | -206/+18 |
| | |||||
* | Fix span functions for stencil buffer access. | Nicolai Haehnle | 2005-05-14 | 1 | -10/+8 |
| | |||||
* | Don't print debug messages unless the user explicitly requested them | Nicolai Haehnle | 2005-05-14 | 2 | -6/+10 |
| | | | | using the RADEON_DEBUG environment variable. | ||||
* | Fix compile error in demo egl driver | Jon Smirl | 2005-05-14 | 1 | -12/+12 |
| | |||||
* | Forgot to add fb_egl.c | Jon Smirl | 2005-05-14 | 1 | -0/+798 |
| | |||||
* | Make software fallbacks work again: | Nicolai Haehnle | 2005-05-13 | 2 | -0/+7 |
| | | | | | We need to plug in swsetup functions into the TNL module's callbacks. Also, resize the framebuffer size when the drawable size changes. | ||||
* | Remove quiescence sequence from r300ClearBuffer. | Nicolai Haehnle | 2005-05-13 | 1 | -17/+0 |
| | | | | | The DRM is responsible for emitting this quiescence sequence when appropriate. | ||||
* | First attempt at getting egl support up on dumb framebuffer. | Jon Smirl | 2005-05-13 | 16 | -74/+506 |
| | | | | Seems to be mostly working. Not all of egl API is implemented. | ||||
* | Patch from Jeff Smith: | Nicolai Haehnle | 2005-05-13 | 1 | -6/+6 |
| | | | | | The type of vertex data is opaque in the emit_* functions, so use GLvoid* instead of char*. This also eliminates some compiler warnings. | ||||
* | Patch from Jeff Smith: | Nicolai Haehnle | 2005-05-13 | 1 | -1/+1 |
| | | | | Fix a WARN_ONCE format string. | ||||
* | Remove MAX_VISUAL limitations of 100. If running dual head this can | Alan Hourihane | 2005-05-13 | 1 | -7/+5 |
| | | | | | be easily consumed. There are no limitations now and the VisualTable is realloced when necessary. | ||||
* | Calculate render inputs for tcl stage correctly (hint: they aren't the | Keith Whitwell | 2005-05-13 | 1 | -1/+32 |
| | | | | same as tnl->render_inputs). Fixes recent tcl problems. | ||||
* | Remove some unused structure fields, add some comments, and ifdef out some | Ian Romanick | 2005-05-12 | 4 | -18/+49 |
| | | | | | dead code. This is just some clean-up work which should not have any functional impact. | ||||
* | new MESA_DEBUG option: disassem | Keith Whitwell | 2005-05-12 | 3 | -2/+6 |
| | |||||
* | Rein in debug slightly | Keith Whitwell | 2005-05-12 | 1 | -1/+1 |
| | |||||
* | Turn disassem off (oops). | Keith Whitwell | 2005-05-12 | 1 | -1/+1 |
| | |||||
* | Add check for mask == NULL to the one routine missing it. | Keith Whitwell | 2005-05-12 | 1 | -2/+11 |
| | |||||
* | When lighting is enabled, but no lights are enabled, the scenecolor | Keith Whitwell | 2005-05-12 | 1 | -27/+85 |
| | | | | | | | | | becomes the result of lighting. When lighting is disabled, pass-through incoming color value. Likewise, pass through incoming texture values. (Based on patch by Aapo Tahkola) Add compile-time configuration to switch between DP4 and MUL/MAD for matrix-vector multiplications. | ||||
* | fix warnings in r300_texstate.c (Jeff Smith) | Ben Skeggs | 2005-05-12 | 1 | -4/+4 |
| | |||||
* | VBOs. | Aapo Tahkola | 2005-05-11 | 8 | -26/+114 |
| | |||||
* | 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. | ||||
* | Use _mesa_memset rather than memset | Keith Whitwell | 2005-05-11 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Fix glean/conform problems. Don't generate so much output when | Keith Whitwell | 2005-05-11 | 1 | -26/+36 |
| | | | | disassembling. | ||||
* | Fix valgrind complaint, conform vertex order test. | Keith Whitwell | 2005-05-11 | 1 | -6/+20 |
| | |||||
* | Rename temp_flag to temp_in_use. Use ctx->Const.MaxVertexProgramTemps | Keith Whitwell | 2005-05-11 | 1 | -8/+13 |
| | | | | | rather than MAX_NV_VERTEX_PROGRAM_TEMPS and deal with this possibly being greater than 32. | ||||
* | Fix logic for allocating texture temporaries (Ben Skeggs). | Keith Whitwell | 2005-05-11 | 1 | -15/+24 |
| | | | | | Rename temp_flag, tex_temp_flag to make this clearer. Respect ctx->Const.MaxFragmentProgramTemps limit. | ||||
* | int -> size_t to fix compile on LP64. | Adam Jackson | 2005-05-11 | 1 | -1/+1 |
| | |||||
* | Ensure programs don't overflow allocated instruction store. | Keith Whitwell | 2005-05-10 | 1 | -1/+8 |
| | |||||
* | Fix some valgrind complaints | Keith Whitwell | 2005-05-10 | 1 | -0/+4 |
| | |||||
* | fix some valgrind complaints | Keith Whitwell | 2005-05-10 | 2 | -3/+3 |
| | |||||
* | Improved detection of program changes. | Keith Whitwell | 2005-05-10 | 1 | -20/+32 |
| | |||||
* | Double-buffer generated instructions and only notify driver when the | Keith Whitwell | 2005-05-10 | 1 | -1/+0 |
| | | | | generated program differs from the previous one. | ||||
* | Fix some valgrind complaints | Keith Whitwell | 2005-05-10 | 2 | -4/+4 |
| | |||||
* | Double-buffer generated instructions and only notify driver when the | Keith Whitwell | 2005-05-10 | 2 | -13/+48 |
| | | | | generated program differs from the previous one. | ||||
* | reduce the use of malloc and strdup for parameter lists | Keith Whitwell | 2005-05-10 | 2 | -25/+33 |
| | |||||
* | don't be fooled into emitting padding for wpos when not used | Keith Whitwell | 2005-05-10 | 2 | -2/+2 |
| | |||||
* | Missing from previous commit | Keith Whitwell | 2005-05-10 | 2 | -4/+8 |
| | |||||
* | Update for FragmentProgram._Active | Keith Whitwell | 2005-05-10 | 1 | -2/+2 |
| | |||||
* | Better driver notification on changes. | Keith Whitwell | 2005-05-10 | 1 | -7/+10 |
| | |||||
* | get fog working with _TexEnvProgram | Keith Whitwell | 2005-05-10 | 3 | -6/+19 |
| | |||||
* | Temporary fix - delete and recreate texenvprogram so that drivers | Keith Whitwell | 2005-05-10 | 1 | -5/+10 |
| | | | | notice when it changes. | ||||
* | Committing in . | Jouk Jansen | 2005-05-10 | 3 | -11/+21 |
| | | | | | | | | | | 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 ---------------------------------------------------------------------- | ||||
* | Fix texenv segfault. Reported by Ben Skeggs. | Keith Whitwell | 2005-05-10 | 1 | -0/+10 |
| | |||||
* | Try not to use the same temp reg as a TXP destination more than once, | Keith Whitwell | 2005-05-10 | 1 | -2/+40 |
| | | | | | as this also constitutes a texture indirection. Reported by Ben Skeggs. | ||||
* | pathetic attempt to accomodate new frambuffer changes (still some work to do) | Daniel Borca | 2005-05-09 | 1 | -3/+10 |
| | |||||
* | accomodate new frambuffer changes | Daniel Borca | 2005-05-09 | 2 | -28/+32 |
| |