Eric Anholt
62a96f74c9
i965: Allow for variable-sized auxdata in the state cache.
...
Everything has been constant-sized until now, but constant buffer
handling changes will make us want some additional variable sized
array.
2010-01-19 11:31:05 -08:00
Eric Anholt
7d4e674b21
intel: Use the new DRI2 flush invalidate entrypoint to signal frame done.
...
Previously for frame throttling we would wait on the first batch after
a swap before emitting another swap, because we had no hook after a
swap was emitted. This meant that if an app managed to squeeze
everything it for a frame had into one batch, it would lock-step with
the GPU. With the swapbuffers changes, we now have the entrypoint we
want.
This takes the WoW intro screen from 25% GPU idle and visibly jerky to
4-5% GPU idle and rather smooth. Other apps such as OpenArena have
run into this problem as well.
2010-01-19 11:07:51 -08:00
Alan Coopersmith
a7aaf052f9
Sun compilers now support some gcc __attribute__ values
...
Sun cc 5.9 and later (__SUNPRO_C >= 0x590) support __attribute__ calls
for aligned, always_inline, noinline, pure, const, and malloc.
This commit includes updates to files that were regenerated by gl_XML.py
after adding the __SUNPRO_C checks to it
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-19 10:15:55 -08:00
Alan Coopersmith
adda7f3215
Check if gcc supports -fvisibility=hidden before adding to CFLAGS
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-19 10:15:55 -08:00
Brian Paul
aec3fe82e4
softpipe: remove redundant assignments
...
We initialized width/height/depth from pt->width0/height0/depth0 above.
2010-01-19 11:14:00 -07:00
Jakob Bornecrantz
65354a7e3d
st/xorg: Pass kernel driver name to drmOpen
2010-01-19 17:12:12 +01:00
Jakob Bornecrantz
a5fb5d6a54
st/drm: Expose kernel driver name
...
Based on patch by Chia-I Wu <olvaffe@gmail.com>
Expose the name of the kernel driver as accepted by drmOpenByName.
2010-01-19 17:10:04 +01:00
Ben Skeggs
116a02be22
st/dri: update dri2 drawables when viewport is changed
...
Fixes gnome-shell on nouveau, as well as window resize with various
other applications.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-01-19 17:06:22 +01:00
Luca Barbieri
e88294328c
glx: Set GL context to null in __glXSetCurrentContextNull
...
__glXSetCurrentContextNull currently does not set the GL context to null
in the direct rendering case.
This can result in a segfault trying to flush an invalid old context
in glXMakeCurrent.
This fixes a crash starting the Unigine demos (they still don't work due
to missing extensions though).
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-19 08:59:37 -07:00
José Fonseca
7a39a5c1cb
wgl: Check for PIPE_TEXTURE_USAGE_DISPLAY_TARGET support in exported color pixel formats.
...
Since all formats we export have PFD_DRAW_TO_WINDOW flag.
2010-01-19 06:14:12 -08:00
José Fonseca
5e870f4fe9
wgl: Don't export pure-stencil pixel formats.
...
They cause DCT's conform to always fail.
2010-01-19 06:14:12 -08:00
José Fonseca
e5da7b8548
softpipe: Fix vertex buffer memory leak.
2010-01-19 06:14:12 -08:00
Vinson Lee
faa99dd31d
unichrome: Remove unnecessary headers.
2010-01-19 00:45:16 -08:00
Vinson Lee
45a27eacd6
mesa: Remove unnecessary header from attrib.c.
2010-01-18 22:50:08 -08:00
Alex Deucher
ef631104d5
r100/r200/r600: fix typo in 2b1d5ea4f0
2010-01-19 01:47:04 -05:00
Vinson Lee
2613fa815a
mesa: Remove unnecessary header from blend.c.
2010-01-18 22:45:23 -08:00
Alex Deucher
2b1d5ea4f0
r100/r200/r600: check if blitting for given format is supported earlier
...
based on Maciej's r300 patch.
2010-01-19 01:42:41 -05:00
Alex Deucher
a67cd1994f
r100/r200: add blit support for ARGB4444
2010-01-19 01:26:35 -05:00
Vinson Lee
c4ad036ce1
mesa: Remove unnecessary headers from buffers.c.
2010-01-18 22:17:03 -08:00
Vinson Lee
7366d8e7d2
mesa: Remove unnecessary header from convolve.c.
2010-01-18 21:56:58 -08:00
Vinson Lee
08063ba449
mesa: Fix typo of 'unknown' in debug.c.
2010-01-18 21:41:31 -08:00
Vinson Lee
b36b85f9d0
mesa: Remove unnecessary headers from debug.c.
2010-01-18 21:37:18 -08:00
Vinson Lee
6deb8c9831
mesa: Remove unnecessary header from depthstencil.c.
2010-01-18 21:34:25 -08:00
Vinson Lee
2660511ea9
mesa: Remove unnecessary headers from dlist.c.
2010-01-18 21:31:02 -08:00
Vinson Lee
7395ab042a
mesa: Remove unnecessary header from drawpix.c.
2010-01-18 21:22:47 -08:00
Vinson Lee
0b3109aa05
mesa: Remove unnecessary header from enable.c.
2010-01-18 21:17:45 -08:00
Vinson Lee
536e3c9168
mesa: Remove unnecessary headers from fbobject.c.
2010-01-18 21:14:04 -08:00
Vinson Lee
b6dce54214
mesa: Remove unnecessary header from formats.c.
2010-01-18 21:07:53 -08:00
Vinson Lee
2cbc3e0a20
mesa: Remove unnecessary header from image.c.
2010-01-18 21:02:19 -08:00
José Fonseca
65fa11959f
softpipe: Skip depth testing for PIPE_S8_UNORM.
2010-01-18 20:34:19 -08:00
José Fonseca
8fb92e96e9
mesa: Handle PIPE_FORMAT_B8G8R8X8_UNORM.
2010-01-18 20:34:19 -08:00
José Fonseca
bcadde2068
pipebuffer: Ensure buffer size/alignment is not zero.
2010-01-18 20:34:19 -08:00
José Fonseca
dc298559c6
svga: Ensure buffer size/alignment is not zero.
2010-01-18 20:34:19 -08:00
Vinson Lee
ebd1075598
mesa: Remove unnecessary headers from lines.c.
2010-01-18 19:32:51 -08:00
Vinson Lee
d0125e3c29
mesa: Remove unnecessary header from mipmap.c.
2010-01-18 19:23:47 -08:00
Vinson Lee
ed5a116eb4
mesa: Remove unnecessary header from pixel.c.
2010-01-18 19:20:56 -08:00
Vinson Lee
2f83948370
mesa: Remove unnecessary headers from pixelstore.c.
2010-01-18 19:14:23 -08:00
Vinson Lee
419ae5a483
mesa: Remove unnecessary header from points.c.
2010-01-18 19:10:05 -08:00
Vinson Lee
80ea879cfa
mesa: Remove unnecessary header from polygon.c.
2010-01-18 19:03:54 -08:00
Alex Deucher
f6d529083f
r60: Add relocs for CB_TILE/FRAG
...
as per 46dc6fd3ed
2010-01-18 22:00:05 -05:00
Vinson Lee
6603550353
mesa: Remove unnecessary header from state.c.
2010-01-18 18:54:54 -08:00
Vinson Lee
ec29ba12a6
mesa: Remove unnecessary headers from texcompress.c.
2010-01-18 18:52:24 -08:00
Vinson Lee
f8db32acbd
st/dri: Add comment for intentional fallthrough in case statement.
2010-01-18 18:14:03 -08:00
Corbin Simpson
09f69b1e5d
docs: Clarify PIPE_TEXTURE_USAGE_DYNAMIC.
2010-01-18 18:06:55 -08:00
Corbin Simpson
f90733c116
docs: Use proper XOR symbol.
2010-01-18 18:06:55 -08:00
Alex Deucher
daccc962a1
r100: add blit support
...
Only enabled with KMS.
2010-01-18 20:56:58 -05:00
Alex Deucher
1ced546577
r200: add blit support
...
Only enabled with KMS.
2010-01-18 20:56:58 -05:00
Corbin Simpson
047719182f
docs: Spacing in TGSI formulae.
...
Some of those still look atrocious. :T
2010-01-18 17:31:56 -08:00
Corbin Simpson
28fd246634
docs: Grammar and refs in Rasterizer.
2010-01-18 17:17:09 -08:00
Corbin Simpson
2598f00078
docs: Cleanup Rasterizer a bit.
...
I'm getting better at this, I think.
2010-01-18 17:12:13 -08:00