Ian Romanick
c06b25594e
Replace drmHandle, drmContext, drmDrawable, drmMagic and related types with
drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
21 роки тому
Brian Paul
d203091d20
Check for NULL texture object when choosing texture sampler. Fixes segfault when fragment program references an incomplete texture
21 роки тому
Ian Romanick
a4436a8f44
Fix dumb mistake from a previous commit. __driCreateScreen is now
properly block with '#ifndef DRI_NEW_INTERFACE_ONLY'.
21 роки тому
Roland Scheidegger
7a6eda7137
add support for GL_ARB_texture_env_crossbar
21 роки тому
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'.
21 роки тому
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.
21 роки тому
Ian Romanick
0521ab46c1
Replace occurances of GLXDrawable and Drawable with __DRIid.
21 роки тому
Ian Romanick
a249ad756f
Fix a couple typos that prevent building with DRI_NEW_INTERFACE_ONLY.
21 роки тому
Eric Anholt
0c0f5c2b72
Remove unnecessary #include "mach64_common.h" which breaks the build for me.
21 роки тому
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".
21 роки тому
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".
21 роки тому
Eric Anholt
c1311d80bd
Use MKDEP make variables instead of hard-coding.
21 роки тому
Daniel Borca
e35282cc13
reworked FXT1
minor fixes to fxMesa
21 роки тому
Dave Airlie
54f4f44843
fixup mach64 for newer build/types
21 роки тому
Brian Paul
11b3028e7b
check for null pointer in Fake_glXCreateGLXPbufferSGIGIX() (bug 961376)
21 роки тому
Adam Jackson
2ac56c66d2
use new interface for tdfx (phase 2)
21 роки тому
Adam Jackson
cd630037a2
Fix type conflict.
21 роки тому
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.
21 роки тому
Roland Scheidegger
957b734322
remove never finished verts path (r200_maos_vbtmp.h, r200_maos_verts.c) and unused R200_OLD_PACKET macro
21 роки тому
Ian Romanick
8cdccc82d7
Define PFNGLXGETMSCRATEOMLPROC so that DRI will build without including
glxext.h.
21 роки тому
Ian Romanick
b3981ab6e6
Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.
21 роки тому
Roland Scheidegger
aaaf38d372
change some explicit references to texture units 0/1 to unit < MaxTextureUnits (Andreas Stenglein, Ronny Vindenes)
21 роки тому
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.
21 роки тому
Ian Romanick
c1d455f582
Convert all calls using _glapi_Dispatch to use the new GL_CALL macro.
21 роки тому
Brian Paul
e6e0ba781b
only use simple_z_textured_triangle if depthBits <= 16
21 роки тому
Ian Romanick
3953e12890
Added a couple fog coordinate related register defines.
21 роки тому
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.
21 роки тому
Daniel Borca
680d390550
oops
21 роки тому
Daniel Borca
6db87bc889
FXT1 texture compression (initial draft)
21 роки тому
Ian Romanick
fb4449033b
Fixed a bug that caused every dispatch function to call glNewList.
21 роки тому
Felix Kuehling
0f8a2718a3
WAIT_IDLE_EMPTY in savageSwapBuffers until real frame throttling is possible.
21 роки тому
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.
21 роки тому
Eric Anholt
8c805fed0f
Add missing sisInitDriverFuncs call. Fixes segfault.
21 роки тому
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.
21 роки тому
Dave Airlie
257e474474
stop crash when debugging
21 роки тому
Brian Paul
cbde37a31c
fix bug #957792 (swap buffers), plus misc clean-ups
21 роки тому
Roland Scheidegger
1bf9499ee1
fix constant texture environment color setup for texture units > 0
21 роки тому
Ian Romanick
ad447964e0
s/sop/rop/ in a couple places to fix some bugs. Added some parameter
information to several functions.
21 роки тому
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.
21 роки тому
Daniel Borca
a863d4bffb
doc update; minor changes
21 роки тому
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).
21 роки тому
Roland Scheidegger
a671fea404
add check if drm is new enough for packet R200_EMIT_RB3D_BLENDCOLOR
21 роки тому
Roland Scheidegger
b6933b6811
add missing R200_RB3D_BLENDCOLOR register
21 роки тому
Ian Romanick
a9d033c460
Added some in-code documentation. Modifed glParameter to be a
subclass of glItem.
21 роки тому
Ian Romanick
d54549df23
Re-ordered categories. Added extension number information.
21 роки тому
Daniel Borca
fc332f008c
added GL_NV_blend_square
fixed alpha blending modes for Napalm
minor fix in compressed texture aspectratio adjust
21 роки тому
Ian Romanick
73f59b01ea
New scripts for processing the XML version of APIspec. Mail is being
sent to mesa3d-dev with a more detailed description.
21 роки тому
Daniel Borca
3e15e861b2
added some core-level extensions
21 роки тому
Brian Paul
b7460bb62a
fixed some bogus array enable tests (Soju Matsumoto)
21 роки тому
Brian Paul
de4b3bb776
minor doxygen updates
21 роки тому