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