mesa.git
18 years agoTest glTexSubImage and glCopyTexSubImage rate.
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.

18 years agocopypixrate.c - measure the speed of glCopyPixels.
Brian Paul [Thu, 26 Jan 2006 16:37:47 +0000 (16:37 +0000)]
copypixrate.c - measure the speed of glCopyPixels.

18 years agoremove some testing code
Aapo Tahkola [Thu, 26 Jan 2006 16:28:54 +0000 (16:28 +0000)]
remove some testing code

18 years agoFix a problem where offsets from disabled tmus reach drm
Aapo Tahkola [Thu, 26 Jan 2006 15:53:18 +0000 (15:53 +0000)]
Fix a problem where offsets from disabled tmus reach drm

18 years agoremove i830
Alan Hourihane [Thu, 26 Jan 2006 08:53:32 +0000 (08:53 +0000)]
remove i830

18 years agoNew comments, clean-up of fields related to point/line/triangle validation.
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.

18 years agoremove unneeded init of swrast->invalidate_line/triangle
Brian Paul [Thu, 26 Jan 2006 01:28:00 +0000 (01:28 +0000)]
remove unneeded init of swrast->invalidate_line/triangle

18 years agoremove the GL_HP_occlusion_test code
Brian Paul [Thu, 26 Jan 2006 01:27:17 +0000 (01:27 +0000)]
remove the GL_HP_occlusion_test code

18 years agoWGL_ARB_extensions_string extension
Brian Paul [Wed, 25 Jan 2006 17:33:13 +0000 (17:33 +0000)]
WGL_ARB_extensions_string extension

18 years agoadded wglGetExtensionsStringARB
Brian Paul [Wed, 25 Jan 2006 15:05:36 +0000 (15:05 +0000)]
added wglGetExtensionsStringARB

18 years agoadd wglGetExtensionsStringARB
Karl Schultz [Wed, 25 Jan 2006 06:02:55 +0000 (06:02 +0000)]
add wglGetExtensionsStringARB

18 years agofix using a tmp without asking for one
Jerome Glisse [Tue, 24 Jan 2006 23:04:51 +0000 (23:04 +0000)]
fix using a tmp without asking for one

18 years agopull in fix from 6.4 branch for XFree86Server definition
Alan Hourihane [Tue, 24 Jan 2006 21:40:53 +0000 (21:40 +0000)]
pull in fix from 6.4 branch for XFree86Server definition

18 years agofix broken get_half & get_zero
Aapo Tahkola [Tue, 24 Jan 2006 20:24:06 +0000 (20:24 +0000)]
fix broken get_half & get_zero

18 years agoremove very old i830 code
Alan Hourihane [Tue, 24 Jan 2006 19:59:54 +0000 (19:59 +0000)]
remove very old i830 code

18 years agouse front.size instead of sPriv->fbSize
Alan Hourihane [Tue, 24 Jan 2006 19:40:26 +0000 (19:40 +0000)]
use front.size instead of sPriv->fbSize

18 years agouse screen->front.map instead of pFB from libdri
Alan Hourihane [Tue, 24 Jan 2006 19:28:49 +0000 (19:28 +0000)]
use screen->front.map instead of pFB from libdri

18 years agoAdd Intel 945GM support
Alan Hourihane [Mon, 23 Jan 2006 10:10:48 +0000 (10:10 +0000)]
Add Intel 945GM support
Add rotation support
(Tungsten Graphics)

18 years agoDo individual negetation in swizzling, thus we can
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.

18 years agoIndent & wrap around 80
Jerome Glisse [Sat, 21 Jan 2006 13:08:46 +0000 (13:08 +0000)]
Indent & wrap around 80

18 years agoDoesnt apply anymore
Aapo Tahkola [Sat, 21 Jan 2006 12:48:09 +0000 (12:48 +0000)]
Doesnt apply anymore

18 years agoAdd individual component negation.
Jerome Glisse [Sat, 21 Jan 2006 11:43:37 +0000 (11:43 +0000)]
Add individual component negation.

18 years agoTry to tackle bug #5148
Aapo Tahkola [Fri, 20 Jan 2006 21:56:52 +0000 (21:56 +0000)]
Try to tackle bug #5148

18 years agoSync from drm.
Aapo Tahkola [Fri, 20 Jan 2006 21:16:28 +0000 (21:16 +0000)]
Sync from drm.

18 years agoFix ARGB1555 component swizzling.
Aapo Tahkola [Fri, 20 Jan 2006 20:48:05 +0000 (20:48 +0000)]
Fix ARGB1555 component swizzling.

18 years agoFix swizzling table & add struct.
Jerome Glisse [Fri, 20 Jan 2006 18:24:44 +0000 (18:24 +0000)]
Fix swizzling table & add struct.

18 years agoAvoid a crash when the user has enabled glVertex{,Attrib}Pointer but hasn't
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.

