mesa.git
20 years agoDon't include glapi_*.S files in DRI / solo builds.
Ian Romanick [Tue, 22 Jun 2004 21:32:59 +0000 (21:32 +0000)]
Don't include glapi_*.S files in DRI / solo builds.

20 years agoAlexander Gottwald's patch for cygwin
Brian Paul [Tue, 22 Jun 2004 17:16:02 +0000 (17:16 +0000)]
Alexander Gottwald's patch for cygwin

20 years agocheck for NULL pointer to glTexImage (fix verified by Adam Jackson)
Brian Paul [Tue, 22 Jun 2004 17:06:30 +0000 (17:06 +0000)]
check for NULL pointer to glTexImage (fix verified by Adam Jackson)

20 years agoadded support for non-64bit compilers
Daniel Borca [Mon, 21 Jun 2004 10:41:01 +0000 (10:41 +0000)]
added support for non-64bit compilers

20 years agocall ctx->Driver.NewProgram() instead of CALLOC/etc in _mesa_LoadProgramNV. Fixes...
Brian Paul [Sun, 20 Jun 2004 20:57:22 +0000 (20:57 +0000)]
call ctx->Driver.NewProgram() instead of CALLOC/etc in _mesa_LoadProgramNV.  Fixes problems found with Cg demos.

20 years agoremove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram...
Brian Paul [Sun, 20 Jun 2004 20:55:36 +0000 (20:55 +0000)]
remove redundant program field initializers in BindProgram(); ctx->Driver.NewProgram() does the inits

20 years agolatest bug fixes, etc.
Brian Paul [Sun, 20 Jun 2004 19:17:39 +0000 (19:17 +0000)]
latest bug fixes, etc.

20 years agostore's to RC/HC didn't work (bug 976287)
Brian Paul [Sun, 20 Jun 2004 19:16:55 +0000 (19:16 +0000)]
store's to RC/HC didn't work (bug 976287)

20 years agoBig-endian texture fixes from Michel Dänzer.
Brian Paul [Sat, 19 Jun 2004 17:44:23 +0000 (17:44 +0000)]
Big-endian texture fixes from Michel Dänzer.

20 years agoRemove ADD_POINTERS code from import() function - it broke UT2004.
Brian Paul [Sat, 19 Jun 2004 15:38:31 +0000 (15:38 +0000)]
Remove ADD_POINTERS code from import() function - it broke UT2004.
Code clean-ups, reformatting, const-correctness, etc.

20 years agoHack for linear fogging. Added empty routines for WGL_ARB_pixel_format WGL_ARB_render...
Daniel Borca [Sat, 19 Jun 2004 11:07:58 +0000 (11:07 +0000)]
Hack for linear fogging. Added empty routines for WGL_ARB_pixel_format WGL_ARB_render_texture WGL_ARB_pbuffer

20 years agoUse correct macros for packing pixel colors -- this bug is probably
Keith Whitwell [Fri, 18 Jun 2004 10:58:30 +0000 (10:58 +0000)]
Use correct macros for packing pixel colors -- this bug is probably
present in many of the other drivers as well.

20 years agoadd missing license texts
Keith Whitwell [Fri, 18 Jun 2004 10:54:48 +0000 (10:54 +0000)]
add missing license texts

20 years agouse I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats...
Roland Scheidegger [Thu, 17 Jun 2004 21:19:21 +0000 (21:19 +0000)]
use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats. Fix various small bugs with tex env combine mode GL_DOT3_RGB(A)/GL_DOT3_RGB(A)_EXT

20 years agouse I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats...
Roland Scheidegger [Thu, 17 Jun 2004 21:08:02 +0000 (21:08 +0000)]
use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture formats. Fix potential bug with tex env combine mode GL_DOT3_RGB/GL_DOT3_RGB_EXT and ALPHA_SCALE

20 years agofix tex env mode GL_BLEND for GL_INTENSITY texture formats
Roland Scheidegger [Thu, 17 Jun 2004 20:54:46 +0000 (20:54 +0000)]
fix tex env mode GL_BLEND for GL_INTENSITY texture formats

