summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-07-13Wrap RESTORE_FPU/RND_NEG_FPU declarations with check for USE_SSE_ASM.Keith Whitwell
2005-07-11Cache texenv programs to avoid repeated compilation (Ben Skeggs)Keith Whitwell
2005-07-10Add runtime compiled x87 implementations for most of the remainingKeith Whitwell
opcodes. When enabled via environment vars, gears runs and almost looks right but other apps are still quite buggy.
2005-07-10Add lots of x87 fpu instructions.Keith Whitwell
2005-07-06Re-enable r200InitSpanFuncs, which was ifdefed out (probably by mistake?),Roland Scheidegger
so r200SetBuffer, r200SpanRenderStart and r200SpanRenderFinish get called again. Bugzilla #3705, #3706.
2005-07-05The old MESA_PBUFFER_ALLOC() function allocated memory on 512-byte boundaries.Brian Paul
Restore that behavior with new _mesa_alloc_texmemory() function. Should fix via_sse_memcpy() problem in found with flightgear.
2005-07-02Add support for assembly (static) dispatch functions on x86-64. ThisIan Romanick
is basically patch #2939 from X.org bugzilla #3379. This does *not* fix the bug as it does not dynamically generate stubs at run-time. It just gets things one step closer.
2005-07-02Expose the fact that we do not do either selection of feedback buffers - ↵Vladimir Dergachev
either with software or hardware rendering.
2005-07-01Adding RV350_NJ ID.Jerome Glisse
2005-07-01Adapt extension string to new GL dispatch schema proposedJerome Glisse
by Idr. This patch is based on Idr patch to radeon driver. Change #if 1 to #if 0 (r300_context.c:l69) for old dispatch tab.
2005-07-01Don't #define __FUNCTION__ on a Microsoft C compiler new enough to have it.Karl Schultz
2005-07-01Set fp->Opcode for OP_TEX_KILL case, fix from Ben Skeggs.Keith Whitwell
2005-07-01Use frexp on Windows; frexpf is not available.Karl Schultz
2005-07-01Fix a prototypeKarl Schultz
2005-07-01convert sis and radeon driver to use spantmp2 instead of spantmp template. ↵Roland Scheidegger
Remove old (pre-renderbuffer) span code instead of converting that too. Remove this old code from mach64 (the dead code was not fully converted to spantmp2 previously) too.
2005-07-01comment-out some unused code to silence warningsBrian Paul
2005-07-01replace some free() calls with _mesa_free()Brian Paul
2005-07-01fix dependenciesBrian Paul
2005-07-01fix typo in assertionsBrian Paul
2005-07-01Move the PYTHON2 and PYTHON_FLAGS assignments to configs/current, andBrian Paul
include $(TOP)/configs/current in glapi/Makefile so those vars can be easily overridden by any system config, if needed.
2005-07-01Remove NEW_RENDERBUFFER stuff.Brian Paul
Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
2005-07-01remove OLD_RENDERBUFFER codeBrian Paul
2005-07-01remove OLD_RENDERBUFFER stuffBrian Paul
2005-07-01remove common macros used in the span functions of most drivers from the ↵Roland Scheidegger
individual drivers and put them in common code. It is still possible for a driver to define its own macros if it has special needs. This affects CLIPPIXEL, CLIPSPAN, HW_CLIPLOOP, HW_ENDCLIPLOOP, and for drivers using the spantmp2 template also GET_SRC_PTR and GET_DST_PTR.
2005-06-30Replace add_newer_entrypoints (src/mesa/main/context.c) withIan Romanick
device-specific code. A new Python script (src/mesa/glapi/extension_helper.py) generates a list of all entry-points for all known extensions. Each driver the selects only the extensions that it needs and enables the via either driInitExtensions or driInitSingleExtension. This code has been compile-tested on a drivers, but has only been run-tested on mga and i915 (on i830 hardware). These changes were discussed at length on the mesa3d-dev mailing list. http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2
2005-06-30remove \n from warning message stringBrian Paul
2005-06-30added newline at end of fileBrian Paul
2005-06-30Add a set of predicate functions for testing matrices instead of directlyBrian Paul
testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private.
2005-06-30Redo all the GL_LINEAR interpolation code in terms of LERP macros/functions.Brian Paul
This cleans up and simplifies the arithmetic quite a bit.
2005-06-30Fix crashes with pixel readback when using the optimized assembly functions.Roland Scheidegger
Pixel count can be negative (this could be fixed elsewhere), so adapt the functions to work with such inputs correctly (same behaviour as non-optimized functions). Bugzilla #2317 Submitted by idr
2005-06-30-"fix" page flippingAapo Tahkola
-use depth tiling if tiling is enabled
2005-06-28just code clean-ups and new commentsBrian Paul
2005-06-27Uncomment a couple of helper functions.Vladimir Dergachev
Fix slipup from CVS update that was commented out and did not show up during compilation.
2005-06-27Rename unchecked state to match DRM driver.Vladimir Dergachev
Emit wait idle and pacify r300 before emitting state - this seems to improve stability.
2005-06-27include t_vp_build.hBrian Paul
2005-06-27remove unused MEMSET16 macroBrian Paul
2005-06-27Get rid of the MESA_PBUFFER_ALLOC/FREE() macros.Brian Paul
If that stuff is still needed, lots of other updates are needed anyway. Also, some misc MALLOC/FREE -> _mesa_malloc/free() changes.
2005-06-27added _tnl_ProgramCacheDestroy() prototypeBrian Paul
2005-06-27make create_new_program() staticBrian Paul
2005-06-26Fix crashes during rasterization fallback by avoiding _tnl_need_projected_coordsEric Anholt
during fallbacks. In one case, _swsetup_Wakeup had just been called, covering the need there, and in the other case, we can simply exit the entire radeonChooseVertexState function, knowing that it will be called again once we leave the fallback. Bugzilla #: 2516 Submitted by: sroland
2005-06-26Remove the #if 0-ed out old span code.Eric Anholt
2005-06-26Explain the reason for TCL fallback when GL_SPHERE_MAP happens withEric Anholt
RADEON_DEBUG=fall.
2005-06-26Zero out the ENGPACKET allocated on the stack, to avoid sending uninitializedEric Anholt
values to reserved fields on the card, resulting in all-black output and sometimes hangs. Submitted by: Thomas Winischhofer
2005-06-26fix for-loop in _mesa_GetDouble to avoid out of bounds memory readBrian Paul
2005-06-26check for null oldBuffer in _mesa_realloc(), cleaned up some commentsBrian Paul
2005-06-26need parenthesis in realloc callBrian Paul
2005-06-24Ignore files generated as part of the build process.Ian Romanick
2005-06-24Fix non-x86 specific builds. The changes from glTexImage3DEXT toIan Romanick
glTexImage3D that caused me so many problems during the re-development of the API scripts reared its ugly head again. This has been fixed by tracking the parameter string for each entry-point individually. This has the annoying side-effect that the names of the parameters in all aliases of a function must be the same or gl_apitemp.py will generate bad code. :( The changes in src/mesa/glapi/{gl_API.xml,glapitable.h} and src/glx/x11/* are caused by fixing the parameter names in various function aliases that didn't match. Reported by: Eric Anholt, Jacob Jansen
2005-06-24Fixed the XCB implementation when always_array is true, thanks to Ian ↵Jeremy Kolb
Romanick for pointing it out. Please review.
2005-06-23Remove the xmesa_set_buffer() function. No longer needed since theBrian Paul
span functions pass in a gl_renderbuffer to indicate which color buffer should be drawn into. Optimized line/triangle routines are smart enough to know which buffer to draw into as well. The swrast->SetBuffer() routine should eventually be removed from all drivers.