summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-06-02driCheckDriDdxDrmVersion uses a function that is not available toIan Romanick
drivers when DRI_NEW_INTERFACE_ONLY is defined. #ifndef it away in that situation. Add a new function, driCheckDriDdxDrmVersion2, that is passed in the version information that is already supplied to __driCreateNewScreen. Part of the reason that information is supplied to __driCreateNewScreen is so that the driver doesn't have to make those calls to get it! Modify all drivers that support the new interface to use the new function instead of the old. As soon as all drivers support the new interface, driCheckDriDdxDrmVersion can be removed.
2004-06-02Removed need for sarea.h, various touch ups to get rid of type mismatches.Jon Smirl
2004-06-02Require libGL API version 20040602, which actually exportsIan Romanick
__glXGetDrawableInfo. Make sure driCreateNewDrawable sets pdraw->private to NULL for all failure paths.
2004-06-02Make sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY isIan Romanick
defined.
2004-06-02add support for more than 2 texture units (max 6, default 4). use hang ↵Roland Scheidegger
workarounds only for r200, not derivatives.
2004-06-02change GL_ARB_texture_env_crossbar implementation behaviour to OGL 1.4 core ↵Roland Scheidegger
specification instead of extension specification (undefined behaviour instead of disabled blending if not enabled texture units are referenced). Fix minor signedness bug.
2004-06-02Replace Bool with GLboolean.Ian Romanick
2004-06-02Minor changes to make it work better outside X. "Success" is replacedIan Romanick
by explicit 0. Several functions that are not needed with DRI_NEW_INTERFACE_ONLY are blocked with '#ifndef DRI_NEW_INTERFACE_ONLY'. Some further work is still required to make it build without any X include files, though.
2004-06-02Replace use of XID with __DRIid.Ian Romanick
2004-06-02Re-import from DRI tree.Ian Romanick
2004-06-02DRI_NEW_INTERFACE_ONLY is now the only support way to build in theIan Romanick
Mesa tree. If you need a driver that supports the old libGL/DRI inteface, it must be built in the DRI tree.
2004-06-02XF86DRIDestroyContext, XF86DRICreateDrawable, andIan Romanick
XF86DRIDestroyDrawable are all called directly from DRI drivers using the new interface. Therefore, prototypes, using available datatypes, must be available in dri_interface.h. Since the prototypes are available there, xf86dri.h is no longer needed for DRI_NEW_INTERFACE_ONLY builds.
2004-06-02fix stencil index bug (#964704)Brian Paul
2004-06-02Replace drmHandle, drmContext, drmDrawable, drmMagic and related types withIan Romanick
drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
2004-06-02Check for NULL texture object when choosing texture sampler. Fixes segfault ↵Brian Paul
when fragment program references an incomplete texture
2004-06-01Fix dumb mistake from a previous commit. __driCreateScreen is nowIan Romanick
properly block with '#ifndef DRI_NEW_INTERFACE_ONLY'.
2004-06-01add support for GL_ARB_texture_env_crossbarRoland Scheidegger
2004-06-01Convert 'Display *' to '__DRInativeDisplay *'. Only portions of theIan Romanick
interface that are not *strictly* part of the old interface were changed. Replace GetDrawableInfo type (dri_util.h) with PFNGLXGETDRAWABLEINFOPROC (dri_interface.h). Wrap __driCreateScreen (in drivers that use the new interface) with '#ifndef DRI_NEW_INTERFACE_ONLY'.
2004-06-01Fix a couple issues related to GetDrawableInfo. In the new DRIIan Romanick
interface, it must be available from libGL, and the the typedef in dri_util.h was wrong.
2004-06-01Replace occurances of GLXDrawable and Drawable with __DRIid.Ian Romanick
2004-06-01Replace all occurances of XF86DRIClipRect (and related typedefs) withIan Romanick
drm_clip_rect_t.
2004-06-01Fix a couple typos that prevent building with DRI_NEW_INTERFACE_ONLY.Ian Romanick
2004-06-01Remove unnecessary #include "mach64_common.h" which breaks the build for me.Eric Anholt
2004-06-01Missed in last commit:Eric Anholt
Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".
2004-06-01Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKEEric Anholt
variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".
2004-05-31Use MKDEP make variables instead of hard-coding.Eric Anholt
2004-05-31reworked FXT1Daniel Borca
minor fixes to fxMesa
2004-05-31fixup mach64 for newer build/typesDave Airlie
2004-05-29check for null pointer in Fake_glXCreateGLXPbufferSGIGIX() (bug 961376)Brian Paul
2004-05-28use new interface for tdfx (phase 2)Adam Jackson
2004-05-28Fix type conflict.Adam Jackson
2004-05-28update so it compiles again (untested driver path!). Basically ported ↵Roland Scheidegger
changes from r200_maos_arrays.c cvs rev. 1.3-1.5.
2004-05-28remove never finished verts path (r200_maos_vbtmp.h, r200_maos_verts.c) and ↵Roland Scheidegger
unused R200_OLD_PACKET macro
2004-05-27Define PFNGLXGETMSCRATEOMLPROC so that DRI will build without includingIan Romanick
glxext.h.
2004-05-27Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.Ian Romanick
2004-05-27change some explicit references to texture units 0/1 to unit < ↵Roland Scheidegger
MaxTextureUnits (Andreas Stenglein, Ronny Vindenes)
2004-05-27Build the fogcoord demo.Ian Romanick
2004-05-27Modify glprocs.h to have two tables instead of one. The first tableIan Romanick
is just a huge string will all the function names in it. The second table contains offsets into the first table instead of pointers to strings.
2004-05-27Convert all calls using _glapi_Dispatch to use the new GL_CALL macro.Ian Romanick
2004-05-26Minor code simplification.Ian Romanick
2004-05-26Test the overhead of just calling a GL function. The Python script isIan Romanick
a helper to do multiple runs and compare the results.
2004-05-25only use simple_z_textured_triangle if depthBits <= 16Brian Paul
2004-05-25Added a couple fog coordinate related register defines.Ian Romanick
2004-05-25Modify the generate assembly code to not use global registers %g2,Ian Romanick
%g3, %g6, or %g7. This should eliminate the warnings about global registers used without a ".register" directive.
2004-05-25oopsDaniel Borca
2004-05-25FXT1 texture compression (initial draft)Daniel Borca
2004-05-24Fixed a bug that caused every dispatch function to call glNewList.Ian Romanick
2004-05-24WAIT_IDLE_EMPTY in savageSwapBuffers until real frame throttling is possible.Felix Kuehling
2004-05-24Clean up some warnings by making sis_fatal_error a macro, and let it take anEric Anholt
argument of a message to print. Make some assert(0)s use sis_fatal_error.
2004-05-24Add missing sisInitDriverFuncs call. Fixes segfault.Eric Anholt