20 years agoMake the test check for core GL version 1.3 in addition to testing for
Ian Romanick [Thu, 17 Jun 2004 20:53:07 +0000 (20:53 +0000)]
Make the test check for core GL version 1.3 in addition to testing for
GL_ARB_texture_compression.  Also make the test list the compression formats
the driver "encourages" the app to use.

20 years agoFix up texture compression mipmapping .. not sure if it fixes FXT1 but
Dave Airlie [Thu, 17 Jun 2004 13:42:45 +0000 (13:42 +0000)]
Fix up texture compression mipmapping .. not sure if it fixes FXT1 but
with S3TC patch it fixes those

20 years agofix component indexing bug in _mesa_texstore_al88()
Brian Paul [Wed, 16 Jun 2004 16:49:59 +0000 (16:49 +0000)]
fix component indexing bug in _mesa_texstore_al88()

20 years agodon't use // comments (Thomas Hellstrom)
Brian Paul [Wed, 16 Jun 2004 15:33:33 +0000 (15:33 +0000)]
don't use // comments (Thomas Hellstrom)

20 years agoremove unused mode function
Dave Airlie [Wed, 16 Jun 2004 12:38:47 +0000 (12:38 +0000)]
remove unused mode function

20 years agoswitch to using driFillInModes fix depthbuffer = 0
Dave Airlie [Wed, 16 Jun 2004 12:31:23 +0000 (12:31 +0000)]
switch to using driFillInModes fix depthbuffer = 0

20 years agoFix batch.ptr when dropping a batchbuffer segment due to zero cliprects.
Keith Whitwell [Wed, 16 Jun 2004 12:03:53 +0000 (12:03 +0000)]
Fix batch.ptr when dropping a batchbuffer segment due to zero cliprects.

20 years agoFix a couple typeos in the tables for driFillInModes.
Ian Romanick [Tue, 15 Jun 2004 16:22:45 +0000 (16:22 +0000)]
Fix a couple typeos in the tables for driFillInModes.

20 years agoadded more compressed formats to is_color_format()
Roland Scheidegger [Tue, 15 Jun 2004 14:11:09 +0000 (14:11 +0000)]
added more compressed formats to is_color_format()

20 years agofix correct parameters passed to StoreImage
Daniel Borca [Tue, 15 Jun 2004 09:06:53 +0000 (09:06 +0000)]
fix correct parameters passed to StoreImage

20 years ago_really_ fix parameters to StoreImage calls.
Adam Jackson [Mon, 14 Jun 2004 23:38:00 +0000 (23:38 +0000)]
_really_ fix parameters to StoreImage calls.

20 years agoadded compressed formats to is_color_format() and updated some comments
Brian Paul [Mon, 14 Jun 2004 21:01:08 +0000 (21:01 +0000)]
added compressed formats to is_color_format() and updated some comments

20 years agoFixed a bug in vertex emitter (untile we move to t_vertex.c)
Daniel Borca [Mon, 14 Jun 2004 09:11:13 +0000 (09:11 +0000)]
Fixed a bug in vertex emitter (untile we move to t_vertex.c)

20 years agoadd i915 as it seems to build okay..
Dave Airlie [Sat, 12 Jun 2004 02:36:42 +0000 (02:36 +0000)]
add i915 as it seems to build okay..

20 years agojust a comment
Brian Paul [Fri, 11 Jun 2004 22:47:47 +0000 (22:47 +0000)]
just a comment

20 years agodisable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the...
Brian Paul [Fri, 11 Jun 2004 22:47:22 +0000 (22:47 +0000)]
disable GL_INTENTSITY in _mesa_is_legal_format_and_type().  See table 3.6 of the 1.5 spec

20 years agos/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/
Brian Paul [Fri, 11 Jun 2004 22:44:55 +0000 (22:44 +0000)]
s/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/

20 years agoremove the 3dfx CatchSignals stuff (the var was alwasy set)
Brian Paul [Fri, 11 Jun 2004 22:44:22 +0000 (22:44 +0000)]
remove the 3dfx CatchSignals stuff (the var was alwasy set)

