Commit graph

115447 commits

Author SHA1 Message Date
Keith Packard
00e10a1385 Block in kernel waiting for fence 2007-12-11 20:27:42 -08:00
Keith Packard
aeca22f97c Use previous buffer offsets to compute proposed relocations
This takes advantage of the DRM_BO_HINT_PRESUMED_OFFSET change and allows
the kernel to avoid mapping and re-writing buffers when relocations occur.
2007-12-11 20:27:42 -08:00
Ben Skeggs
79bca7dd88 nouveau: adapt
Some things that worked before are now broken, there's an "XXX:" around one
of the culprits in the GL state tracker so hopefully it'll get fixed soon!
2007-12-12 14:20:58 +11:00
Brian
1029c00a26 remove more -I paths 2007-12-11 19:17:31 -07:00
Brian
5dcc894ea2 prefix some #includes 2007-12-11 19:16:46 -07:00
Brian
6f467e5737 trim down #includes 2007-12-11 19:16:26 -07:00
Ben Skeggs
5891598012 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
Conflicts:

	src/mesa/pipe/Makefile
2007-12-12 13:11:19 +11:00
Brian
68caa076a9 trim down -I options 2007-12-11 18:58:48 -07:00
Brian
3d9bdaa80b include pipe/tgsi/exec/tgsi_sse2.h if needed. Silences warning. 2007-12-11 18:58:32 -07:00
Brian
b2ad30d571 Cell: draw smooth-shaded triangle 2007-12-11 18:26:52 -07:00
Brian
9828310a1b Collect some global vars in a single struct. 2007-12-11 15:29:05 -07:00
Brian
fda387988c Remove temporary cell_create_surface() 2007-12-11 13:55:37 -07:00
Brian
457a96e777 SPU function prototypes, etc. 2007-12-11 13:49:48 -07:00
Ian Romanick
9a0fe23d49 Port to libspe2
libspe is deprecated in Cell SDK 2.1, and it is removed in Cell SDK 3.0.
This patch ports the existing libspe-based code to libspe2.  Some error
checking (eh-hem) would be nice.
2007-12-11 12:43:50 -08:00
Ian Romanick
bfb43e8e79 Remove '-include altivec.h'.
Including altivec.h caused problems in some places that use "pixel" as a
variable name.
2007-12-11 12:41:12 -08:00
José Fonseca
25e658a7cf Mention 965 driver on main page. 2007-12-11 18:19:23 +00:00
José Fonseca
87e3566604 Write a nicer doxygen main page, based on the TG's Gallium3D technical overview pages. 2007-12-11 18:19:23 +00:00
José Fonseca
01434dd3bd Cover LLVM code in doxygen output. 2007-12-11 18:19:23 +00:00
Michel Dänzer
f3789748d4 softpipe: Support for PIPE_FORMAT_A4R4G4B4_UNORM and PIPE_FORMAT_R5G6B5_UNORM.
The packedpixels test runs with the xlib winsys, though not all cases look
correct yet.
2007-12-11 19:10:56 +01:00
Michel Dänzer
88723b2fc8 Remove internal_format field from struct pipe_texture.
It's state tracker specific / not really necessary anyway.
2007-12-11 19:10:56 +01:00
Keith Whitwell
13699463a3 Rework gallium and mesa queries a little.
Add a 'CheckQuery()' driver callback to mesa to check query completion.
Make pipe_query an opaque type.
Rework softpipe queries, support overlapping occlusion queries.
2007-12-11 17:10:48 +00:00
Keith Whitwell
b247ab0363 965: remove duplicate brw_draw functions, make init a bit cleaner 2007-12-11 17:10:48 +00:00
Keith Whitwell
ecb5e14e86 gallium: remove clear values from depth, stencil state 2007-12-11 17:10:47 +00:00
Dan Nicholson
aab38cfc43 autoconf: Replace configs/current symlink from configure
Rather than having the user run `make autoconf' and have the Makefile
setup the configs/current -> autoconf symlink, we can just do that in
configure. This allows the user to just run `make' to build.
2007-12-11 08:24:27 -08:00
Dan Nicholson
78175579c2 autoconf: Replace install-sh with symlink to minstall
Since install-sh is only used to satisfy an autoconf requirement, we
don't need the actual script. Instead, it's now just a symlink to
minstall, which provides a similar install wrapper script.
2007-12-11 08:24:27 -08:00
Dan Nicholson
79ad458ec6 autoconf: Clearer help text for the enable/disable options
Make it clearer what the defaults for the AC_ARG_ENABLE options are and
how to change them.
2007-12-11 08:24:27 -08:00
Dan Nicholson
a76e2452d2 autoconf: Since default DRI drivers to build with master
Sync the default DRI_DIRS with the configs in master. Added some of the
comments from there, too.
2007-12-11 08:24:27 -08:00
Dan Nicholson
70d0c83890 autoconf: glut doesn't need Xt
Don't link glut with libXt since it's not needed.
(see commit ce98779571)
2007-12-11 08:24:27 -08:00
Brian
4a4543f536 Fix align16() function to work with 32/64-bit pointers on big-endian. 2007-12-11 09:13:12 -07:00
Brian
23ca30e24b change align_malloc() alignment to uint 2007-12-11 09:09:06 -07:00
Brian
5b8b542cb2 Move align_malloc(), align_free() to p_util.h 2007-12-11 09:00:01 -07:00
Brian
9f0e5642d8 use ALIGN16_ATTRIB from p_compiler.h 2007-12-11 09:00:01 -07:00
Brian
1bc303283e Remove obsolete clear_color, tex sampler state 2007-12-11 09:00:01 -07:00
Brian
6465c78049 Remove obsolete clear_color, tex sampler state functions 2007-12-11 09:00:01 -07:00
Brian
f9562ff85d add missing case statements for TGSI_TOKEN_TYPE_IMMEDIATE and assert(0)
We're hitting this with quite a few Mesa demos.
2007-12-11 08:18:47 -07:00
Zack Rusin
a0dacbf369 Adopt llvm to some of the latest changes. 2007-12-11 09:49:34 -05:00
Zack Rusin
63a9d835ce Redo the fragment program examples to match vp's
we just load text files instead of compiling tons of small
binaries
2007-12-11 09:49:34 -05:00
Zack Rusin
025b140b2f Add a simple fps counter to the example 2007-12-11 09:49:33 -05:00
Zack Rusin
6dc4e6ae15 Redo the way we pass arguments to the llvm.
simply pass aligned arrays, they should cast to vectors without
any problems. also remove unnecessary memset
2007-12-11 09:49:33 -05:00
Zack Rusin
9d6e6e86d9 number of outputs is nr_attribs - 2 2007-12-11 09:49:33 -05:00
Zack Rusin
1f30efb736 Implement kilp and make it work 2007-12-11 09:49:33 -05:00
Zack Rusin
8681deddd7 Rewrite argument passing to prepare for handling of the kil instruction.
Pass the inputs/outputs pointer in the structure instead of infinitely
expanding arguments to the functions.
2007-12-11 09:48:13 -05:00
Keith Whitwell
c3af68dc50 gallium: remove set_sampler_units interface
The effect of this mapping can be acheived by the state tracker and
setting up the pipe texture state pointers to incorporate its affects.
2007-12-11 14:39:37 +00:00
Roland Scheidegger
46c405663b add simple test for two-sided stencil functionality 2007-12-11 15:38:34 +01:00
Roland Scheidegger
8dc188485b make sure state token values are fully initialized 2007-12-11 15:38:33 +01:00
Keith Whitwell
94cadef31f gallium: remove redundant clear_color state. 2007-12-11 13:19:33 +00:00
Keith Whitwell
48731280d0 gallium: Remove feedback interfaces from pipe driver.
Something similar will return when geometry shaders are added, but for now
this interface is not required.
2007-12-11 13:14:56 +00:00
Keith Whitwell
89afc929f4 gallium: remove dead pbo zcopy code 2007-12-11 13:14:56 +00:00
Zack Rusin
60b8900b13 Hmm, missed these two files. Sorry. 2007-12-11 07:44:07 -05:00
Zack Rusin
c474f1fb90 Port i965 driver to Gallium3D.
This is a squashed commit of i965 branch on
ssh://people.freedesktop.org/~zack/mesa
Because of the porting the branch often didn't compile so
squashing it makes more sense.
The port is still far from complete.
2007-12-11 07:39:06 -05:00