Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove GetBufferSize = NULL; assignment | Brian Paul | 2006-11-02 | 1 | -1/+0 |
| | |||||
* | Fixes Glean vertex/fragment test failures. Those tests never called | Brian Paul | 2006-11-02 | 1 | -0/+10 |
| | | | | glViewport so the viewport was 0 by 0 pixels. | ||||
* | remove GetBufferSize code | Brian Paul | 2006-11-02 | 1 | -28/+0 |
| | |||||
* | always load frag prog state params for now (see comments) | Brian Paul | 2006-11-02 | 1 | -0/+5 |
| | |||||
* | remove unneeded extern declaration of lockMutex | Brian Paul | 2006-11-02 | 1 | -3/+0 |
| | |||||
* | bump driver date | Brian Paul | 2006-11-02 | 1 | -1/+1 |
| | |||||
* | Use RGBA_LOGICOP_ENABLED() instead of ctx->Color._LogicOpEnabled since we often | Brian Paul | 2006-11-02 | 7 | -9/+11 |
| | | | | | need to check for this condition before the later field has been computed. Fixes logicop bug #8860. | ||||
* | new RGBA_LOGICOP_ENABLED() macro | Brian Paul | 2006-11-02 | 2 | -3/+9 |
| | |||||
* | s/_mesa_IsProgram2/_mesa_IsProgram/ | Brian Paul | 2006-11-02 | 2 | -2/+2 |
| | |||||
* | Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with the | Brian Paul | 2006-11-02 | 6 | -34/+35 |
| | | | | OpenGL 2.0 function of the same name. | ||||
* | OpenGL 2.0 entrypoints | Brian Paul | 2006-11-02 | 2 | -0/+138 |
| | |||||
* | run indent on the code | Brian Paul | 2006-11-02 | 1 | -865/+821 |
| | |||||
* | Add ATI_separate_stencil and use it in preference to EXT_stencil_two_side | Brian Paul | 2006-11-02 | 4 | -56/+57 |
| | | | | since the former is what's used for OpenGL 2.0. | ||||
* | update _mesa_select_tex_image() and _mesa_get_tex_image() | Brian Paul | 2006-11-01 | 1 | -2/+2 |
| | |||||
* | update comments | Brian Paul | 2006-11-01 | 1 | -17/+6 |
| | |||||
* | Remove x/y/width/height parameters from Clear functions. | Brian Paul | 2006-11-01 | 41 | -207/+156 |
| | |||||
* | comment-out unused var | Brian Paul | 2006-11-01 | 1 | -1/+1 |
| | |||||
* | remove unused vars | Brian Paul | 2006-11-01 | 2 | -2/+0 |
| | |||||
* | fix _mesa_select_tex_image() calls | Brian Paul | 2006-11-01 | 1 | -4/+2 |
| | |||||
* | Write back gl_FragDepth to span->array->z. | Michal Krol | 2006-11-01 | 1 | -1/+10 |
| | |||||
* | Don't use the x/y/width/height params passed to Clear(). Get them | Brian Paul | 2006-11-01 | 6 | -60/+80 |
| | | | | after locking. Next: remove the params altogether. | ||||
* | disable debug printfs | Brian Paul | 2006-11-01 | 2 | -4/+7 |
| | |||||
* | Correct a little bug, radeon->glCtx is a pointer. | Jerome Glisse | 2006-11-01 | 1 | -2/+3 |
| | |||||
* | Remove deprecated GetBufferSize interface. | Jerome Glisse | 2006-11-01 | 5 | -72/+76 |
| | |||||
* | fix compiler warnings | Keith Whitwell | 2006-11-01 | 2 | -0/+2 |
| | |||||
* | Patch from <[email protected]> -- pass program string | Keith Whitwell | 2006-11-01 | 1 | -0/+2 |
| | | | | notification callback through to tnl/ module, fixes glean crash. | ||||
* | Merge texmem-0-3-branch. | Keith Whitwell | 2006-11-01 | 20 | -518/+1735 |
| | |||||
* | Add LIT instruction to fragment program. | Jerome Glisse | 2006-11-01 | 2 | -17/+88 |
| | |||||
* | Import texmem i915 driver to its new location as i915tex. | Keith Whitwell | 2006-11-01 | 73 | -0/+25933 |
| | |||||
* | Add CMPH instruction to fragprog | Jerome Glisse | 2006-11-01 | 1 | -0/+2 |
| | | | | | CMPH a0, a1, a2 -> if a2 > 0.5 return a1 else return a0 Guessed by examinating LIT instruction handling of FGLRX. | ||||
* | Patch from <[email protected]> -- pass program string | Keith Whitwell | 2006-11-01 | 1 | -0/+2 |
| | | | | notification callback through to tnl/ module, fixes glean crash. | ||||
* | change DEBUG_FRAG conditions | Brian Paul | 2006-11-01 | 1 | -79/+82 |
| | |||||
* | fix some bugs in interpolate_specular() | Brian Paul | 2006-11-01 | 1 | -23/+29 |
| | |||||
* | Added a few new ctx->Const. fields for shader-related limits. | Brian Paul | 2006-11-01 | 4 | -16/+30 |
| | |||||
* | make use of Parameters->StateFlags in _swrast_update_fragment_program() | Brian Paul | 2006-10-31 | 1 | -7/+4 |
| | |||||
* | minor clean-ups, simplifications and new comments | Brian Paul | 2006-10-31 | 1 | -26/+21 |
| | |||||
* | fix MINGW32 problems | Brian Paul | 2006-10-31 | 1 | -2/+4 |
| | |||||
* | We need to call _mesa_load_state_parameters() whenever a fragment program | Brian Paul | 2006-10-31 | 2 | -6/+15 |
| | | | | | | is enabled and we've changed any GL state that might be referenced by a fragment program (such as state.fog.params). Do this during swrast validation, not in _swrast_exec_fragment_program(). | ||||
* | signal _NEW_LIGHT in _tnl_copy_to_current() | Brian Paul | 2006-10-31 | 1 | -0/+2 |
| | |||||
* | In TEX instructions, use precomputed lambda only if using fragment.texcoord[k] | Brian Paul | 2006-10-31 | 1 | -34/+33 |
| | | | | | to sample texture[k]. Use zero otherwise. Not foolproof, but a good compromise. | ||||
* | For TEX instructions use lambda=0. When sampling from texture unit K we | Brian Paul | 2006-10-31 | 1 | -44/+71 |
| | | | | | | | | | | were using the partial derivatives of texcoord[K] but the coordinate used for texture sampling may be something totally different (and texcoord[K] might not be a real texture coord at all). Net result was a bogus LOD is sometimes used, often resulting in using the smallest mipmap level (a constant color). Just use zero for now (undef LAMBDA_ZERO to override). Plus, some additional debug code. | ||||
* | Fix bug #8799. | Ian Romanick | 2006-10-30 | 2 | -22/+8 |
| | | | | | | Properly resize bith the drawable and the readable in mgaUpdateRects. Eliminate the use of the deprecated GetBufferSize interface. Bump driver date. | ||||
* | Refactor mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects. | Ian Romanick | 2006-10-30 | 1 | -33/+8 |
| | | | | | | Combine mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects into a single new function called mga_set_cliprects. This enables a small refactor in mgaDDDrawBuffer. | ||||
* | Get DRI drawable from framebuffer object. | Ian Romanick | 2006-10-30 | 3 | -10/+2 |
| | | | | | | | | | | In the software rasterization fallbacks, get the __DRIdrawablePrivate pointer from the driRenderbuffer that is passed in. This eliminates the need for the mesa_drawable pointer in MGA context structure. This partially fixes bug #8799. wincopy no longer produces a black window for the destination window, but it does produce incorrect results if the destination window is resized. | ||||
* | code tweaks, remove old comments | Brian Paul | 2006-10-30 | 1 | -65/+16 |
| | |||||
* | fix _mesa_problem() text | Brian Paul | 2006-10-30 | 1 | -2/+2 |
| | |||||
* | Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h. | Brian Paul | 2006-10-30 | 5 | -154/+177 |
| | | | | | Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution. | ||||
* | remove debug code | Brian Paul | 2006-10-30 | 1 | -7/+0 |
| | |||||
* | Rather than always allocating 100 instructions, put instructions into a | Brian Paul | 2006-10-29 | 1 | -18/+42 |
| | | | | | temporary buffer, then copy into a malloc'd array of the correct size. According to Glean texCombine, we never need more than 21 instructions. | ||||
* | New _mesa_exec_vertex_state_program() function. Start of some re-org. | Brian Paul | 2006-10-29 | 3 | -9/+28 |
| |