Commit Graph

4586 Commits

Author SHA1 Message Date
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 fabe2b9ba3 Replace all occurances of XF86DRIClipRect (and related typedefs) with
drm_clip_rect_t.
2004-06-01 16:38:56 +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
Eric Anholt 0c0f5c2b72 Remove unnecessary #include "mach64_common.h" which breaks the build for me. 2004-06-01 02:00:25 +00:00
Eric Anholt f016e2509e Missed in last commit:
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-01 00:39:34 +00:00
Eric Anholt 2fb5d15ce3 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-01 00:06:14 +00:00
Eric Anholt c1311d80bd Use MKDEP make variables instead of hard-coding. 2004-05-31 22:34:49 +00:00
Daniel Borca e35282cc13 reworked FXT1
minor fixes to fxMesa
2004-05-31 06:24:36 +00:00
Dave Airlie 54f4f44843 fixup mach64 for newer build/types 2004-05-31 00:58:34 +00:00
Brian Paul 11b3028e7b check for null pointer in Fake_glXCreateGLXPbufferSGIGIX() (bug 961376) 2004-05-29 14:41:52 +00:00
Adam Jackson 2ac56c66d2 use new interface for tdfx (phase 2) 2004-05-28 19:27:33 +00:00
Adam Jackson cd630037a2 Fix type conflict. 2004-05-28 16:50:42 +00:00
Roland Scheidegger 1071162b36 update so it compiles again (untested driver path!). Basically ported changes from r200_maos_arrays.c cvs rev. 1.3-1.5. 2004-05-28 14:55:07 +00:00
Roland Scheidegger 957b734322 remove never finished verts path (r200_maos_vbtmp.h, r200_maos_verts.c) and unused R200_OLD_PACKET macro 2004-05-28 14:50:36 +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
Roland Scheidegger aaaf38d372 change some explicit references to texture units 0/1 to unit < MaxTextureUnits (Andreas Stenglein, Ronny Vindenes) 2004-05-27 16:56:47 +00:00
Ian Romanick d44e9e39da Build the fogcoord demo. 2004-05-27 15:21:44 +00:00
Ian Romanick 7867799c72 Modify glprocs.h to have two tables instead of one. The first table
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-27 00:05:13 +00:00
Ian Romanick c1d455f582 Convert all calls using _glapi_Dispatch to use the new GL_CALL macro. 2004-05-27 00:03:53 +00:00
Ian Romanick 77bbbb3759 Minor code simplification. 2004-05-26 17:12:56 +00:00
Ian Romanick 63b2e426ac Test the overhead of just calling a GL function. The Python script is
a helper to do multiple runs and compare the results.
2004-05-26 16:38:38 +00:00
Brian Paul e6e0ba781b only use simple_z_textured_triangle if depthBits <= 16 2004-05-25 22:29:52 +00:00
Ian Romanick 3953e12890 Added a couple fog coordinate related register defines. 2004-05-25 21:14:47 +00:00
Ian Romanick a1cafadb26 Modify the generate assembly code to not use global registers %g2,
%g3, %g6, or %g7.  This should eliminate the warnings about global
registers used without a ".register" directive.
2004-05-25 16:51:56 +00:00
Daniel Borca 680d390550 oops 2004-05-25 14:19:30 +00:00
Daniel Borca 6db87bc889 FXT1 texture compression (initial draft) 2004-05-25 07:22:41 +00:00
Ian Romanick fb4449033b Fixed a bug that caused every dispatch function to call glNewList. 2004-05-24 23:05:09 +00:00
Felix Kuehling 0f8a2718a3 WAIT_IDLE_EMPTY in savageSwapBuffers until real frame throttling is possible. 2004-05-24 22:26:49 +00:00
Eric Anholt bbd557fc53 Clean up some warnings by making sis_fatal_error a macro, and let it take an
argument of a message to print.  Make some assert(0)s use sis_fatal_error.
2004-05-24 20:48:27 +00:00
Eric Anholt 8c805fed0f Add missing sisInitDriverFuncs call. Fixes segfault. 2004-05-24 20:09:59 +00:00
Ian Romanick 958103c77c Generates assembly dispatch stubs for SPARC. Generates different output
than glsparcasm.py, but the assembled code should be the same.  The seems to
only work with GCC version >= 3.0.  The older preprocessor doesn't like the
embedded # in the GLOBL_FN macro.  On the SPARC system I used, /ccs/bin/as
didn't like the @function, it would only accept #function.
2004-05-24 17:48:21 +00:00
Dave Airlie 257e474474 stop crash when debugging 2004-05-24 10:43:43 +00:00
Roland Scheidegger 9e29536f28 use OGL 1.1 color logic ops in addition to GL_EXT_blend_logic_op 2004-05-21 17:03:38 +00:00
Brian Paul cbde37a31c fix bug #957792 (swap buffers), plus misc clean-ups 2004-05-21 15:57:11 +00:00
Brian Paul 27eb8fa35a remove duplicate GLX_DRAWABLE_TYPE token, sorted tokens by enum value 2004-05-21 15:51:13 +00:00
Roland Scheidegger 7225a7292a (Dieter Nuetzel) fix typo in help screen 2004-05-21 14:51:33 +00:00
Brian Paul 254d519c6a s/core/main/ 2004-05-21 14:48:58 +00:00
Roland Scheidegger 1bf9499ee1 fix constant texture environment color setup for texture units > 0 2004-05-21 14:20:26 +00:00
Ian Romanick ad447964e0 s/sop/rop/ in a couple places to fix some bugs. Added some parameter
information to several functions.
2004-05-21 03:51:55 +00:00
Brian Paul 4a54ace195 lots of updates 2004-05-20 22:27:59 +00:00
Brian Paul 1d91a0b908 updated URL 2004-05-20 22:27:30 +00:00
Ian Romanick 0c963b3142 Added all of the missing ARB extensions. Added all the enums and
types for all core versions and ARB extensions.  Converted all tabs to
spaces.
2004-05-20 21:24:27 +00:00
Daniel Borca a863d4bffb doc update; minor changes 2004-05-20 06:11:16 +00:00
Roland Scheidegger 033728555c Add support for GL_EXT_blend_[func|equation]_separate. Fix GL_EXT_blend_color. Remove support for GL_EXT_blend_logic_op (cannot be supported together with blend_equation_separate unless a software fallback would be added). 2004-05-20 00:31:26 +00:00
Roland Scheidegger a671fea404 add check if drm is new enough for packet R200_EMIT_RB3D_BLENDCOLOR 2004-05-20 00:23:30 +00:00
Roland Scheidegger b6933b6811 add missing R200_RB3D_BLENDCOLOR register 2004-05-20 00:19:48 +00:00
Ian Romanick a9d033c460 Added some in-code documentation. Modifed glParameter to be a
subclass of glItem.
2004-05-19 23:33:08 +00:00
Ian Romanick d54549df23 Re-ordered categories. Added extension number information. 2004-05-19 19:12:05 +00:00