José Fonseca
25e658a7cf
Mention 965 driver on main page.
17 years ago
José Fonseca
87e3566604
Write a nicer doxygen main page, based on the TG's Gallium3D technical overview pages.
17 years ago
José Fonseca
01434dd3bd
Cover LLVM code in doxygen output.
17 years ago
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.
17 years ago
Michel Dänzer
88723b2fc8
Remove internal_format field from struct pipe_texture.
It's state tracker specific / not really necessary anyway.
17 years ago
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.
17 years ago
Keith Whitwell
b247ab0363
965: remove duplicate brw_draw functions, make init a bit cleaner
17 years ago
Keith Whitwell
ecb5e14e86
gallium: remove clear values from depth, stencil state
17 years ago
Brian
4a4543f536
Fix align16() function to work with 32/64-bit pointers on big-endian.
17 years ago
Brian
23ca30e24b
change align_malloc() alignment to uint
17 years ago
Brian
5b8b542cb2
Move align_malloc(), align_free() to p_util.h
17 years ago
Brian
9f0e5642d8
use ALIGN16_ATTRIB from p_compiler.h
17 years ago
Brian
1bc303283e
Remove obsolete clear_color, tex sampler state
17 years ago
Brian
6465c78049
Remove obsolete clear_color, tex sampler state functions
17 years ago
Brian
f9562ff85d
add missing case statements for TGSI_TOKEN_TYPE_IMMEDIATE and assert(0)
We're hitting this with quite a few Mesa demos.
17 years ago
Zack Rusin
a0dacbf369
Adopt llvm to some of the latest changes.
17 years ago
Zack Rusin
63a9d835ce
Redo the fragment program examples to match vp's
we just load text files instead of compiling tons of small
binaries
17 years ago
Zack Rusin
025b140b2f
Add a simple fps counter to the example
17 years ago
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
17 years ago
Zack Rusin
9d6e6e86d9
number of outputs is nr_attribs - 2
17 years ago
Zack Rusin
1f30efb736
Implement kilp and make it work
17 years ago
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.
17 years ago
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.
17 years ago
Keith Whitwell
94cadef31f
gallium: remove redundant clear_color state.
17 years ago
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.
17 years ago
Keith Whitwell
89afc929f4
gallium: remove dead pbo zcopy code
17 years ago
Zack Rusin
60b8900b13
Hmm, missed these two files. Sorry.
17 years ago
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.
17 years ago
José Fonseca
12363674e5
Add surface storage allocation function to winsys interface.
17 years ago
José Fonseca
609538f57c
Add inline funtion to comput format size based on code in st_format.c.
Including state_tracker/st_format.h from pipe drivers is not an option
since it uses GL* types and pipe/p_util.h will clash with main/imports.h.
17 years ago
Brian
7d1894c655
Cell: first triangle.
This is a feeble first step, but it works.
The cell_clear_surface() function has been hijacked to set up a "draw triangle"
command and send it to all the SPUs.
The Gallium softpipe triangle code was copied to the SPU module and modified.
Only the progs/trivial/clear.c program runs.
17 years ago
Brian
aef25b1994
set window size to 256x256
17 years ago
Brian
c9f9c50980
XXX comments about some hard-coded values that need to be fixed
17 years ago
Brian
5d41a71392
minor clean-ups, comments
17 years ago
Keith Whitwell
0a79c65073
gallium: use hardcoded cliptest code for fixed planes
17 years ago
Keith Whitwell
f2feb2e4c7
gallium: disable assert(0) in xmesa_surface()
17 years ago
Keith Whitwell
7c306afdaa
gallium: remove unnecessary guards on qs->next
17 years ago
Brian
e53303ba3b
Cell driver state-setter functions, basic tile get/put, glClear.
The state setting code was mostly just copied from the softpipe driver.
The SPUs can now get/put framebuffer tiles from/to main memory and clear
them to a given color. Lots of debug code in effect.
Tiled framebuffer is displayed in X window via the xmwinsys layer.
To enable Cell driver, export GALLIUM_CELL=1
17 years ago
Brian
e248f94050
remove ~ backup files
17 years ago
Brian
36ef54deae
remove -Wall, add -DGALLIUM_CELL
17 years ago
Brian
4f58d9af9a
Add 'type' parameter to is_format_supported() to specify texture vs. drawing surface, etc.
Additional types may be added in the future.
17 years ago
Brian
f26936b352
disable assertion in sp_tile_cache_set_surface() for now
17 years ago
Brian
4ccd3124f6
implement i915_put_tile_rgba() - temporary code though
17 years ago
Brian
1b20b2d53b
don't use get/put_tile_rgba() for accum buffer accesses
17 years ago
Michel Dänzer
37484a3874
Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.
intel_winsys works again.
17 years ago
Michel Dänzer
41ce1f8fb3
Link fewer common objects into Gallium winsys layers.
These are useless or even harmful due to referencing symbols no longer
available in the Gallium build.
17 years ago
Ben Skeggs
f7195b3232
Correct user VBO size.
17 years ago
Michel Dänzer
913703d4b8
Remove stray references to struct pipe_region.
17 years ago
Brian
63e2ab83f6
use quadColor local var
17 years ago
Brian
9884838273
Fix looping for multi-color buffer writing.
17 years ago