summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-30Move edgeflag into the VERT_ATTRIB_SEVEN slot. This means that ourKeith Whitwell
NV_vertex_program implementation has slightly incorrect aliasing behaviour. I think this is reasonable given the simplification and the fact that the mainstream ARB_vp continues to have the correct behaviour.
2006-10-30Remove wakeup functions. This code is intended to be active all theKeith Whitwell
time.
2006-10-30switch several dri drivers overKeith Whitwell
2006-10-30better handling of current attributes. Trivial dlist and varray tests workKeith Whitwell
2006-10-30checkpoint - remove dead files, otherwise untestedKeith Whitwell
2006-10-29Fix compiler warningKeith Whitwell
2006-10-29switch over to vbo moduleKeith Whitwell
2006-10-29remove this moduleKeith Whitwell
2006-10-29Changes for new vbo-building module.Keith Whitwell
- Removed all the old immediate, array and display list code. - Remove references to the old array_cache module. - Added a _tnl_draw_prims() entrypoint. - Added a simplified data import facility for converting non-floating point data as required. Checkpoint commit - trivial/tri works.
2006-10-29Checkpoint of new vbo-building code. Currently builds regular arraysKeith Whitwell
rather than VBO's - VBOs are easy but need to look closer at the driver interface. The trivial/tri demo works.
2006-10-28Added PROGRAM_CONSTANT to get_register_pointer().Brian Paul
More DEBUG_FRAG code.
2006-10-28special case END in _mesa_print_instruction()Brian Paul
2006-10-28Implement _mesa_append_fog_code() for fragment program fog options.Brian Paul
2006-10-26If DEBUG, check that all array indices really do fall in [start,end] inBrian Paul
the DrawRangeElements() call. Warn the user if that's not true.
2006-10-26remove code for inserting mvp transform into position-invariant vertex progs ↵Roland Scheidegger
and instead use _mesa_insert_mvp_code().
2006-10-25Previously, if a fragment program referenced fragment.fogcoord but theBrian Paul
program didn't use the ARB_fog_linear option, the fragment program's fragment.fogcoord register wasn't loaded properly.
2006-10-25change some bogus comments regarding the base e exponential function used ↵Roland Scheidegger
for fog in vertex programs.
2006-10-24fix (per-vertex) fog when using ARB_vp by incorporating fog factor ↵Roland Scheidegger
computation into the vertex program (not yet fixed for swtnl). Simplify (and correct) the VTX_TCL_OUTPUT_VTXFMT handling when using vertex programs, turns out it's solely driven by the needs of the past-vertex stage of the pipeline, this should fix lockups with ill-specified applications using vertex programs (for instance applications enabling fog but not writing to fog coord output will now get (conformant) undefined results instead of lockups).
2006-10-24Add missing call to glutInit.Ian Romanick
2006-10-24s/GLchan/GLubyte/Brian Paul
2006-10-24whitespace clean-upBrian Paul
2006-10-23Emit cliprects in the userspace driver as required, rather thanKeith Whitwell
passing them to the kernel. This works because all drawing commands in the 965 driver are emitted with the lock held and the batchbuffer is always flushed prior to releasing the lock. This allows multiple cliprects to be dealt with, without replaying entire batchbuffers and redundantly re-emitting state.
2006-10-22assorted clean-upsBrian Paul
2006-10-22don't save color/z if fragment is killedBrian Paul
2006-10-22add minstall script to MAIN_FILES (bug 8720)Brian Paul
2006-10-22minor tweaks good for about 12% faster executionBrian Paul
2006-10-22silence used var warningsBrian Paul
2006-10-22Color clamping fixes.Brian Paul
2006-10-21move/improve comments, clean up code in a few placesBrian Paul
2006-10-21fix another logic error in computing deferredTextureBrian Paul
2006-10-21For deferredTexture, need to check if the fragment program/shader writesBrian Paul
the fragment Z.
2006-10-21move interpolate_varying() callBrian Paul
2006-10-21don't use params passed to Clear()Brian Paul
2006-10-21Move interpolate_texcoords() and interpolate_varying() calls into ↵Brian Paul
shade_texture_span(). Added some INLINE hints.
2006-10-19Consolidate some code into shade_texture_span().Brian Paul
Clean up logic for deferred texturing/shading.
2006-10-19fixed Fixed/Int bugBrian Paul
2006-10-19remove temp codeBrian Paul
2006-10-19remove some debug/test changesBrian Paul
2006-10-19New bin/minstall script - a minimal replacement for 'install'.Brian Paul
Correctly handles symlinks so we can get rid of the COPY_LIBS stuff.
2006-10-19fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertionBrian Paul
2006-10-19Fix nonportable pointer+unsigned arithmetic. Use pointer+int.Michal Krol
2006-10-18added clamp_colors(), updated assertionsBrian Paul
2006-10-18minor re-org, doxygen commentsBrian Paul
2006-10-18Changed install filenames to libGL* and libOSMesa* so things work on DarwinBrian Paul
where GL_LIB_NAME = libGL.dylib but the other library name is libGL.1.dylib Unlike other platforms, the version number is in the middle of the name, not at the end. See bug 8671
2006-10-18Enable GLX_SGI_make_current_read for radeon.Ian Romanick
Added code to track the drawable bound to the context for reading. In addition, when a drawable is initially bound (for reading or drawing) or when the size of the drawable changes, update the size of the framebuffer object that back the drawable (for software fallbacks). Deprecate the old GetBufferSize interface. Bump the driver date. These changes were tested with wincopy on both direct rendering and accelerated indirect rendering (AIGLX).
2006-10-18Don't use x/y/w/h params given to Clear().Brian Paul
2006-10-18Want to stop passing x/y/width/height to Clear() function.Brian Paul
The coordinates need to be computed after we've got the hw lock. Code updated to: 1. Ignore all/x/y/width/height/ params passed to Clear func. 2. Pass 0,0,0,0,0 to _swrast_Clear() until they're totally removed.
2006-10-18Don't pass x/y/width/height to ctx->Driver.Accum().Brian Paul
Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear().
2006-10-18glDrawPixels, line clipping bug fixesBrian Paul
2006-10-18Fix broken line clipping.Brian Paul
When both ends of the line were clipped, we were using the new v0 instead of the original v0 when computing the location of the second vertex. Thus, the second vertex's position was incorrect. Thanks to Heath Feather for finding a test case.