20 years agoadded GL_BGR and GL_BGRA to is_color_format() (Ronny Vindenes
Brian Paul [Fri, 11 Jun 2004 19:08:55 +0000 (19:08 +0000)]
added GL_BGR and GL_BGRA to is_color_format() (Ronny Vindenes

20 years agofix some minor glitches in glGetTexParameter code
Brian Paul [Fri, 11 Jun 2004 17:18:26 +0000 (17:18 +0000)]
fix some minor glitches in glGetTexParameter code

20 years agore-enable rect texture
Alan Hourihane [Fri, 11 Jun 2004 15:36:42 +0000 (15:36 +0000)]
re-enable rect texture

20 years agofix minor typo in comment
Brian Paul [Fri, 11 Jun 2004 15:23:04 +0000 (15:23 +0000)]
fix minor typo in comment

20 years agodon't pass GL_INTENSITY for <format> to glTexImage2D - it's illegal
Brian Paul [Fri, 11 Jun 2004 15:07:23 +0000 (15:07 +0000)]
don't pass GL_INTENSITY for <format> to glTexImage2D - it's illegal

20 years agodocument recent changes/fixes
Brian Paul [Thu, 10 Jun 2004 20:48:46 +0000 (20:48 +0000)]
document recent changes/fixes

20 years agoAdditional error checking for glTexImageXD.
Brian Paul [Thu, 10 Jun 2004 20:46:23 +0000 (20:46 +0000)]
Additional error checking for glTexImageXD.
Only allow 1D and 2D GL_DEPTH_COMPONENT textures.
Make sure internal format and user format are in same catagory.

20 years agoRoland's patch to fix promotion of alpha or luminance textures to the
Brian Paul [Thu, 10 Jun 2004 17:26:05 +0000 (17:26 +0000)]
Roland's patch to fix promotion of alpha or luminance textures to the
luminance_alpha format.  In particular, using the al88 format to store
GL_ALPHA textures with r200 driver.

20 years agoNew driver for i915 as well as older i830/i845/i865 chipsets.
Keith Whitwell [Thu, 10 Jun 2004 12:48:07 +0000 (12:48 +0000)]
New driver for i915 as well as older i830/i845/i865 chipsets.

20 years agotry and find the drm in a more likely place
Dave Airlie [Thu, 10 Jun 2004 10:01:14 +0000 (10:01 +0000)]
try and find the drm in a more likely place

20 years agoAdd FXT1 compression support to i830 driver
Dave Airlie [Thu, 10 Jun 2004 09:54:45 +0000 (09:54 +0000)]
Add FXT1 compression support to i830 driver

20 years agoFix an "overflow in implicit constant conversion" warning in mEndPrimitive when
Eric Anholt [Thu, 10 Jun 2004 09:13:31 +0000 (09:13 +0000)]
Fix an "overflow in implicit constant conversion" warning in mEndPrimitive when
more warning flags are enabled (such as in the DRI tree).  Make the second line
prettier, too.

Reported by: ajax

20 years agosilence a warning
Adam Jackson [Thu, 10 Jun 2004 08:52:37 +0000 (08:52 +0000)]
silence a warning

20 years agoremove unused stuff, fix non-native build
Dave Airlie [Wed, 9 Jun 2004 05:10:29 +0000 (05:10 +0000)]
remove unused stuff, fix non-native build

20 years agofix mach64 non native.. no reason to use it...
Dave Airlie [Wed, 9 Jun 2004 05:04:46 +0000 (05:04 +0000)]
fix mach64 non native.. no reason to use it...

20 years agoFix reflect demo: We were using the 3D Clear path unnecessarily, which appears
Eric Anholt [Wed, 9 Jun 2004 04:59:30 +0000 (04:59 +0000)]
Fix reflect demo: We were using the 3D Clear path unnecessarily, which appears
to be broken in the stencil case for unknown reasons.

20 years ago* sisChooseRenderState doesn't depend on _NEW_TEXTURE at all.
Eric Anholt [Wed, 9 Jun 2004 04:58:03 +0000 (04:58 +0000)]
* sisChooseRenderState doesn't depend on _NEW_TEXTURE at all.
* Clean up definition of _SIS_NEW_RENDER_STATE.

20 years agomake rm for common not complain
Dave Airlie [Wed, 9 Jun 2004 02:44:14 +0000 (02:44 +0000)]
make rm for common not complain

20 years agoremove depend on clean
Dave Airlie [Wed, 9 Jun 2004 02:43:26 +0000 (02:43 +0000)]
remove depend on clean

20 years agofix bug with emitting spec/fog report by Eric Anholt, this isn't the prettiest
Dave Airlie [Wed, 9 Jun 2004 02:29:22 +0000 (02:29 +0000)]
fix bug with emitting spec/fog report by Eric Anholt, this isn't the prettiest
fix but it does work

20 years agofix parse error in sign of exponents (bug 968323)
Brian Paul [Tue, 8 Jun 2004 15:20:23 +0000 (15:20 +0000)]
fix parse error in sign of exponents (bug 968323)

20 years agoFix rectangular textures on i830 - well texrect at least
Dave Airlie [Tue, 8 Jun 2004 10:21:59 +0000 (10:21 +0000)]
Fix rectangular textures on i830 - well texrect at least

20 years ago* Convert to use t_vertex.c instead of sis_vb.[ch]
Eric Anholt [Tue, 8 Jun 2004 09:19:17 +0000 (09:19 +0000)]
* Convert to use t_vertex.c instead of sis_vb.[ch]
* Don't dispatch vertices directly to MMIO; queue them up in dma-like buffers
  first.  This makes things more uniform between AGP and MMIO paths, cleans up
  some locking ugliness, and makes the driver look more like other drivers.
* Don't use the AGP Cmd buffer provided by the server.  Instead allocate one in
  the client, which avoids the need for lots of synchronization stuff.
* Mark some MMIO accesses volatile that should have been.
* Disable the AGP submission path by default (agp_disable=true) due to
  unresolved issues in the new code.  The old code had its own (serious) errors
  with AGP, so this is not really a step backwards.

20 years agocorrected a bug wrt point_size
Daniel Borca [Tue, 8 Jun 2004 06:08:56 +0000 (06:08 +0000)]
corrected a bug wrt point_size

20 years agoClean a little whitespace that's been bothering me.
Eric Anholt [Tue, 8 Jun 2004 04:38:33 +0000 (04:38 +0000)]
Clean a little whitespace that's been bothering me.

20 years agoFix up some remaining include issues. Replace Xmalloc / Xfree with
Ian Romanick [Mon, 7 Jun 2004 21:23:12 +0000 (21:23 +0000)]
Fix up some remaining include issues.  Replace Xmalloc / Xfree with
_mesa_malloc / _mesa_free.  Replace Bool with GLboolean.

20 years agoThe required DDX and DRI version numbers were switched. This went unnoticed
Ian Romanick [Mon, 7 Jun 2004 20:18:43 +0000 (20:18 +0000)]
The required DDX and DRI version numbers were switched.  This went unnoticed
on several drivers (i.e., R200, Radeon, R128, Unichrome) becuase the
required DRI and DDX versions were 4.0.0.  Mach64 was already fixed.

20 years agoAdd NEW_INTERFACE bits.
Eric Anholt [Mon, 7 Jun 2004 19:13:18 +0000 (19:13 +0000)]
Add NEW_INTERFACE bits.

20 years agofix all those warnings
Dave Airlie [Mon, 7 Jun 2004 13:26:05 +0000 (13:26 +0000)]
fix all those warnings

20 years agouse the mesa defines
Dave Airlie [Mon, 7 Jun 2004 12:51:05 +0000 (12:51 +0000)]
use the mesa defines

20 years agooops fix a bug I introduced
Dave Airlie [Mon, 7 Jun 2004 12:35:38 +0000 (12:35 +0000)]
oops fix a bug I introduced

20 years agofix the versions
Dave Airlie [Mon, 7 Jun 2004 11:58:59 +0000 (11:58 +0000)]
fix the versions

20 years agosmall corrections
Daniel Borca [Mon, 7 Jun 2004 06:03:08 +0000 (06:03 +0000)]
small corrections

20 years agomake endian code work on BSD
Dave Airlie [Mon, 7 Jun 2004 00:29:40 +0000 (00:29 +0000)]
make endian code work on BSD

20 years agoRemove use of X windows include
Dave Airlie [Sun, 6 Jun 2004 23:32:12 +0000 (23:32 +0000)]
Remove use of X windows include

20 years agoRemove the rest of the need for glxclient.h and remove it from the tree.
Ian Romanick [Sun, 6 Jun 2004 02:20:20 +0000 (02:20 +0000)]
Remove the rest of the need for glxclient.h and remove it from the tree.

20 years agoRemove drivers that have not been converted to the new interface from
Ian Romanick [Sun, 6 Jun 2004 02:19:24 +0000 (02:19 +0000)]
Remove drivers that have not been converted to the new interface from
the DRI builds.

20 years agoBool may not be available when DRI_NEW_INTERFACE_ONLY is defined.
Ian Romanick [Sun, 6 Jun 2004 01:36:30 +0000 (01:36 +0000)]
Bool may not be available when DRI_NEW_INTERFACE_ONLY is defined.

20 years agoEnable use of new DRI interface in Unichrome driver.
Ian Romanick [Sat, 5 Jun 2004 00:48:48 +0000 (00:48 +0000)]
Enable use of new DRI interface in Unichrome driver.

20 years agoStart to "modernize" the driver.
Ian Romanick [Fri, 4 Jun 2004 22:43:52 +0000 (22:43 +0000)]
Start to "modernize" the driver.

20 years agoReplace 'Display *' with '__DRInativeDisplay *'.
Ian Romanick [Fri, 4 Jun 2004 17:31:46 +0000 (17:31 +0000)]
Replace 'Display *' with '__DRInativeDisplay *'.

20 years agoEnable GL_EXT_blend_subtract and GL_NV_blend_square.
Ian Romanick [Fri, 4 Jun 2004 00:46:23 +0000 (00:46 +0000)]
Enable GL_EXT_blend_subtract and GL_NV_blend_square.
GL_EXT_blend_subtract was already enabled via GL_ARB_imaging, but now
one of the added modes is supported in hardware.  GL_NV_blend_square
was tested with progs/tests/blendsquare on an Rage128 Pro with PCI ID
1002:5046.  I know there are some differences with some versions of
the chip.

20 years agoRedo of removing __driRegisterExtensions(). I accidentally undid the previous check in.
Jon Smirl [Thu, 3 Jun 2004 23:30:33 +0000 (23:30 +0000)]
Redo of removing __driRegisterExtensions(). I accidentally undid the previous check in.

20 years agoEnable use of new DRI interface in Rage128 driver.
Ian Romanick [Thu, 3 Jun 2004 23:16:58 +0000 (23:16 +0000)]
Enable use of new DRI interface in Rage128 driver.

20 years agofix minor signedness issue in assertion
Roland Scheidegger [Thu, 3 Jun 2004 20:53:27 +0000 (20:53 +0000)]
fix minor signedness issue in assertion

20 years agoRemove fill_in_modes and use driFillInModes instead.
Ian Romanick [Thu, 3 Jun 2004 19:08:36 +0000 (19:08 +0000)]
Remove fill_in_modes and use driFillInModes instead.

20 years agoAdd a new function, driFillInModes, that is to be used by drivers to
Ian Romanick [Thu, 3 Jun 2004 18:57:18 +0000 (18:57 +0000)]
Add a new function, driFillInModes, that is to be used by drivers to
create the set of support __GLcontextModes.  This should replace the
current driver-specific fill_in_modes functions.

20 years agoFix problems when sizeof(Node) != sizeof(float)
Keith Whitwell [Thu, 3 Jun 2004 13:52:10 +0000 (13:52 +0000)]
Fix problems when sizeof(Node) != sizeof(float)

20 years agomasked out unsupported glBlendColor (some games check only the proc addr)
Daniel Borca [Thu, 3 Jun 2004 07:14:27 +0000 (07:14 +0000)]
masked out unsupported glBlendColor (some games check only the proc addr)

20 years agoOpen/Close FullScreen die. unichrome and savage implemented, code is ifdef'd out
Jon Smirl [Thu, 3 Jun 2004 02:34:31 +0000 (02:34 +0000)]
Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd out

20 years agokill __driRegisterExtensions(), none of the functions did anything
Jon Smirl [Thu, 3 Jun 2004 01:56:07 +0000 (01:56 +0000)]
kill __driRegisterExtensions(), none of the functions did anything

20 years agodriCheckDriDdxDrmVersion uses a function that is not available to
Ian Romanick [Wed, 2 Jun 2004 22:48:03 +0000 (22:48 +0000)]
driCheckDriDdxDrmVersion uses a function that is not available to
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.

20 years agoRemoved need for sarea.h, various touch ups to get rid of type mismatches.
Jon Smirl [Wed, 2 Jun 2004 22:45:00 +0000 (22:45 +0000)]
Removed need for sarea.h, various touch ups to get rid of type mismatches.

20 years agoRequire libGL API version 20040602, which actually exports
Ian Romanick [Wed, 2 Jun 2004 22:24:00 +0000 (22:24 +0000)]
Require libGL API version 20040602, which actually exports
__glXGetDrawableInfo.  Make sure driCreateNewDrawable sets
pdraw->private to NULL for all failure paths.

20 years agoMake sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY is
Ian Romanick [Wed, 2 Jun 2004 22:12:24 +0000 (22:12 +0000)]
Make sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY is
defined.

20 years agoadd support for more than 2 texture units (max 6, default 4). use hang workarounds...
Roland Scheidegger [Wed, 2 Jun 2004 22:09:11 +0000 (22:09 +0000)]
add support for more than 2 texture units (max 6, default 4). use hang workarounds only for r200, not derivatives.

20 years agochange GL_ARB_texture_env_crossbar implementation behaviour to OGL 1.4 core specifica...
Roland Scheidegger [Wed, 2 Jun 2004 21:40:03 +0000 (21:40 +0000)]
change GL_ARB_texture_env_crossbar implementation behaviour to OGL 1.4 core specification instead of extension specification (undefined behaviour instead of disabled blending if not enabled texture units are referenced). Fix minor signedness bug.

20 years agoReplace Bool with GLboolean.
Ian Romanick [Wed, 2 Jun 2004 20:46:03 +0000 (20:46 +0000)]
Replace Bool with GLboolean.

20 years agoMinor changes to make it work better outside X. "Success" is replaced
Ian Romanick [Wed, 2 Jun 2004 20:45:19 +0000 (20:45 +0000)]
Minor changes to make it work better outside X.  "Success" is replaced
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.

20 years agoReplace use of XID with __DRIid.
Ian Romanick [Wed, 2 Jun 2004 20:41:16 +0000 (20:41 +0000)]
Replace use of XID with __DRIid.

20 years agoRe-import from DRI tree.
Ian Romanick [Wed, 2 Jun 2004 17:48:43 +0000 (17:48 +0000)]
Re-import from DRI tree.

20 years agoDRI_NEW_INTERFACE_ONLY is now the only support way to build in the
Ian Romanick [Wed, 2 Jun 2004 17:48:16 +0000 (17:48 +0000)]
DRI_NEW_INTERFACE_ONLY is now the only support way to build in the
Mesa tree.  If you need a driver that supports the old libGL/DRI
inteface, it must be built in the DRI tree.

20 years agoXF86DRIDestroyContext, XF86DRICreateDrawable, and
Ian Romanick [Wed, 2 Jun 2004 17:37:09 +0000 (17:37 +0000)]
XF86DRIDestroyContext, XF86DRICreateDrawable, and
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.

20 years agofix stencil index bug (#964704)
Brian Paul [Wed, 2 Jun 2004 15:51:31 +0000 (15:51 +0000)]
fix stencil index bug (#964704)

20 years agoReplace drmHandle, drmContext, drmDrawable, drmMagic and related types with
Ian Romanick [Wed, 2 Jun 2004 05:07:10 +0000 (05:07 +0000)]
Replace drmHandle, drmContext, drmDrawable, drmMagic and related types with
drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.

20 years agoCheck for NULL texture object when choosing texture sampler. Fixes segfault when...
Brian Paul [Wed, 2 Jun 2004 00:16:42 +0000 (00:16 +0000)]
Check for NULL texture object when choosing texture sampler.  Fixes segfault when fragment program references an incomplete texture