Corbin Simpson
9ab7a2df03
r5xx: Clean up some compiler warnings.
2008-05-23 00:18:14 -07:00
Corbin Simpson
30e61500e1
r5xx: Move dumb_shader.
...
Was getting ticked having to scroll around it, lawl.
2008-05-23 00:18:14 -07:00
Corbin Simpson
34010bcc91
r5xx: Add OPCODE_DST.
...
Works completely, swizzles and everything.
2008-05-23 00:18:14 -07:00
Corbin Simpson
d4e93864b8
r5xx: More trig work.
...
SCS now works. COS/SIN have slight issues still.
2008-05-23 00:18:14 -07:00
Zack Rusin
6f25d6d48d
disable egl by default
2008-05-22 22:13:38 -04:00
Eric Anholt
6cefae5354
Add back a mostly-correct glFinish for GEM and fake.
...
The right solution would probably be keeping a list of regions which have been
rendered to.
2008-05-22 10:46:58 -07:00
Keith Packard
76286bc76c
[intel-gem] Make sure set_domain is called often enough.
...
The write_domain needs to be set after any batch buffer uses an object,
track when that happens in the new 'cpu_domain_set' field.
2008-05-22 10:44:47 -07:00
José Fonseca
781676c7cc
pipebuffer: More robust face null pointers.
...
It is really the caller responsibility not to call pipebuffer with null
buffers, etc. But don't let the crash happen here, and still asserting
early.
2008-05-22 21:54:41 +09:00
José Fonseca
bd4eec0561
pipebuffer: Don't retry allocating in slab suballocator.
...
In pipebuffer, fencing is done at on a level above sub-allocation, so no
matter how many times slab allocator retries no buffer will be freed. The
pipebuffer fencing implemention already retries allocating.
2008-05-22 20:33:17 +09:00
Dave Airlie
a01816da59
r500: bump state atom size up for fp and fp constants
2008-05-22 17:09:58 +10:00
Corbin Simpson
4f9dcdc35b
r5xx: Fixed LRP.
...
Works perfectly. It's a complex one, though, so it might fail in weird ways...
2008-05-21 23:35:43 -07:00
Corbin Simpson
0dfbe9cdd7
r5xx: Change debug info for readability.
...
It's weird seeing the compiled program before the assembly, that's all.
2008-05-21 23:33:13 -07:00
Jesse Barnes
6c56e0e1fb
Add cscope files to .gitignore
2008-05-21 15:36:08 -07:00
Corbin Simpson
d06f4edb14
r5xx: Initial (broken) OPCODE_LRP.
...
Will compile, run, and not eat your kids, but the math is wrong.
2008-05-21 13:51:32 -07:00
Dan Nicholson
e57f1b702e
Follow along GL/glx -> glx renaming in xserver
...
The xserver glx modules were lifted up to the top level, so this changes
the glapi generation to look in the new location.
2008-05-21 10:55:49 -07:00
Michel Dänzer
019fc3aa04
Merge branch 'gallium-0.1' into gallium-tex-surfaces
2008-05-21 17:15:07 +01:00
Kristian Høgsberg
fe7e01c834
Add remaining glapi generated server headers.
...
This adds all the headers needed by the xserver glx module and also adds
a rule to copy over the shared glapi.[ch] and glthread.[ch] files.
Specifying an xserver path (set XORG_BASE on the make command line) is
now mandatory when regenerating the glapi files.
2008-05-21 12:13:39 -04:00
Kristian Høgsberg
c30fe8fd7c
Make the shared glapi files not include glheader.h.
2008-05-21 12:13:39 -04:00
Kristian Høgsberg
1b359bc88e
Revert "glapi: Generate xserver glapi sources in the mesa tree"
...
This reverts commit 7688791fc5 , and takes
us back to generating the glapi files straight into the xserver tree.
Conflicts:
src/glx/x11/indirect_size_get.c
2008-05-21 12:13:39 -04:00
Brian
e8d5be9c76
fix assorted bugs, works now
...
(cherry picked from commit 55d4f32fc2 )
2008-05-21 17:13:26 +01:00
Corbin Simpson
1e2907f170
r5xx: Add OPCODE_POW.
...
Necessary for Google Earth, among other things.
2008-05-21 08:24:28 -07:00
George Sapountzis
2217158c37
dri/swrast: use Makefile.template
2008-05-21 18:21:50 +03:00
George Sapountzis
53784e786d
dri/swrast: fb configs tweaks
...
@32: provide configs with depth=0, stencil=8
@16: provide configs with depth=0, stencil=8 and depth=16, stencil=8
2008-05-21 18:20:54 +03:00
George Sapountzis
d0c7ef4358
dri/swrast: re-indent FillInModes
2008-05-21 18:19:49 +03:00
Brian
2ec318640f
added readtex.h dependency
2008-05-21 07:05:29 -06:00
Brian
13a2be4446
mesa: fix #include path for glapioffsets.h (fixes x86 build)
2008-05-21 06:59:49 -06:00
Dave Airlie
bb57c30a53
r500: print out opcode string
2008-05-21 16:00:18 +10:00
Dave Airlie
b453b0e2e1
r500: set the RS unit register for R500 not R300 dangnammit..
...
So this appears to be my BUG. damn it to hell.
also fix sec color to be more like spec says.
2008-05-21 12:14:42 +10:00
Dave Airlie
9ec2b1c83f
r500: finish main texture instruction decoding
2008-05-21 10:49:26 +10:00
Zack Rusin
f869ddf297
add new binaries to ignore to make 'git status' cleaner
2008-05-20 19:18:22 -04:00
Dan Nicholson
0a4867bd4c
Ignore more generated files in progs/
...
Many of the directories in progs/ were missing .gitignore files or
were tracking generated files. This patch is basically the process of
running `make' in each directory and then finding the untracked files
with `git-ls-files -o --exclude-per-directory=.gitignore'. The existing
files were also sorted.
2008-05-20 19:04:57 -04:00
Zack Rusin
cd87aeae00
add a simple but nice example of convolution filters in glsl
...
shows basics of image processing with glsl
2008-05-20 18:49:51 -04:00
Brian Paul
bf7519b0a4
Merge branch 'gallium-0.1' into gallium-tex-surfaces
2008-05-20 15:30:23 -06:00
Brian Paul
26f874e967
gallium: fix vertex shader mem leak (glRasterPos)
2008-05-20 15:20:29 -06:00
Brian Paul
8f792a0707
Merge branch 'gallium-0.1' into gallium-tex-surfaces
2008-05-20 15:12:50 -06:00
Brian Paul
7899ecdd65
gallium: replace assignment with pipe_texture_reference()
2008-05-20 15:12:26 -06:00
Brian Paul
ac09b0e0eb
gallium: fix shader mem leak
2008-05-20 15:11:53 -06:00
Brian Paul
417719c0a6
mesa: call glutDestroyWindow()
2008-05-20 15:11:33 -06:00
Brian Paul
cf1ae676ec
Merge branch 'gallium-0.1' into gallium-tex-surfaces
2008-05-20 14:38:45 -06:00
Brian Paul
69fd676240
gallium: move vertex/fragment program unbinding
2008-05-20 14:38:22 -06:00
Brian Paul
13c7491406
gallium: fix default case in st_new_program()
2008-05-20 14:38:00 -06:00
George Sapountzis
280bf89bd4
Add DRI driver that uses the mesa swrast module.
2008-05-20 16:03:44 -04:00
George Sapountzis
c95e66120b
Make utils.h self-contained.
...
Move stuff with drm dependencies to dri_util.h, and move a couple of
types without drm dependencies to utils.h.
2008-05-20 16:03:44 -04:00
Brian Paul
71eb108831
Merge branch 'gallium-0.1' into gallium-tex-surfaces
2008-05-20 13:50:10 -06:00
Brian Paul
4b4ac9ed34
gallium: fix mem leaks
2008-05-20 13:49:18 -06:00
Brian Paul
d7cf6b2978
mesa: call glutDestroyWindow()
2008-05-20 13:49:18 -06:00
Brian Paul
90ce8467a8
gallium: clean-up glDraw/CopyPixels shaders when destroying context
2008-05-20 13:49:18 -06:00
Brian Paul
479174c398
Merge branch 'gallium-0.1' into gallium-tex-surfaces
2008-05-20 13:39:27 -06:00
Brian Paul
a3f9ae4fea
mesa: call glutDestroyWindow()
2008-05-20 13:38:59 -06:00
Brian Paul
5c431c2222
gallium: clean-up glDraw/CopyPixels shaders when destroying context
2008-05-20 13:38:45 -06:00