18 years agoSearch for makedepend in the PATH rather than hardcoding /usr/X11R6/bin
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

18 years agoNuke the old attempt at software DRI, it's broken and awful
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

18 years agoStart a software-only DRI driver for use in the new accelerated indirect
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.

18 years agoproperly free ATI fragment shaders (Tilman Sauerbeck)
Brian Paul [Mon, 16 Jan 2006 16:35:13 +0000 (16:35 +0000)]
properly free ATI fragment shaders (Tilman Sauerbeck)

18 years agoFree visinfo object (Tilman Sauerbeck)
Brian Paul [Mon, 16 Jan 2006 16:17:18 +0000 (16:17 +0000)]
Free visinfo object (Tilman Sauerbeck)

18 years agoremove some test code;
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;

18 years agoremove slang_*_gc.h files;
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;

18 years agoMissing bits of code spotted by Tilman Sauerbeck
Aapo Tahkola [Sun, 15 Jan 2006 13:53:54 +0000 (13:53 +0000)]
Missing bits of code spotted by Tilman Sauerbeck

18 years agoFix ARB_position_invariant handling
Aapo Tahkola [Sun, 15 Jan 2006 00:07:11 +0000 (00:07 +0000)]
Fix ARB_position_invariant handling

18 years agoFix the default target to remake readtex.o if needed
Adam Jackson [Fri, 13 Jan 2006 16:34:00 +0000 (16:34 +0000)]
Fix the default target to remake readtex.o if needed

18 years agonamespace pollution fixes (Tilman Sauerbeck)
Aapo Tahkola [Fri, 13 Jan 2006 15:11:57 +0000 (15:11 +0000)]
namespace pollution fixes (Tilman Sauerbeck)

18 years agoFix invalid tex coord routing and couple other small things.
Aapo Tahkola [Fri, 13 Jan 2006 15:03:57 +0000 (15:03 +0000)]
Fix invalid tex coord routing and couple other small things.

18 years agoadded a couple new assertions to help debug XGL problem
Brian Paul [Tue, 10 Jan 2006 15:48:56 +0000 (15:48 +0000)]
added a couple new assertions to help debug XGL problem

18 years agoMissing patch from Ben Skeggs:
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.

18 years agoFix pow <small> and a very stypid bug with dummy srcs(0 equals to tmp0.x)</small...
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.

18 years agoFix cube maps.
Aapo Tahkola [Mon, 9 Jan 2006 19:20:46 +0000 (19:20 +0000)]
Fix cube maps.

18 years agoFix node setup(from Ben Skeggs)
Aapo Tahkola [Mon, 9 Jan 2006 18:31:42 +0000 (18:31 +0000)]
Fix node setup(from Ben Skeggs)

18 years agos/GLuint/GLbitfield/
Brian Paul [Mon, 9 Jan 2006 17:57:47 +0000 (17:57 +0000)]
s/GLuint/GLbitfield/

18 years agoonly call xmesa_set_renderbuffer_funcs() when really necessary
Brian Paul [Mon, 9 Jan 2006 17:56:55 +0000 (17:56 +0000)]
only call xmesa_set_renderbuffer_funcs() when really necessary

18 years agocheck XGetGeometry() return value
Brian Paul [Mon, 9 Jan 2006 16:59:30 +0000 (16:59 +0000)]
check XGetGeometry() return value

