José Fonseca
cd8b652303
gallium: Introduce a new format to disambiguate PIPE_FORMAT_R8G8B8A8_UNORM.
...
PIPE_FORMAT_R8G8B8A8_UNORM now means just
R8 G8 B8 A8
PIPE_FORMAT_R8G8B8A8_UNORM_REV means
A8 B8 G8 R8
And the thumb rule is vertex buffers refer to PIPE_FORMAT_R8G8B8A8_UNORM,
while textures refer to PIPE_FORMAT_R8G8B8A8_UNORM_REV.
PIPE_FORMAT_R8G8B8A8_UNORM_REV is just a temporary name.
2010-03-01 16:24:09 +00:00
José Fonseca
018f4aca79
util: Fix PIPE_FORMAT_R8G8B8_UNORM description and notes.
...
There is actually no ambiguity in use -- it is always used as
R8 G8 B8
2010-03-01 16:07:53 +00:00
José Fonseca
4c3bfc9778
gallium: Remove inexisting formats.
...
Can't find these formats used in any state tracker or any API.
For some of these probably the reverse notation was meant, for which
formats already exist.
2010-03-01 15:17:41 +00:00
José Fonseca
cfdc146247
util: Remove inexisting formats.
...
Can't find these formats used in any state tracker or any API.
For some of these probably the reverse notation was meant, for which
formats already exist.
2010-03-01 15:16:54 +00:00
José Fonseca
28f2888565
util: A few more links for D3D formats.
2010-03-01 15:14:30 +00:00
José Fonseca
3a26193fd5
r300: Don't implement PIPE_FORMAT_R8G8B8X8_SNORM.
...
This format is not actually used by any state tracker. Probably the
reverse notation was mean, which would make it identical to
PIPE_FORMAT_X8B8G8R8_SNORM.
2010-03-01 15:14:00 +00:00
José Fonseca
b66b4cf646
util: A few more todo marks.
2010-03-01 14:56:20 +00:00
José Fonseca
4a991b5783
util: More documentation for u_format.csv
2010-03-01 14:56:20 +00:00
José Fonseca
ffe90af2e8
util: Tweak comments regarding R8G8B8A8/X8_UNORM.
2010-03-01 14:56:20 +00:00
José Fonseca
bd3c063da8
python: Don't mention deprecated drivers=trace option.
...
Now trace always built.
2010-03-01 14:56:19 +00:00
José Fonseca
f54aecc4f2
python: Don't mention deprecated drivers=trace option.
...
Now trace always built.
2010-03-01 13:08:07 +00:00
José Fonseca
e243e87b52
llvmpipe: Don't mention deprecated drivers=trace option.
...
Now trace always built.
2010-03-01 13:08:07 +00:00
Marek Olšák
d2ac3d5e79
r300g: atomize texture and sampler states
2010-02-28 19:30:39 +01:00
Marek Olšák
942762cd97
r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT)
...
Formerly known as vertex_format_state. These two are completely
unrelated when using HWTCL and decoupling them makes the design
less SWTCL-centric.
When bypass_vs_clip_and_viewport gets removed, the PSC setup will
no longer be a derived state.
This change shouldn't make unbreaking SWTCL harder.
2010-02-28 19:30:39 +01:00
Jakob Bornecrantz
79a86d312d
i965g: Fix texture creation
2010-02-28 16:28:44 +00:00
Marek Olšák
d36e3952c2
r300g: put validating buffers after flushing
...
Also cleaning up the nasty validation process.
2010-02-28 00:46:35 +01:00
Marek Olšák
4ed97f0a73
r300g: use the atom size directly during emission
2010-02-28 00:46:35 +01:00
Marek Olšák
279715e76e
r300g: atomize invalidation of texture caches
2010-02-28 00:46:35 +01:00
Marek Olšák
fe6d3b9222
r300g: atomize PVS flush
...
The first non-state atom. It's better and cleaner to have it.
2010-02-28 00:46:35 +01:00
Marek Olšák
841122d0e8
r300g: add size parameter to the atom emit functions
...
Maintaining a closer relationship between the atom size and what's passed
in BEGIN_CS.
2010-02-28 00:46:35 +01:00
José Fonseca
1eba490202
util: Fix X8/A8B8G8R8_SNORM's swizzle.
2010-02-27 20:29:14 +00:00
Marek Olšák
74f94e8fdf
r300g: move the emission of GA_POINT_MINMAX into emit_fb_state
...
The only practical limits are the ones derived from the currently-set
framebuffer state.
2010-02-27 20:09:38 +01:00
Marek Olšák
a3d4d0dec2
r300g: put the emission of R300_US_OUT_FMT_UNUSED back
...
It wasn't such a good idea to remove it. :/
2010-02-27 20:09:38 +01:00
Marek Olšák
f129a7dd68
r300g: mark rasterizer_state as dirty only when it's not NULL
2010-02-27 20:08:46 +01:00
Marek Olšák
c05f998f02
radeong: clean up includes
2010-02-27 18:40:47 +01:00
Marek Olšák
93da152209
r300g: always emit the correct max vertex index to avoid DRM errors
...
Fixing bizarre reports that a vertex buffer is not large enough.
2010-02-27 18:39:35 +01:00
Marek Olšák
dba7ad8953
r300g: remove pointless "while"
2010-02-27 18:37:44 +01:00
Vinson Lee
307071fe1e
st/dri: Assert pointer is not null before dereferencing.
2010-02-27 02:01:56 -08:00
Jakob Bornecrantz
bbefd86125
st/xorg: Re-enable crtc on resize
2010-02-27 02:12:48 +00:00
Jakob Bornecrantz
122b472814
st/xorg: Fix copy-topy
2010-02-27 02:12:48 +00:00
Jakob Bornecrantz
cfbf75670d
vmware/xorg: Bump to match vmware driver
2010-02-27 02:12:48 +00:00
Jakob Bornecrantz
956cd73c23
st/xorg: Make resize fail gracefully
2010-02-27 02:12:48 +00:00
Jakob Bornecrantz
bad4b29d77
st/xorg: Obey max {width|height} from kernel and Gallium
2010-02-27 02:12:48 +00:00
Thomas Hellstrom
55e5737bae
st/xorg: Encapsulate all customizable stuff in a separate class.
...
This avoids exposing the ms driver structure to the winsys,
and nicely encapsulates driver customizable stuff.
In the future more things might be customizable by the winsys, like
throttling, 3D readback etc.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-02-27 02:12:47 +00:00
Jakob Bornecrantz
ab8a232b2c
vmware/xorg: Export modinfo just as the other vmware X drivers does
2010-02-27 02:12:47 +00:00
Jakob Bornecrantz
dfe0cc4b02
st/xorg: A bit more debugging info
2010-02-27 02:12:47 +00:00
Jakob Bornecrantz
1eb5b42097
st/xorg: Make default of debugging fallbacks smart
...
Set it to the same as 2d acceleration
2010-02-27 02:12:47 +00:00
Jakob Bornecrantz
d11f9a7bd8
drm/vmware: Latest interface changes are backwards incopatible
...
Since the execbuffer change actually changed size off the ioctl
struct and not just a reuse of padded bits, we can't support
old kernels as easily as the scanout change was.
2010-02-27 02:12:47 +00:00
Thomas Hellstrom
0a1b760cd2
st/xorg, vmware/xorg: Fix xnfcalloc arguments.
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-02-27 02:12:47 +00:00
Thomas Hellstrom
4fd43b0922
vmware: Update vmwgfx_drm.h to kernel version.
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-02-27 02:12:47 +00:00
Christoph Bumiller
d1fe9bcc3f
nv40: fix include of nv04_surface_2d.h
2010-02-26 21:16:52 +01:00
Brian Paul
f519d3d6b6
gallium: define GENERATED auxiliary files
...
Don't need special default dependency on u_format_pack.h anymore.
2010-02-26 12:32:04 -07:00
Brian Paul
f89c237c2c
gallium: added GENERATED_SOURCES var to Makefile.template
...
For use in dependency checking and make clean.
2010-02-26 12:32:04 -07:00
Brian Paul
ac56a44d5e
Revert "gallium: remove unneeded -I path from Makefile.templast"
...
This reverts commit d9c65ddd52 .
Looks like the nouveau drivers need this. Perhaps the drivers
could be fixed to add the extra -I path where needed. I'll leave
that up to others.
2010-02-26 10:54:20 -07:00
Brian Paul
5ed444a7a4
gallium/nouveau: clean-up #includes
2010-02-26 10:54:05 -07:00
Brian Paul
d9c65ddd52
gallium: remove unneeded -I path from Makefile.templast
2010-02-26 10:44:41 -07:00
Brian Paul
298a035286
softpipe: fix up #includes
2010-02-26 10:43:56 -07:00
Brian Paul
3f9ec9aa96
gallium/trace: remove unneeded path prefixes on #includes
2010-02-26 10:43:19 -07:00
Brian Paul
549ce30784
gallium/identity: remove unneeded path prefixes on #includes
2010-02-26 10:43:04 -07:00
José Fonseca
c78f84eebb
util: Define SRGB's channels as normalized.
...
A better approximation than uscaled...
2010-02-26 16:46:34 +00:00