Commit graph

92185 commits

Author SHA1 Message Date
Ben Skeggs
666ac923f0 nouveau: remove winsys-related stuff from nouveau_local.h 2008-05-14 00:25:09 +10:00
Alex Deucher
9ef4126d48 R300: cleanup FS code and fill in missing details 2008-05-13 08:37:58 -04:00
Alex Deucher
0cc8ed5ccc R3xx: more PVS cleanup 2008-05-13 06:09:55 -04:00
Ben Skeggs
1ef08564d2 nouveau: remove chipset fields in all nv pipe driver context/screen structs. 2008-05-13 12:16:35 +10:00
Ben Skeggs
2f80d4d2a7 nouveau: make nouveau_device.h part of public API 2008-05-13 12:09:04 +10:00
Ben Skeggs
c962ad7cd5 nouveau: create objnull during channel creation 2008-05-13 12:06:32 +10:00
Ben Skeggs
83e6df12ea nouveau: chipset is a device property, remove from nv/nvc. 2008-05-13 12:01:08 +10:00
Ben Skeggs
9b0054c7f8 nv50: slightly less skeletal texture funcs, prevents fun segfaults 2008-05-13 12:00:18 +10:00
Ben Skeggs
32ed02bcfb nv50: report some supported formats to keep the state tracker from asserting. 2008-05-13 12:00:14 +10:00
Zack Rusin
19f15277d1 adjust llvm code to the changes in 2.3 2008-05-12 17:17:18 -04:00
Keith Whitwell
bbda45ec76 draw: turn fse path into a middle end
Also add some util functions in pt_util.c
2008-05-12 19:40:20 +01:00
Keith Whitwell
44463b2997 draw: streamline the varray path
- drop support for running the pipeline (ie. don't populate the flags values)
- pass through all split-able primitives intact to the middle end
- only primitives that can't be split are shunted on the draw-element path
2008-05-12 17:40:55 +01:00
Keith Whitwell
f116a14916 softpipe: more work to get non-reduced primitives working in vbuf 2008-05-12 17:40:55 +01:00
Keith Whitwell
90e86363de softpipe: make vbuf handle all primitive types 2008-05-12 17:40:55 +01:00
Keith Whitwell
b5e5369da5 draw: add fetch-shade-emit path
Enable with TEST_FSE=t.  Performs fetch from API-provided vertex buffers,
transformation with one of three (two working) hard-coded shaders, and
final emit to hardware vertices all in a single pass.

Currently only really useful for profiling in conjunction with SP_NO_RAST=t.
2008-05-12 17:40:55 +01:00
Keith Whitwell
de818835de softpipe: add failure paths for context creation 2008-05-12 17:40:55 +01:00
Keith Whitwell
2258f6b437 xlib: add failure paths for context creation 2008-05-12 17:40:55 +01:00
Keith Whitwell
7ddb925b8b draw: mimize cost of translate key compares, use cache universally 2008-05-12 17:40:54 +01:00
Keith Whitwell
c0a6040f56 translate: helper functions for mimizing cost of key compares 2008-05-12 17:40:54 +01:00
Alex Deucher
e000f2ab6e Merge branch 'r500-support' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r500-support 2008-05-12 11:58:35 -04:00
Alex Deucher
2a4d1085cb R500: add support for 4k textures 2008-05-12 11:57:08 -04:00
Keith Packard
145523ba3a [intel] update GEM api. Add bo_subdata and bo_get_subdata driver hooks.
Track DRM GEM name changes.
Add driver hooks for bo_subdata and bo_get_subdata so that GEM can use pread
and pwrite.
2008-05-11 00:16:25 -07:00
Brian
6807b4f6b1 gallium: optimize the flush_spans() function 2008-05-10 12:46:55 -06:00
Brian
140b3f7f9c gallium: remove unused code 2008-05-10 12:46:55 -06:00
Dan Nicholson
738d811b04 Don't link demos directly to X libraries
Since the linker will just pull in the libraries needed from libGL, we
don't need to link the demos directly to the X libraries. Fixes #15886.
2008-05-09 16:19:50 -07:00
Michel Dänzer
73c5505c13 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-09 18:16:02 +01:00
Michel Dänzer
7462f0557f draw: Fix number of vertices allocated in draw_pt_emit(). 2008-05-09 18:15:49 +01:00
Roland Scheidegger
a1f95a8bf6 gallium: depth textures have usage depth_stencil instead of render_target 2008-05-09 16:56:23 +02:00
Dan Nicholson
2d709fe272 autoconf: Allow XCB to be used for GLX
Adds an --enable-xcb switch to use XCB in GLX. This only has an effect
when the driver is DRI.
2008-05-09 07:10:24 -07:00
Dan Nicholson
5dbbde5b22 Default DRI driver directory to match X.Org xserver
Since the only valid consumer of the DRI drivers is the X.Org xserver,
this changes the default DRI driver directory to match xorg-server:
${libdir}/dri. The old default of /usr/X11R6/modules/dri was wrong for
nearly all current systems.
2008-05-09 07:06:52 -07:00
Dan Nicholson
d368eed9c7 autoconf: Attempt to figure out the PIC flags for the platform
This commit adds an autoconf macro, MESA_PIC_FLAGS, which sets the
PIC flags according to platform and static/shared setting. The platform
specifics are taken straight from libtool.m4 and stripped down to just
the flags and platforms we cover in Mesa. This should hopefully make it
possible to use autoconf on non-GCC platforms.

The macro is added external to configure.ac in acinclude.m4 since it's
pretty bloated.

Note to BSDers: Previously, x86 defaulted to non-PIC on FreeBSD. I
didn't carry that preference into this macro. Instead, you can just use
--disable-pic where desired.
2008-05-09 07:05:16 -07:00
Keith Whitwell
501be9c7dd draw: fix translate double-free, minor cleanups 2008-05-09 15:04:14 +01:00
Keith Whitwell
5ee2b5bdcc draw: fix translate double-free, minor cleanups 2008-05-09 15:02:59 +01:00
Keith Whitwell
2f9b1b9cc2 Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces 2008-05-09 13:11:48 +01:00
Keith Whitwell
1a03812fb5 draw: mimize cost of translate key compares, use cache universally 2008-05-09 13:10:15 +01:00
Keith Whitwell
80474d576c translate: helper functions for mimizing cost of key compares 2008-05-09 13:09:58 +01:00
José Fonseca
54777e124c gallium: Define util_vsprintf. 2008-05-09 18:48:01 +09:00
Keith Whitwell
36e1bc865b Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-09 08:56:01 +01:00
José Fonseca
47f639a629 gallium: Disable debug_get_option for release builds on Windows.
It always creates the C:\gallium.cfg , even if it does not exists, which
might be confusing.
2008-05-09 14:34:51 +09:00
Dave Airlie
0dbd5c8640 intel: use new mipmap generation hooks in driver. 2008-05-09 13:51:37 +10:00
Dave Airlie
86bd98c6aa swrast/dri: switch over users of generate_mipmap to new interface 2008-05-09 13:41:02 +10:00
Dave Airlie
0449bab2f8 Revert "mesa/intel: map/unmap texture objects around mipmap generation function."
This reverts commit c50ffc4cb8.

I'll fix this using the mipmap hooks I just picked from gallium-0.1
2008-05-09 13:33:56 +10:00
Brian
d4e1d85dba Remove unused texunit parameter to ctx->Driver.GenerateMipmap()
(cherry picked from commit c3395f4473)
2008-05-09 13:33:29 +10:00
Dave Airlie
a638676473 Added ctx->Driver.GenerateMipmap() driver hook
(cherry picked from commit 4c2f3dbca9)

Conflicts:

	src/mesa/drivers/common/driverfuncs.c
2008-05-09 13:33:06 +10:00
Dave Airlie
c50ffc4cb8 mesa/intel: map/unmap texture objects around mipmap generation function.
This at least stops the compiz brain explosion we were seeing, I do wonder
though if we should somehow be calling intel_generate_mipmap somehow.
2008-05-09 13:02:41 +10:00
José Fonseca
2268306f58 gallium: Don't serialize GPU writes.
Only make sure the GPU is finished with a buffer before mapping.

The opposite -- waiting for the CPU to be finished before handing
to the CPU -- must be done before fencing.
2008-05-09 11:02:26 +09:00
Brian Paul
f763cc3cb5 gallium: don't free shader.tokens in get_passthrough_fs() 2008-05-08 19:32:49 -06:00
Brian Paul
2a39dbe736 gallium: fix out of tex memory crashes 2008-05-08 19:19:52 -06:00
Brian Paul
044d583ba1 gallium: handle null ptrs 2008-05-08 18:38:02 -06:00
Kristian Høgsberg
990e010394 Add RS690M PCI ID. 2008-05-08 19:48:32 -04:00