Jakob Bornecrantz
3f9de6ff7d
egl: Updated EGL samples to use new i915 EGL winsys
2008-05-14 17:20:25 +02:00
Jakob Bornecrantz
d07fbdd939
i915: Added EGL winsys
2008-05-14 17:19:44 +02:00
Ben Skeggs
9a01ee4424
nv40: fix typo in one of the previous commits
2008-05-14 18:35:37 +10:00
Ben Skeggs
bc1696862c
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
2008-05-14 18:13:36 +10:00
Xiang, Haihao
4b7d301c94
_generic_read_RGBA_span_BGRA8888_REV_SSE2: It should adjust the source
...
and target pointers after do the first 2 pixels. fix bug #15850
2008-05-14 09:55:08 +08:00
Zack Rusin
1c624846a8
decomposition from keith, adds decomposition of more prim to the pipeline
2008-05-13 17:59:09 -04:00
Alex Deucher
f86baae1a7
R300: clean up GA registers
2008-05-13 16:12:57 -04:00
Alex Deucher
de3fc8b1c4
R3xx: clean up ZB registers
2008-05-13 15:46:23 -04:00
Alex Deucher
c5b7a1ee3c
R300: clean up CB registers
2008-05-13 14:32:30 -04:00
Eric Anholt
cba90d4a77
[GEM] Actually include the presumed offset in initial relocations.
...
This avoids kernel relocations for most batchbuffer relocs.
2008-05-13 11:30:18 -07:00
Alex Deucher
8d70181b03
R300: clean up Fog registers
2008-05-13 14:02:29 -04:00
Alex Deucher
d09aa2138b
R500: fixup r300EmitClearState() FP for r5xx
2008-05-13 13:38:30 -04:00
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