18 years agocube maps on r100 require newer drm than the same feature on r200 (regression from...
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.

18 years agoOops - bad file-completion typo.
Keith Whitwell [Thu, 5 Jan 2006 11:01:18 +0000 (11:01 +0000)]
Oops - bad file-completion typo.

18 years agoadd simple test for program local parameters
Keith Whitwell [Thu, 5 Jan 2006 10:57:57 +0000 (10:57 +0000)]
add simple test for program local parameters

18 years agoinstall GLw headers (bug 5396)
Brian Paul [Wed, 4 Jan 2006 20:10:16 +0000 (20:10 +0000)]
install GLw headers (bug 5396)

18 years agospecial-case Darwin (bug 4509)
Brian Paul [Wed, 4 Jan 2006 20:06:13 +0000 (20:06 +0000)]
special-case Darwin (bug 4509)

18 years agoUse X11_INCLUDES config macro instead of
Jerome Glisse [Mon, 2 Jan 2006 18:47:00 +0000 (18:47 +0000)]
Use X11_INCLUDES config macro instead of
hardcoded path in makefile.

18 years agoremove bogus wings3d link
Brian Paul [Fri, 30 Dec 2005 19:15:40 +0000 (19:15 +0000)]
remove bogus wings3d link

18 years agorecalculate state on drawable changes
Keith Whitwell [Fri, 30 Dec 2005 13:03:08 +0000 (13:03 +0000)]
recalculate state on drawable changes

18 years agoproperly notify driver on scissor change in MakeCurrent
Keith Whitwell [Fri, 30 Dec 2005 13:02:27 +0000 (13:02 +0000)]
properly notify driver on scissor change in MakeCurrent

18 years agofill out framebuffer egl stuff enable egl on R300
Dave Airlie [Fri, 30 Dec 2005 11:18:04 +0000 (11:18 +0000)]
fill out framebuffer egl stuff enable egl on R300

18 years agofixup stamp so driver updates drawable info
Dave Airlie [Fri, 30 Dec 2005 10:12:26 +0000 (10:12 +0000)]
fixup stamp so driver updates drawable info

18 years agoadd support for PCIE card to EGL, doesn't fully work yet but these changes
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

18 years agoadd EGL to r300 makefile
Dave Airlie [Thu, 29 Dec 2005 00:42:25 +0000 (00:42 +0000)]
add EGL to r300 makefile

18 years agorv370 not rv350
Dave Airlie [Thu, 29 Dec 2005 00:38:12 +0000 (00:38 +0000)]
rv370 not rv350

18 years agotypo
Dave Airlie [Thu, 29 Dec 2005 00:37:24 +0000 (00:37 +0000)]
typo

18 years agoadd some card type ioctl support
Dave Airlie [Thu, 29 Dec 2005 00:36:07 +0000 (00:36 +0000)]
add some card type ioctl support

18 years agouse card_type not isPCI
Dave Airlie [Thu, 29 Dec 2005 00:30:53 +0000 (00:30 +0000)]
use card_type not isPCI

18 years agoadd some r300 information
Dave Airlie [Wed, 28 Dec 2005 23:42:41 +0000 (23:42 +0000)]
add some r300 information

18 years agoupdate to new API
Dave Airlie [Fri, 23 Dec 2005 08:42:29 +0000 (08:42 +0000)]
update to new API

18 years agothis needs to be calloced
Dave Airlie [Fri, 23 Dec 2005 08:17:44 +0000 (08:17 +0000)]
this needs to be calloced

18 years agofixup driver for some api changes
Dave Airlie [Fri, 23 Dec 2005 07:58:24 +0000 (07:58 +0000)]
fixup driver for some api changes

18 years agoHandle fatal case.
Aapo Tahkola [Sun, 18 Dec 2005 21:40:13 +0000 (21:40 +0000)]
Handle fatal case.

18 years agoDrop output checking.
Aapo Tahkola [Sat, 17 Dec 2005 18:59:18 +0000 (18:59 +0000)]
Drop output checking.

18 years agoNo you arent.
Aapo Tahkola [Sat, 17 Dec 2005 12:28:58 +0000 (12:28 +0000)]
No you arent.

18 years agoWarn only when being enabled.
Aapo Tahkola [Sat, 17 Dec 2005 12:20:51 +0000 (12:20 +0000)]
Warn only when being enabled.

18 years agoI think this has been tested well enough already.
Aapo Tahkola [Sat, 17 Dec 2005 12:08:41 +0000 (12:08 +0000)]
I think this has been tested well enough already.

18 years agoEnable CB_DPATH by default.
Aapo Tahkola [Sat, 17 Dec 2005 11:59:13 +0000 (11:59 +0000)]
Enable CB_DPATH by default.

18 years agoFix (likely) typo.
Aapo Tahkola [Sat, 17 Dec 2005 11:43:59 +0000 (11:43 +0000)]
Fix (likely) typo.

18 years agoAdd some missing hooks. This should fix various little problems with window movement...
Aapo Tahkola [Sat, 17 Dec 2005 11:39:40 +0000 (11:39 +0000)]
Add some missing hooks. This should fix various little problems with window movement and 2d windows flashing on top of 3d windows. This problem was previously shadowed by r300ResetHwState as it gets called frequently.

18 years agominor code movement
Brian Paul [Sat, 17 Dec 2005 05:37:15 +0000 (05:37 +0000)]
minor code movement

18 years agofix thinko in last revision.
Karl Schultz [Fri, 16 Dec 2005 16:38:44 +0000 (16:38 +0000)]
fix thinko in last revision.

18 years agomove va_end() call (Evgeny Kotsuba)
Brian Paul [Thu, 15 Dec 2005 15:23:54 +0000 (15:23 +0000)]
move va_end() call (Evgeny Kotsuba)

18 years agoWork In Progress. Move some of the frame buffer, render buffer, etc init code from...
Karl Schultz [Thu, 15 Dec 2005 01:02:37 +0000 (01:02 +0000)]
Work In Progress.  Move some of the frame buffer, render buffer, etc init code from the create context path to the make current path, where it is lazily initialized.  This didn't buy me very much except to make it look closer to the X11 driver.  Fix up some of this same code to correct some errors.
The next step is to reorganize the wmesa context data structure to inherit the gl_context by containment so I can have access to the wmesa context in the update state path.  The driver is still currently not responding to changes in the Draw and Read Buffer state.

18 years agoregenerate to pick up glGetQueryObject[u]i64vEXT funcs
Brian Paul [Wed, 14 Dec 2005 14:23:37 +0000 (14:23 +0000)]
regenerate to pick up glGetQueryObject[u]i64vEXT funcs

18 years agoFix typo.
Keith Whitwell [Wed, 14 Dec 2005 09:31:25 +0000 (09:31 +0000)]
Fix typo.

18 years agouse GLbitfield instead of GLuint
Brian Paul [Wed, 14 Dec 2005 03:06:16 +0000 (03:06 +0000)]
use GLbitfield instead of GLuint

18 years agoRemoved the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be
Brian Paul [Wed, 14 Dec 2005 03:04:58 +0000 (03:04 +0000)]
Removed the GL_SGIX/SGIS_pixel_texture extensions.  Same thing can be
done with fragment programs nowadays.

18 years agofix from Roland for mipmapped compressed textures
Dave Airlie [Tue, 13 Dec 2005 19:53:28 +0000 (19:53 +0000)]
fix from Roland for mipmapped compressed textures
remove some debug

18 years agosilence warning, bug 5318
Brian Paul [Mon, 12 Dec 2005 15:27:55 +0000 (15:27 +0000)]
silence warning, bug 5318

18 years agoSplit _MaintainTexEnvProgram into two flags _Maintain and _Use. This
Keith Whitwell [Mon, 12 Dec 2005 12:57:08 +0000 (12:57 +0000)]
Split _MaintainTexEnvProgram into two flags _Maintain and _Use.  This
restores the ability to run the software driver with program TNL but
tradtional swrast.

18 years agoRegenerate for recent glapi changes (GetQueryObjecti64vEXT).
Eric Anholt [Sun, 11 Dec 2005 07:42:37 +0000 (07:42 +0000)]
Regenerate for recent glapi changes (GetQueryObjecti64vEXT).

18 years agos/eglShowSurfaceMESA/eglShowScreenSurfaceMESA/
Brian Paul [Sat, 10 Dec 2005 17:59:36 +0000 (17:59 +0000)]
s/eglShowSurfaceMESA/eglShowScreenSurfaceMESA/

18 years agoRename eglDRIShowSurfaceMESA.
Brian Paul [Sat, 10 Dec 2005 17:56:00 +0000 (17:56 +0000)]
Rename eglDRIShowSurfaceMESA.
s/_eglAddMode/_eglAddNewMode/

18 years agoupdates to match other changes elsewhere
Brian Paul [Sat, 10 Dec 2005 17:55:15 +0000 (17:55 +0000)]
updates to match other changes elsewhere

18 years agorename eglShowSurfaceMESA, add EGL_SCREEN_POSITION_GRANULARITY_MESA
Brian Paul [Sat, 10 Dec 2005 17:54:36 +0000 (17:54 +0000)]
rename eglShowSurfaceMESA, add EGL_SCREEN_POSITION_GRANULARITY_MESA

18 years agoSome initial per-thread support.
Brian Paul [Sat, 10 Dec 2005 17:54:00 +0000 (17:54 +0000)]
Some initial per-thread support.
Rename eglShowSurfaceMESA to eglShowScreenSurfaceMESA.

18 years agoAdded EGL_SCREEN_POSITION_GRANULARITY_MESA query.
Brian Paul [Sat, 10 Dec 2005 17:53:07 +0000 (17:53 +0000)]
Added EGL_SCREEN_POSITION_GRANULARITY_MESA query.
Rename eglShowSurfaceMESA to eglShowScreenSurfaceMESA.

18 years agolots of updates, mode sorting, etc
Brian Paul [Sat, 10 Dec 2005 17:52:11 +0000 (17:52 +0000)]
lots of updates, mode sorting, etc

18 years agoimplement config sorting for eglChooseConfig()
Brian Paul [Sat, 10 Dec 2005 17:51:13 +0000 (17:51 +0000)]
implement config sorting for eglChooseConfig()

18 years ago'a' key to toggle animation
Brian Paul [Thu, 8 Dec 2005 17:49:50 +0000 (17:49 +0000)]
'a' key to toggle animation

18 years agobump version number
Brian Paul [Thu, 8 Dec 2005 14:51:36 +0000 (14:51 +0000)]
bump version number

18 years agodon't need LONGLONG typedefs
Brian Paul [Thu, 8 Dec 2005 14:50:28 +0000 (14:50 +0000)]
don't need LONGLONG typedefs

18 years agodo away with 'long long' usage
Brian Paul [Thu, 8 Dec 2005 14:50:03 +0000 (14:50 +0000)]
do away with 'long long' usage