Michal Krol [Mon, 13 Feb 2006 10:55:14 +0000 (10:55 +0000)]
Add _mesa_atanf and _mesa_asinf functions.
Eric Anholt [Sat, 11 Feb 2006 02:59:38 +0000 (02:59 +0000)]
Add the ability to define NO_LIBCWRAPPER to avoid libcwrapper brain damage.
If it's true that libcwrapper usage isn't necessary ever in the DllLoader world,
then this code should probbaly all go away.
Dave Airlie [Fri, 10 Feb 2006 21:46:17 +0000 (21:46 +0000)]
commit to fixup MGL namespacing for XGL
Aapo Tahkola [Fri, 10 Feb 2006 17:26:44 +0000 (17:26 +0000)]
Workaround problems with NWN. (Tilman Sauerbeck)
Brian Paul [Thu, 9 Feb 2006 14:28:40 +0000 (14:28 +0000)]
remove the test for XFree86Server from prev patch (bug 5835)
Alan Hourihane [Wed, 8 Feb 2006 22:05:42 +0000 (22:05 +0000)]
Check DDX for 1.5.0
Brian Paul [Wed, 8 Feb 2006 14:52:06 +0000 (14:52 +0000)]
include dix-config.h (Mike Harris) (bug 5835)
Brian Paul [Tue, 7 Feb 2006 00:39:56 +0000 (00:39 +0000)]
David Reveman's GLX_EXT_texture_from_pixmap extension patch
Dave Airlie [Mon, 6 Feb 2006 00:09:58 +0000 (00:09 +0000)]
add vblank support to i915 driver
Brian Paul [Sun, 5 Feb 2006 16:39:19 +0000 (16:39 +0000)]
EGL 1.2 tokens/functions/etc.
Brian Paul [Sun, 5 Feb 2006 16:38:33 +0000 (16:38 +0000)]
fix typo
Brian Paul [Fri, 3 Feb 2006 17:21:54 +0000 (17:21 +0000)]
bring in changes from 6.4 branch
Roland Scheidegger [Fri, 3 Feb 2006 13:29:11 +0000 (13:29 +0000)]
replace the texture level hack used in radeon/r200 to allow larger textures with different methods to calculate the announced maximum texture sizes. Default is still the same (that is, radeon/r200 default to not announce anything which might not fit, i830/i915 default to 1 texture must fit). Bug #5785.
Brian Paul [Thu, 2 Feb 2006 17:33:26 +0000 (17:33 +0000)]
use calloc instead of malloc so try_codegen field is initialized to zero (bug 5791)
Brian Paul [Thu, 2 Feb 2006 14:30:16 +0000 (14:30 +0000)]
add some assertions to check emit_func[] table validity
Roland Scheidegger [Wed, 1 Feb 2006 23:14:42 +0000 (23:14 +0000)]
fix texcoord unit assertion, the right one (bug 5780)
Brian Paul [Wed, 1 Feb 2006 16:50:16 +0000 (16:50 +0000)]
fix texcoord unit assertion (bug 5780)
Roland Scheidegger [Wed, 1 Feb 2006 01:05:40 +0000 (01:05 +0000)]
fix test for valid texunit in _mesa_ClientActiveTextureARB
Brian Paul [Tue, 31 Jan 2006 03:00:14 +0000 (03:00 +0000)]
s/malloc/calloc/, fix mem leak
Roland Scheidegger [Mon, 30 Jan 2006 23:49:31 +0000 (23:49 +0000)]
fix broken assertions so dri drivers compile with -DDEBUG (replace GL_STENCIL_INDEX8 with GL_STENCIL_INDEX8_EXT). Fix potential problem with drivers which use 32bit z buffers.
Roland Scheidegger [Mon, 30 Jan 2006 23:36:42 +0000 (23:36 +0000)]
fix broken assertion to make radeon driver compile with -DDEBUG...
Brian Paul [Mon, 30 Jan 2006 17:13:19 +0000 (17:13 +0000)]
updated comment
Brian Paul [Mon, 30 Jan 2006 17:12:10 +0000 (17:12 +0000)]
silence warning about duplicate M_PI definition
Brian Paul [Mon, 30 Jan 2006 17:11:47 +0000 (17:11 +0000)]
added more tests (Pedro Maia)
Brian Paul [Mon, 30 Jan 2006 15:35:35 +0000 (15:35 +0000)]
use fmod() when incrementing CubeRot
Michal Krol [Mon, 30 Jan 2006 14:50:01 +0000 (14:50 +0000)]
Add shader/slang/slang_compile_*.* files.
Michal Krol [Mon, 30 Jan 2006 14:48:42 +0000 (14:48 +0000)]
Split slang_compile.c into several smaller files - it was just too big.
Minor fixes and cosmetic changes.
Brian Paul [Mon, 30 Jan 2006 00:10:55 +0000 (00:10 +0000)]
some initial EGL 1.2 work
Brian Paul [Sat, 28 Jan 2006 00:30:07 +0000 (00:30 +0000)]
Test glCopyTexSubImage2D by drawing gears as texture on sides of a box.
Brian Paul [Fri, 27 Jan 2006 20:12:06 +0000 (20:12 +0000)]
misc updates
Brian Paul [Fri, 27 Jan 2006 15:44:40 +0000 (15:44 +0000)]
Don't do swapbuffers if -nodraw specified. Get t0 after setup code.
Aapo Tahkola [Fri, 27 Jan 2006 14:35:24 +0000 (14:35 +0000)]
remove broken non arb fp path
Aapo Tahkola [Fri, 27 Jan 2006 14:09:05 +0000 (14:09 +0000)]
missing link in the fallback chain
Aapo Tahkola [Fri, 27 Jan 2006 14:03:22 +0000 (14:03 +0000)]
enable hw vertex programs by default
Aapo Tahkola [Fri, 27 Jan 2006 13:21:47 +0000 (13:21 +0000)]
per vp sw fallbacks
Aapo Tahkola [Fri, 27 Jan 2006 13:09:59 +0000 (13:09 +0000)]
radeon driver doesnt have this so i assume we shouldnt either.
Aapo Tahkola [Fri, 27 Jan 2006 13:05:56 +0000 (13:05 +0000)]
drop all that (slow) locking stuff and make u_list per context.
Aapo Tahkola [Fri, 27 Jan 2006 12:38:20 +0000 (12:38 +0000)]
R300_PFS_NODE_LAST_NODE -> R300_PFS_NODE_OUTPUT_COLOR
Aapo Tahkola [Fri, 27 Jan 2006 12:23:26 +0000 (12:23 +0000)]
Work around problems with t_vp_build.c
Aapo Tahkola [Fri, 27 Jan 2006 12:18:58 +0000 (12:18 +0000)]
r300UpdateTextureEnv shouldnt be called.
Brian Paul [Thu, 26 Jan 2006 17:35:31 +0000 (17:35 +0000)]
Test glTexSubImage and glCopyTexSubImage rate.
Run with -nodraw to skip rendering of test quad to get "pure" sub-tex rate.
Brian Paul [Thu, 26 Jan 2006 16:37:47 +0000 (16:37 +0000)]
copypixrate.c - measure the speed of glCopyPixels.
Aapo Tahkola [Thu, 26 Jan 2006 16:28:54 +0000 (16:28 +0000)]
remove some testing code
Aapo Tahkola [Thu, 26 Jan 2006 15:53:18 +0000 (15:53 +0000)]
Fix a problem where offsets from disabled tmus reach drm
Alan Hourihane [Thu, 26 Jan 2006 08:53:32 +0000 (08:53 +0000)]
remove i830
Brian Paul [Thu, 26 Jan 2006 01:32:47 +0000 (01:32 +0000)]
New comments, clean-up of fields related to point/line/triangle validation.
Brian Paul [Thu, 26 Jan 2006 01:28:00 +0000 (01:28 +0000)]
remove unneeded init of swrast->invalidate_line/triangle
Brian Paul [Thu, 26 Jan 2006 01:27:17 +0000 (01:27 +0000)]
remove the GL_HP_occlusion_test code
Brian Paul [Wed, 25 Jan 2006 17:33:13 +0000 (17:33 +0000)]
WGL_ARB_extensions_string extension
Brian Paul [Wed, 25 Jan 2006 15:05:36 +0000 (15:05 +0000)]
added wglGetExtensionsStringARB
Karl Schultz [Wed, 25 Jan 2006 06:02:55 +0000 (06:02 +0000)]
add wglGetExtensionsStringARB
Jerome Glisse [Tue, 24 Jan 2006 23:04:51 +0000 (23:04 +0000)]
fix using a tmp without asking for one
Alan Hourihane [Tue, 24 Jan 2006 21:40:53 +0000 (21:40 +0000)]
pull in fix from 6.4 branch for XFree86Server definition
Aapo Tahkola [Tue, 24 Jan 2006 20:24:06 +0000 (20:24 +0000)]
fix broken get_half & get_zero
Alan Hourihane [Tue, 24 Jan 2006 19:59:54 +0000 (19:59 +0000)]
remove very old i830 code
Alan Hourihane [Tue, 24 Jan 2006 19:40:26 +0000 (19:40 +0000)]
use front.size instead of sPriv->fbSize
Alan Hourihane [Tue, 24 Jan 2006 19:28:49 +0000 (19:28 +0000)]
use screen->front.map instead of pFB from libdri
Alan Hourihane [Mon, 23 Jan 2006 10:10:48 +0000 (10:10 +0000)]
Add Intel 945GM support
Add rotation support
(Tungsten Graphics)
Jerome Glisse [Sat, 21 Jan 2006 15:16:53 +0000 (15:16 +0000)]
Do individual negetation in swizzling, thus we can
save one instruction in some case.
Jerome Glisse [Sat, 21 Jan 2006 13:08:46 +0000 (13:08 +0000)]
Indent & wrap around 80
Aapo Tahkola [Sat, 21 Jan 2006 12:48:09 +0000 (12:48 +0000)]
Doesnt apply anymore
Jerome Glisse [Sat, 21 Jan 2006 11:43:37 +0000 (11:43 +0000)]
Add individual component negation.
Aapo Tahkola [Fri, 20 Jan 2006 21:56:52 +0000 (21:56 +0000)]
Try to tackle bug #5148
Aapo Tahkola [Fri, 20 Jan 2006 21:16:28 +0000 (21:16 +0000)]
Sync from drm.
Aapo Tahkola [Fri, 20 Jan 2006 20:48:05 +0000 (20:48 +0000)]
Fix ARGB1555 component swizzling.
Jerome Glisse [Fri, 20 Jan 2006 18:24:44 +0000 (18:24 +0000)]
Fix swizzling table & add struct.
Adam Jackson [Thu, 19 Jan 2006 18:00:38 +0000 (18:00 +0000)]
Avoid a crash when the user has enabled glVertex{,Attrib}Pointer but hasn't
filled in a valid pointer for that attribute or vertex array.
Adam Jackson [Wed, 18 Jan 2006 20:57:02 +0000 (20:57 +0000)]
Search for makedepend in the PATH rather than hardcoding /usr/X11R6/bin
Adam Jackson [Wed, 18 Jan 2006 00:29:35 +0000 (00:29 +0000)]
Nuke the old attempt at software DRI, it's broken and awful
Adam Jackson [Wed, 18 Jan 2006 00:22:21 +0000 (00:22 +0000)]
Start a software-only DRI driver for use in the new accelerated indirect
world.
Brian Paul [Mon, 16 Jan 2006 16:35:13 +0000 (16:35 +0000)]
properly free ATI fragment shaders (Tilman Sauerbeck)
Brian Paul [Mon, 16 Jan 2006 16:17:18 +0000 (16:17 +0000)]
Free visinfo object (Tilman Sauerbeck)
Michal Krol [Mon, 16 Jan 2006 12:34:16 +0000 (12:34 +0000)]
remove some test code;
rewrite the intermediate code executor to address
64-bit platforms and global memory;
store built-in library code in a precompiled form only;
Michal Krol [Mon, 16 Jan 2006 12:27:22 +0000 (12:27 +0000)]
remove slang_*_gc.h files;
rename slang_*_gc_bin.h files to slang_*_gc.h ones;
store built-in library code in a precompiled form only;
Aapo Tahkola [Sun, 15 Jan 2006 13:53:54 +0000 (13:53 +0000)]
Missing bits of code spotted by Tilman Sauerbeck
Aapo Tahkola [Sun, 15 Jan 2006 00:07:11 +0000 (00:07 +0000)]
Fix ARB_position_invariant handling
Adam Jackson [Fri, 13 Jan 2006 16:34:00 +0000 (16:34 +0000)]
Fix the default target to remake readtex.o if needed
Aapo Tahkola [Fri, 13 Jan 2006 15:11:57 +0000 (15:11 +0000)]
namespace pollution fixes (Tilman Sauerbeck)
Aapo Tahkola [Fri, 13 Jan 2006 15:03:57 +0000 (15:03 +0000)]
Fix invalid tex coord routing and couple other small things.
Brian Paul [Tue, 10 Jan 2006 15:48:56 +0000 (15:48 +0000)]
added a couple new assertions to help debug XGL problem
Aapo Tahkola [Mon, 9 Jan 2006 22:53:38 +0000 (22:53 +0000)]
Missing patch from Ben Skeggs:
Lots of changes, and fixes for some badness on my behalf.
1. Disposable data used during fp compile is now per-context,
rather than per-program to save memory.
2. Track usage of INPUT/TEMP registers from Mesa program, free
them when no longer required so the hw temps can be re-used.
3. Changed LAST_NODE to OUTPUT_COLOR (see r300_reg.h)
4. Implemented remaining ARB_f_p instructions, with the exception
of the trig/LIT opcodes.
5. Treat ZERO/ONE swizzles the same way as other native swizzles.
6. emit_arith changes, basically a complete re-write. Should
produce cleaner instructions, but no real functional changes.
internal reg -> hw reg routines shared with emit_tex. A bit
messy still.
Aapo Tahkola [Mon, 9 Jan 2006 20:00:03 +0000 (20:00 +0000)]
Fix pow <small> and a very stypid bug with dummy srcs(0 equals to tmp0.x)</small>. demos/cubemap looks perfect now.
Aapo Tahkola [Mon, 9 Jan 2006 19:20:46 +0000 (19:20 +0000)]
Fix cube maps.
Aapo Tahkola [Mon, 9 Jan 2006 18:31:42 +0000 (18:31 +0000)]
Fix node setup(from Ben Skeggs)
Brian Paul [Mon, 9 Jan 2006 17:57:47 +0000 (17:57 +0000)]
s/GLuint/GLbitfield/
Brian Paul [Mon, 9 Jan 2006 17:56:55 +0000 (17:56 +0000)]
only call xmesa_set_renderbuffer_funcs() when really necessary
Brian Paul [Mon, 9 Jan 2006 16:59:30 +0000 (16:59 +0000)]
check XGetGeometry() return value
Roland Scheidegger [Sat, 7 Jan 2006 20:42:16 +0000 (20:42 +0000)]
cube maps on r100 require newer drm than the same feature on r200 (regression from introducing unfied initialization). Fix wrong (so far unused) family assignment for r100 cards.
Keith Whitwell [Thu, 5 Jan 2006 11:01:18 +0000 (11:01 +0000)]
Oops - bad file-completion typo.
Keith Whitwell [Thu, 5 Jan 2006 10:57:57 +0000 (10:57 +0000)]
add simple test for program local parameters
Brian Paul [Wed, 4 Jan 2006 20:10:16 +0000 (20:10 +0000)]
install GLw headers (bug 5396)
Brian Paul [Wed, 4 Jan 2006 20:06:13 +0000 (20:06 +0000)]
special-case Darwin (bug 4509)
Jerome Glisse [Mon, 2 Jan 2006 18:47:00 +0000 (18:47 +0000)]
Use X11_INCLUDES config macro instead of
hardcoded path in makefile.
Brian Paul [Fri, 30 Dec 2005 19:15:40 +0000 (19:15 +0000)]
remove bogus wings3d link
Keith Whitwell [Fri, 30 Dec 2005 13:03:08 +0000 (13:03 +0000)]
recalculate state on drawable changes
Keith Whitwell [Fri, 30 Dec 2005 13:02:27 +0000 (13:02 +0000)]
properly notify driver on scissor change in MakeCurrent
Dave Airlie [Fri, 30 Dec 2005 11:18:04 +0000 (11:18 +0000)]
fill out framebuffer egl stuff enable egl on R300
Dave Airlie [Fri, 30 Dec 2005 10:12:26 +0000 (10:12 +0000)]
fixup stamp so driver updates drawable info
Dave Airlie [Thu, 29 Dec 2005 00:56:01 +0000 (00:56 +0000)]
add support for PCIE card to EGL, doesn't fully work yet but these changes
need to get off my hard disk
Dave Airlie [Thu, 29 Dec 2005 00:42:25 +0000 (00:42 +0000)]
add EGL to r300 makefile