Alan Hourihane
38b317d508
uint*t -> u_int*t changes
2004-12-14 09:11:52 +00:00
Alan Hourihane
c69d60fbe4
Use union type to avoid strict aliasing problems.
2004-12-08 14:26:48 +00:00
Adam Jackson
3291de6d06
Bug #1713 : Some rare libGL's have __glXFindDRIScreen defined but do not
...
export it via glXGetProcAddress. These are not supported anymore, so print
an error message to that effect.
2004-10-27 17:50:09 +00:00
Eric Anholt
b292642de0
Fix dri_util.c build with new headers.
...
Submitted by: John Lightsey <john@nixnuts.net >
2004-08-12 21:50:03 +00:00
Ian Romanick
8e77da1cd7
First phase of TLS work. At this point SPARC assembly dispatch is
...
broken, but it will be fixed "shortly." This is pretty much the same
as the patch I sent to the dri-devel list on 22-Jun-2004.
2004-06-29 19:08:20 +00:00
Ian Romanick
7c46033130
Fix up some remaining include issues. Replace Xmalloc / Xfree with
...
_mesa_malloc / _mesa_free. Replace Bool with GLboolean.
2004-06-07 21:23:12 +00:00
Jon Smirl
ffb36d57a5
Removed need for sarea.h, various touch ups to get rid of type mismatches.
2004-06-02 22:45:00 +00:00
Ian Romanick
1960182ece
Require libGL API version 20040602, which actually exports
...
__glXGetDrawableInfo. Make sure driCreateNewDrawable sets
pdraw->private to NULL for all failure paths.
2004-06-02 22:24:00 +00:00
Ian Romanick
318aa84099
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.
2004-06-02 17:37:09 +00:00
Ian Romanick
c06b25594e
Replace drmHandle, drmContext, drmDrawable, drmMagic and related types with
...
drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
2004-06-02 05:07:10 +00:00
Ian Romanick
60b0e12830
Convert 'Display *' to '__DRInativeDisplay *'. Only portions of the
...
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-01 20:24:59 +00:00
Ian Romanick
ec032cb17b
Fix a couple issues related to GetDrawableInfo. In the new DRI
...
interface, it must be available from libGL, and the the typedef in
dri_util.h was wrong.
2004-06-01 19:20:12 +00:00
Ian Romanick
0521ab46c1
Replace occurances of GLXDrawable and Drawable with __DRIid.
2004-06-01 17:06:09 +00:00
Ian Romanick
a249ad756f
Fix a couple typos that prevent building with DRI_NEW_INTERFACE_ONLY.
2004-06-01 15:42:14 +00:00
Ian Romanick
8cdccc82d7
Define PFNGLXGETMSCRATEOMLPROC so that DRI will build without including
...
glxext.h.
2004-05-27 22:49:12 +00:00
Ian Romanick
b3981ab6e6
Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.
2004-05-27 22:31:06 +00:00