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
d3004d9156
radeon: Assert pointer is not null before dereferencing.
...
Add back an assert that was removed in commit
cd5f167353 .
2010-02-27 02:28:00 -08:00
Vinson Lee
e63f532d26
dri: Assert pointer is not null before dereferencing.
2010-02-27 02:18:06 -08:00
Vinson Lee
307071fe1e
st/dri: Assert pointer is not null before dereferencing.
2010-02-27 02:01:56 -08:00
Vinson Lee
226d981738
r600: Assert pointer is not null before dereferencing.
2010-02-27 01:52:46 -08:00
Vinson Lee
24a8b470ba
glsl: Assert input to strcmp is not null.
2010-02-27 00:31:14 -08:00
Vinson Lee
fd29be3831
glsl: Assert pointer is not null before dereferencing.
2010-02-27 00:08:14 -08:00
Vinson Lee
be97d2c0a6
mesa: Remove unnecessary header.
2010-02-26 23:58:59 -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
Alex Deucher
52eb2ef6bf
r600: enable OQ on rv740 on drms with working pipe config
2010-02-26 15:26:51 -05:00
Klaus Schnass
424a8385e4
r600: fail to validate unsupported texture formats
2010-02-26 15:26:51 -05:00
Christoph Bumiller
d1fe9bcc3f
nv40: fix include of nv04_surface_2d.h
2010-02-26 21:16:52 +01:00
Kristian Høgsberg
69a0f375cc
eglinfo: Wrap extension string
2010-02-26 15:11:29 -05:00
Kristian Høgsberg
a509b8cc24
xeglgears: Add an case that exercises EGL_KHR_gl_renderbuffer_image
2010-02-26 14:52:14 -05:00
Kristian Høgsberg
557c20b309
egl_dri2: Implement EGL_KHR_gl_renderbuffer_image
2010-02-26 14:52:14 -05:00
Kristian Høgsberg
d7322c9d42
intel: Lookup requested renderbuffer in intel_create_image_from_renderbuffer
...
Previously we'd use the current renderbuffer.
2010-02-26 14:52:14 -05:00
Brian Paul
b056e15662
progs/tests: add compile-time option for coloring texture corners
...
When debugging wrap modes it's helpful to set each corner of the texture
image to a distinct color.
2010-02-26 12:32:04 -07: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
Dan Nicholson
3a650ba3a2
progs/glsl: Ensure CFLAGS are passed during linking
...
Commit ab6825b3e3 fixed an issue where the
architecture option -m32 wasn't being passed to the compiler when
linking .o files. This would only fix the issue with user's building
with the hacky --enable-32-bit. The right way to fix this is to pass
CFLAGS to the linker, which the GNU make builtin rules unfortunately
don't do.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Török Edwin <edwintorok@gmail.com>
2010-02-26 11:05:54 -08:00
Kristian Høgsberg
88c174d182
xeglgears: Clean up the code a bit
...
Still a mess...
2010-02-26 13:18:47 -05:00
Kristian Høgsberg
ea203de2d0
Set API dispatch pointers for OES_EGL_image functions
...
This chunk fell through the cracks when I rebase the EGLImage patch series.
2010-02-26 13:18:47 -05: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
Markus Fleschutz
83f1183e76
glx: fix incorrect array stack memory allocation
...
The array stack space wasn't allocated to the proper size. Fixes out of
bounds memory writes when the client/array stack depth exceeds one.
See fd.o bug 26768.
2010-02-26 10:34:21 -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
José Fonseca
9beb302212
util: Code generate functions to pack and unpack a single pixel.
...
Should work correctly for all pixel formats except SRGB formats.
Generated code made much simpler by defining the pixel format as
a C structure. For example this is the generated structure for
PIPE_FORMAT_B6UG5SR5S_NORM:
union util_format_b6ug5sr5s_norm {
uint16_t value;
struct {
int r:5;
int g:5;
unsigned b:6;
} chan;
};
Not used everywhere yet because it seems compiled code is slower than
bitshift arithmetic by some misterious reason. So we should generate
bitshift arithmetic at least for the simple UNORM pixel formats.
2010-02-26 16:46:34 +00:00
José Fonseca
4757325951
util: Factor some code into u_format_parse.py
2010-02-26 16:46:34 +00:00
José Fonseca
fda9a19b34
util: Add util_bswap16.
2010-02-26 16:46:34 +00:00
José Fonseca
092010db37
util: Use python names consistent with u_format.h
2010-02-26 16:46:34 +00:00
Brian Paul
fe25476c04
mesa: fix _BaseFormat assignment in _mesa_soft_renderbuffer_storage()
...
The rb->InternalFormat field will be set by the caller if the allocation
succeeds. Until then, this field's value can't be used. Fixes a failed
assertion with FlightGear.
2010-02-26 09:03:34 -07:00