Marek Olšák
279715e76e
r300g: atomize invalidation of texture caches
pirms 15 gadiem
Marek Olšák
fe6d3b9222
r300g: atomize PVS flush
The first non-state atom. It's better and cleaner to have it.
pirms 15 gadiem
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.
pirms 15 gadiem
Marcin Slusarz
14771ba7e4
mesa: remove libmesagallium.a on make clean
Signed-off-by: José Fonseca <jfonseca@vmware.com>
pirms 15 gadiem
Vinson Lee
3d3e3a56f2
r300: Add asserts to check for null pointer dereferences.
pirms 15 gadiem
Vinson Lee
5c007f42a1
savage: Add assert to check for null pointer dereference.
pirms 15 gadiem
Vinson Lee
9db6a70af5
sis: Add assert to check function pointer is not null.
pirms 15 gadiem
Vinson Lee
b22437937f
tdfx: Add asserts to check for null pointer dereferences.
pirms 15 gadiem
Vinson Lee
e31a379661
unichrome: Assert that pointer is not null before dereferencing.
pirms 15 gadiem
José Fonseca
1eba490202
util: Fix X8/A8B8G8R8_SNORM's swizzle.
pirms 15 gadiem
José Fonseca
5b3c0c151b
progs/gallium: Add unit tests for pixel format packing/unpacking.
pirms 15 gadiem
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.
pirms 15 gadiem
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. :/
pirms 15 gadiem
Marek Olšák
f129a7dd68
r300g: mark rasterizer_state as dirty only when it's not NULL
pirms 15 gadiem
Marek Olšák
c05f998f02
radeong: clean up includes
pirms 15 gadiem
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.
pirms 15 gadiem
Marek Olšák
dba7ad8953
r300g: remove pointless "while"
pirms 15 gadiem
Vinson Lee
d3004d9156
radeon: Assert pointer is not null before dereferencing.
Add back an assert that was removed in commit
cd5f167353
.
pirms 15 gadiem
Vinson Lee
e63f532d26
dri: Assert pointer is not null before dereferencing.
pirms 15 gadiem
Vinson Lee
307071fe1e
st/dri: Assert pointer is not null before dereferencing.
pirms 15 gadiem
Vinson Lee
226d981738
r600: Assert pointer is not null before dereferencing.
pirms 15 gadiem
Vinson Lee
24a8b470ba
glsl: Assert input to strcmp is not null.
pirms 15 gadiem
Vinson Lee
fd29be3831
glsl: Assert pointer is not null before dereferencing.
pirms 15 gadiem
Vinson Lee
be97d2c0a6
mesa: Remove unnecessary header.
pirms 15 gadiem
Jakob Bornecrantz
bbefd86125
st/xorg: Re-enable crtc on resize
pirms 15 gadiem
Jakob Bornecrantz
122b472814
st/xorg: Fix copy-topy
pirms 15 gadiem
Jakob Bornecrantz
cfbf75670d
vmware/xorg: Bump to match vmware driver
pirms 15 gadiem
Jakob Bornecrantz
956cd73c23
st/xorg: Make resize fail gracefully
pirms 15 gadiem
Jakob Bornecrantz
bad4b29d77
st/xorg: Obey max {width|height} from kernel and Gallium
pirms 15 gadiem
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>
pirms 15 gadiem
Jakob Bornecrantz
ab8a232b2c
vmware/xorg: Export modinfo just as the other vmware X drivers does
pirms 15 gadiem
Jakob Bornecrantz
dfe0cc4b02
st/xorg: A bit more debugging info
pirms 15 gadiem
Jakob Bornecrantz
1eb5b42097
st/xorg: Make default of debugging fallbacks smart
Set it to the same as 2d acceleration
pirms 15 gadiem
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.
pirms 15 gadiem
Thomas Hellstrom
0a1b760cd2
st/xorg, vmware/xorg: Fix xnfcalloc arguments.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
pirms 15 gadiem
Thomas Hellstrom
4fd43b0922
vmware: Update vmwgfx_drm.h to kernel version.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
pirms 15 gadiem
Alex Deucher
52eb2ef6bf
r600: enable OQ on rv740 on drms with working pipe config
pirms 15 gadiem
Klaus Schnass
424a8385e4
r600: fail to validate unsupported texture formats
pirms 15 gadiem
Christoph Bumiller
d1fe9bcc3f
nv40: fix include of nv04_surface_2d.h
pirms 15 gadiem
Kristian Høgsberg
69a0f375cc
eglinfo: Wrap extension string
pirms 15 gadiem
Kristian Høgsberg
a509b8cc24
xeglgears: Add an case that exercises EGL_KHR_gl_renderbuffer_image
pirms 15 gadiem
Kristian Høgsberg
557c20b309
egl_dri2: Implement EGL_KHR_gl_renderbuffer_image
pirms 15 gadiem
Kristian Høgsberg
d7322c9d42
intel: Lookup requested renderbuffer in intel_create_image_from_renderbuffer
Previously we'd use the current renderbuffer.
pirms 15 gadiem
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.
pirms 15 gadiem
Brian Paul
f519d3d6b6
gallium: define GENERATED auxiliary files
Don't need special default dependency on u_format_pack.h anymore.
pirms 15 gadiem
Brian Paul
f89c237c2c
gallium: added GENERATED_SOURCES var to Makefile.template
For use in dependency checking and make clean.
pirms 15 gadiem
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>
pirms 15 gadiem
Kristian Høgsberg
88c174d182
xeglgears: Clean up the code a bit
Still a mess...
pirms 15 gadiem
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.
pirms 15 gadiem
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.
pirms 15 gadiem