Brian Paul
ec459f2aec
llvmpipe: asst. task-related clean-ups
2010-01-19 16:58:25 -07:00
Alex Deucher
1bb6b1d9db
r100/r200: fix dst pitch in blit code
2010-01-19 18:52:19 -05:00
Alex Deucher
f965345ea5
r200: add missing symlink to radeon_tex_copy.c
2010-01-19 18:48:36 -05:00
Maciej Cencora
1f0709fd8f
r100/r200: align to pitch updates in blit interface
2010-01-20 00:09:11 +01:00
Maciej Cencora
2706bc6a88
r200: use common glCopyTex(Sub)Image code
2010-01-19 23:38:35 +01:00
Maciej Cencora
5170d2452b
r100: use common glCopyTex(Sub)Image code
2010-01-19 23:38:35 +01:00
Maciej Cencora
8a4d7393bd
radeon/r300/r600: share common glCopyTex(Sub)Image code
2010-01-19 23:38:34 +01:00
Maciej Cencora
0aed44f8a3
r600: align to r300 changes in the blit code
...
Pitch here means aligned width, not aligned width * bpp.
2010-01-19 23:38:34 +01:00
Maciej Cencora
0174dac5f3
r300/r600: move some bo offsets checking to blit code
...
In preperation for texcopy code sharing.
2010-01-19 23:38:34 +01:00
Maciej Cencora
ac8afd401f
r600: prepare for some code sharing
2010-01-19 23:38:34 +01:00
Maciej Cencora
f54e96c597
r300: check if blitting for given format is supported earlier
...
Prevents failing assertions at later stage.
2010-01-19 23:38:33 +01:00
Maciej Cencora
acac99e35a
r300: use nearest texture filtering for accelerated blits
2010-01-19 23:38:33 +01:00
Maciej Cencora
f2fea26269
r300: fix Y coord flipping in accelerated blits
2010-01-19 23:38:33 +01:00
Maciej Cencora
11affafc75
radeon: use mesa provided _mesa_tex_target_to_face function
2010-01-19 23:38:33 +01:00
Maciej Cencora
9363a813f1
r300: prepare for texcopy code sharing
2010-01-19 23:38:33 +01:00
Maciej Cencora
f542fde77e
radeon: add blit function to vtbl
2010-01-19 23:38:09 +01:00
Jakob Bornecrantz
bea9ed4dc6
svga: Do a more propper creation of textures from handles
2010-01-19 23:30:31 +01:00
Jakob Bornecrantz
c78fe6e050
st/xorg: Don't leak BusID buffer
2010-01-19 23:30:30 +01:00
Eric Anholt
8f7dfe3025
intel: Remove dead note_fence vtbl hook.
2010-01-19 12:09:29 -08:00
Eric Anholt
a45f24c0a4
i965: Improve the hashing of brw_state_cache keys to include the cache_id.
...
No measurable difference on cairoperf.
2010-01-19 11:35:33 -08:00
Eric Anholt
d1cefabf98
i965: Remove obsolete comment about the state atoms.
2010-01-19 11:32:57 -08:00
Eric Anholt
fb4901593c
i965: Upload as many VS constants as possible through the push constants.
...
The pull constants require sending out to an overworked shared unit
and waiting for a response, while push constants are nicely loaded in
for us at thread dispatch time. By putting things we access in every
VS invocation there, ETQW performance improved by 2.5% +/- 1.6% (n=6).
2010-01-19 11:31:23 -08:00
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
Brian Paul
d8d80a8d74
llvmpipe: fix-up comment
2010-01-19 11:58:43 -07: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
Brian Paul
1073e39ab9
llvmpipe: re-order file list, fix indentation
2010-01-19 09:45:51 -07:00
Brian Paul
0fccfc9cc0
llvmpipe: remove unneeded DEBUG checks, use step var
2010-01-19 09:30:44 -07:00
Brian Paul
75f262b8b4
llvmpipe: updated comments
2010-01-19 09:30:13 -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