summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2007-04-20xmesa: call _glapi_set_dispatch() for all xserver DDXes.George Sapountzis
This is to unify the xmesa code across xserver DDX'es. The call is intented for XGL, but it does not hurt to call for other DDX'es. In fact it was not guarded against XGL when it was first added in xserver.
2007-04-20xmesa: minor cosmeticGeorge Sapountzis
mainly drop 'client' argument from initialize_visual_and_buffer().
2007-04-20xmesa: split FX functions to separate file, part 2.George Sapountzis
2007-04-20xmesa: split FX functions to separate file, part 1.George Sapountzis
2007-04-20xmesa: spilt FX code to separate functions.George Sapountzis
2007-04-20Revert "xmesa: drop glide (FX) backend."George Sapountzis
This reverts commit 2a2f8d806f74619f0a7cf97fdc7f7b3ad1cad81b.
2007-04-19xmesa: drop glide (FX) backend.George Sapountzis
glide is no longer compiled with stand-alone libGL, so this will not link. There are still the glide config files. some code in demos and the GLX_MESA_set_3dfx_mode code which could be removed.
2007-04-17Defer buffer pool creation to the first context creation.Thomas Hellstrom
This way we have a hw context so that we can take the hardware lock. Also, at this point, AIGLX isn't locked with the X server context as it is at screen creation.
2007-04-17r300: r300_render.c:391: warning: unused variable 'i'Oliver McFadden
2007-04-16just clean-upsBrian
2007-04-16move GL_EXT_stencil_two_side into alphabetical positionBrian
2007-04-16Fix glActiveStencilFaceEXT dispatch problem (bug 10523).Brian
OK, _all_ extensions that might get enabled by the driver need to be in the card_extensions[] list. driInitExtensions() is called at least twice: first during screen creation, then once for each context that's created. The first call sets up the dispatch table. The second call just sets the extension enable/disable flags.
2007-04-16remove _tnl_arb_vertex_program_stageBrian
2007-04-16remove _tnl_arb_vertex_program_stageBrian
2007-04-16use b->display instead of b->xm_visual->display to fix some problems ↵Brian
detected w/ valgrind
2007-04-16Make sure we are locked when creating drm buffer objects.Thomas Hellstrom
Don't place buffer objects on unfenced list when newly created. Fix a buffer object wait-for-idle deadlock.
2007-04-14set osmesa renderbuffer refcount=1 upon creation, free renderbuffer in ↵Brian
OSMesaDestroyContext()
2007-04-14r300: emit different clear paths for non-TCL, this gets the clear color correctDave Airlie
2007-04-14r300: remove unneeded semicolon from macroDave Airlie
2007-04-14r300: if we don't have TCL don't setup state emissions for vertex shadersDave Airlie
2007-04-13xmesa: drop unused XMesaPutImageHelper.George Sapountzis
It could only be called from XMesaCopySubBuffer but this function is not used by XFree86. It seems that XMesaPutImageHelper would handle sub-images but never got finished. Proper sub-image helpers should be written if need be.
2007-04-13xmesa: export xmesa functions used by xfree86.George Sapountzis
This uses xmesa.h as the GLcore interface and avoids adding an explicit GLcore inteface which would not be a proper interface anyway. It puts the declarations of the three functions specific for XMesa/XFree86 in xmesa.h, we can push them down to xmesa_xf86.h if hiding behind XFree86Server ifdef's is not enough.
2007-04-11use _mesa_reference_renderbuffer(), fix typoBrian
2007-04-10rs480: set vap cntl to what fglrx uses for non-TCL cardsDave Airlie
2007-04-10i915: Bring test for vsync to pipe B in line with i915tex.Michel Dänzer
2007-04-10r300: don't enable VAP/TCL on cards that don't support itDave Airlie
2007-04-09i915tex: Fix some mismatches between texels or bytes for pitch/stride.Michel Dänzer
2007-04-09i915tex: Make sure texture format fetch hooks are initialized.Michel Dänzer
2007-04-09the RS400 definitely doesn't work at this point so don't let it initDave Airlie
2007-04-08i915tex: Clean up resizing of renderbuffers.Michel Dänzer
2007-04-08driUpdateFramebufferSize: Use ctx->Driver.ResizeBuffers.Michel Dänzer
2007-04-06xmesa: use newly added xm_image.[hc]George Sapountzis
Keep external includes to glxheader.h and xmesa includes to xmesaP.h. Drop the following from xm_image.h: - dix-config.h (comes from glheader.h) - xfree86 includes (come from GL/xmesa_xf86.h) - ifdef __CYGWIN__ (leftover ? xm_api.c has something similar)
2007-04-06xmesa: add xf86glx_util.[hc] from xserver as xm_image.[hc]George Sapountzis
2007-04-05include points.h to fix warningsBrian
2007-04-05Remove SI imports/exports remnants.George Sapountzis
2007-04-05Move glcontextmodes.c to glx.George Sapountzis
It is no longer linked with DRI drivers, libGL passes function pointers through the DRI interface.
2007-04-04remove debug printfBrian
2007-04-04i810/i915/i915tex: reinitialize the context point stateXiang, Haihao
2007-04-01Fix some bugs/issues related to alpha channel support. See bug 10483.Brian
2007-04-01If using PF_8A8B8G8R, be sure alpha is correctly handled.Brian
2007-04-01re-order tokens, fix commentsBrian
2007-03-30Merge branch 'origin'Eric Anholt
2007-03-30Merge branch 'crestline-qa', adding support for the 965GM chipset.Eric Anholt
2007-03-30call DRI_VALIDATE_DRAWABLE_INFO(), bug 10477Gustavo Pichorim Boiko
2007-03-30Clean and update XMesa/XFree86 interface.George Sapountzis
Drop XMesaSetVisualDisplay(), XMesaReset(), no longer used. Add XMesaCopyContext() and move the GlxSetRenderTables() call for XGL within XMesaForceCurrent(). This is to make xserver/GL/mesa/X/xf86glx.c unaware of Mesa internals. Also, clean some ifdef's to make it clear that USE_XSHM and XFree86Server are mutually exclusive. Lastly, - move gcstruct.h from glxheader.h up to xmesa_xf86.h since it calls *gc->ops - drop GL/glxtokens.h from xm_api|dd.c, GLX tokens come from glcore.h and are used irrelevant of XFree86.
2007-03-28Add missing OSMesaColorClamp functionAlan Hourihane
2007-03-27i915tex compile fix (account for moved _UseTexEnvProgram var)Roland Scheidegger
2007-03-27Restore the UseTexEnvProgram logic.Brian
Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
2007-03-27r300: Fix radeonUpdatePageFlipping() function.Roland Scheidegger
Always call driFlipRenderbuffers() with pfCurrentPage value, in case it's initially 1 instead of 0. May fix some issues with pageflip, the same fix was applied to r128, radeon and r200 (6e0e6eff05727ac8833c2b2dffc51c6619427e77).
2007-03-27r128, radeon, r200: Check ctx->WinSysDrawBuffer before calling function that ↵Roland Scheidegger
dereferences it. Same fix as for r300 (which fixed https://bugs.freedesktop.org/show_bug.cgi?id=10417), since it's likely an issue with those drivers too.