summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* remove GetBufferSize = NULL; assignmentBrian Paul2006-11-021-1/+0
|
* Fixes Glean vertex/fragment test failures. Those tests never calledBrian Paul2006-11-021-0/+10
| | | | glViewport so the viewport was 0 by 0 pixels.
* remove GetBufferSize codeBrian Paul2006-11-021-28/+0
|
* always load frag prog state params for now (see comments)Brian Paul2006-11-021-0/+5
|
* remove unneeded extern declaration of lockMutexBrian Paul2006-11-021-3/+0
|
* bump driver dateBrian Paul2006-11-021-1/+1
|
* Use RGBA_LOGICOP_ENABLED() instead of ctx->Color._LogicOpEnabled since we oftenBrian Paul2006-11-027-9/+11
| | | | | need to check for this condition before the later field has been computed. Fixes logicop bug #8860.
* new RGBA_LOGICOP_ENABLED() macroBrian Paul2006-11-022-3/+9
|
* s/_mesa_IsProgram2/_mesa_IsProgram/Brian Paul2006-11-022-2/+2
|
* Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with theBrian Paul2006-11-026-34/+35
| | | | OpenGL 2.0 function of the same name.
* OpenGL 2.0 entrypointsBrian Paul2006-11-022-0/+138
|
* run indent on the codeBrian Paul2006-11-021-865/+821
|
* Add ATI_separate_stencil and use it in preference to EXT_stencil_two_sideBrian Paul2006-11-024-56/+57
| | | | since the former is what's used for OpenGL 2.0.
* update _mesa_select_tex_image() and _mesa_get_tex_image()Brian Paul2006-11-011-2/+2
|
* update commentsBrian Paul2006-11-011-17/+6
|
* Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-0141-207/+156
|
* comment-out unused varBrian Paul2006-11-011-1/+1
|
* remove unused varsBrian Paul2006-11-012-2/+0
|
* fix _mesa_select_tex_image() callsBrian Paul2006-11-011-4/+2
|
* Write back gl_FragDepth to span->array->z.Michal Krol2006-11-011-1/+10
|
* Don't use the x/y/width/height params passed to Clear(). Get themBrian Paul2006-11-016-60/+80
| | | | after locking. Next: remove the params altogether.
* disable debug printfsBrian Paul2006-11-012-4/+7
|
* Correct a little bug, radeon->glCtx is a pointer.Jerome Glisse2006-11-011-2/+3
|
* Remove deprecated GetBufferSize interface.Jerome Glisse2006-11-015-72/+76
|
* fix compiler warningsKeith Whitwell2006-11-012-0/+2
|
* Patch from <[email protected]> -- pass program stringKeith Whitwell2006-11-011-0/+2
| | | | notification callback through to tnl/ module, fixes glean crash.
* Merge texmem-0-3-branch.Keith Whitwell2006-11-0120-518/+1735
|
* Add LIT instruction to fragment program.Jerome Glisse2006-11-012-17/+88
|
* Import texmem i915 driver to its new location as i915tex.Keith Whitwell2006-11-0173-0/+25933
|
* Add CMPH instruction to fragprogJerome Glisse2006-11-011-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 stringKeith Whitwell2006-11-011-0/+2
| | | | notification callback through to tnl/ module, fixes glean crash.
* change DEBUG_FRAG conditionsBrian Paul2006-11-011-79/+82
|
* fix some bugs in interpolate_specular()Brian Paul2006-11-011-23/+29
|
* Added a few new ctx->Const. fields for shader-related limits.Brian Paul2006-11-014-16/+30
|
* make use of Parameters->StateFlags in _swrast_update_fragment_program()Brian Paul2006-10-311-7/+4
|
* minor clean-ups, simplifications and new commentsBrian Paul2006-10-311-26/+21
|
* fix MINGW32 problemsBrian Paul2006-10-311-2/+4
|
* We need to call _mesa_load_state_parameters() whenever a fragment programBrian Paul2006-10-312-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 Paul2006-10-311-0/+2
|
* In TEX instructions, use precomputed lambda only if using fragment.texcoord[k]Brian Paul2006-10-311-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 weBrian Paul2006-10-311-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 Romanick2006-10-302-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 Romanick2006-10-301-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 Romanick2006-10-303-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 commentsBrian Paul2006-10-301-65/+16
|
* fix _mesa_problem() textBrian Paul2006-10-301-2/+2
|
* Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h.Brian Paul2006-10-305-154/+177
| | | | | Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution.
* remove debug codeBrian Paul2006-10-301-7/+0
|
* Rather than always allocating 100 instructions, put instructions into aBrian Paul2006-10-291-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 Paul2006-10-293-9/+28
|