summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2006-11-02Add requested size to r300RefillCurrentDmaRegion.Jerome Glisse
This way we no longuer have the fixed RADEON_BUFFER_SIZE. Anyway function calling AllocDmaRegion should check if this succeed and fail gracefuly if not (see bug 8348).
2006-11-02remove GetBufferSize = NULL; assignmentBrian Paul
2006-11-02Fixes Glean vertex/fragment test failures. Those tests never calledBrian Paul
glViewport so the viewport was 0 by 0 pixels.
2006-11-02remove GetBufferSize codeBrian Paul
2006-11-02always load frag prog state params for now (see comments)Brian Paul
2006-11-02remove unneeded extern declaration of lockMutexBrian Paul
2006-11-02bump driver dateBrian Paul
2006-11-02Use RGBA_LOGICOP_ENABLED() instead of ctx->Color._LogicOpEnabled since we oftenBrian Paul
need to check for this condition before the later field has been computed. Fixes logicop bug #8860.
2006-11-02new RGBA_LOGICOP_ENABLED() macroBrian Paul
2006-11-02s/_mesa_IsProgram2/_mesa_IsProgram/Brian Paul
2006-11-02Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with theBrian Paul
OpenGL 2.0 function of the same name.
2006-11-02OpenGL 2.0 entrypointsBrian Paul
2006-11-02run indent on the codeBrian Paul
2006-11-02Add ATI_separate_stencil and use it in preference to EXT_stencil_two_sideBrian Paul
since the former is what's used for OpenGL 2.0.
2006-11-01update _mesa_select_tex_image() and _mesa_get_tex_image()Brian Paul
2006-11-01update commentsBrian Paul
2006-11-01Remove x/y/width/height parameters from Clear functions.Brian Paul
2006-11-01comment-out unused varBrian Paul
2006-11-01remove unused varsBrian Paul
2006-11-01fix _mesa_select_tex_image() callsBrian Paul
2006-11-01Write back gl_FragDepth to span->array->z.Michal Krol
2006-11-01Don't use the x/y/width/height params passed to Clear(). Get themBrian Paul
after locking. Next: remove the params altogether.
2006-11-01disable debug printfsBrian Paul
2006-11-01Correct a little bug, radeon->glCtx is a pointer.Jerome Glisse
2006-11-01Remove deprecated GetBufferSize interface.Jerome Glisse
2006-11-01fix compiler warningsKeith Whitwell
2006-11-01Patch from <haihao.xiang@intel.com> -- pass program stringKeith Whitwell
notification callback through to tnl/ module, fixes glean crash.
2006-11-01Merge texmem-0-3-branch.Keith Whitwell
2006-11-01Add LIT instruction to fragment program.Jerome Glisse
2006-11-01Import texmem i915 driver to its new location as i915tex.Keith Whitwell
2006-11-01Add CMPH instruction to fragprogJerome Glisse
CMPH a0, a1, a2 -> if a2 > 0.5 return a1 else return a0 Guessed by examinating LIT instruction handling of FGLRX.
2006-11-01Patch from <haihao.xiang@intel.com> -- pass program stringKeith Whitwell
notification callback through to tnl/ module, fixes glean crash.
2006-11-01change DEBUG_FRAG conditionsBrian Paul
2006-11-01fix some bugs in interpolate_specular()Brian Paul
2006-11-01Added a few new ctx->Const. fields for shader-related limits.Brian Paul
2006-10-31make use of Parameters->StateFlags in _swrast_update_fragment_program()Brian Paul
2006-10-31minor clean-ups, simplifications and new commentsBrian Paul
2006-10-31fix MINGW32 problemsBrian Paul
2006-10-31We need to call _mesa_load_state_parameters() whenever a fragment programBrian Paul
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().
2006-10-31signal _NEW_LIGHT in _tnl_copy_to_current()Brian Paul
2006-10-31In TEX instructions, use precomputed lambda only if using fragment.texcoord[k]Brian Paul
to sample texture[k]. Use zero otherwise. Not foolproof, but a good compromise.
2006-10-31For TEX instructions use lambda=0. When sampling from texture unit K weBrian Paul
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.
2006-10-30Fix bug #8799.Ian Romanick
Properly resize bith the drawable and the readable in mgaUpdateRects. Eliminate the use of the deprecated GetBufferSize interface. Bump driver date.
2006-10-30Refactor mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects.Ian Romanick
Combine mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects into a single new function called mga_set_cliprects. This enables a small refactor in mgaDDDrawBuffer.
2006-10-30Get DRI drawable from framebuffer object.Ian Romanick
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.
2006-10-30code tweaks, remove old commentsBrian Paul
2006-10-30fix _mesa_problem() textBrian Paul
2006-10-30Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h.Brian Paul
Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution.
2006-10-30remove debug codeBrian Paul
2006-10-29Rather than always allocating 100 instructions, put instructions into aBrian Paul
temporary buffer, then copy into a malloc'd array of the correct size. According to Glean texCombine, we never need more than 21 instructions.