George Sapountzis
8bd8aec81d
glapi: drop condvar
...
Seems unused and replaced by functionality in os module.
2010-03-03 21:23:20 +02:00
Alex Deucher
bdbf199a8c
r600: add new rs880 pci id
2010-03-03 14:09:53 -05:00
Kristian Høgsberg
4007342584
egl_dri2: Factor out DRI2 protocol bits from initialize.
2010-03-03 10:47:49 -05:00
Kristian Høgsberg
af3f1bb269
intel: Set InternalFormat for renderbuffers created from an EGLImage
2010-03-03 10:47:49 -05:00
José Fonseca
be1b7d1a04
progs/gallium/unit: Test (un)pack_4ub.
...
Most of them are failing.
2010-03-03 13:47:42 +00:00
José Fonseca
f7e403b129
gallium: Remove PIPE_FORMAT_R8G8B8X8_SNORM.
2010-03-03 13:08:23 +00:00
José Fonseca
a5b56c8153
util: Remove PIPE_FORMAT_R8G8B8X8_SNORM information.
2010-03-03 13:08:08 +00:00
José Fonseca
c51f7a48cd
r300: Remove PIPE_FORMAT_R8G8B8X8_SNORM support.
2010-03-03 13:07:56 +00:00
José Fonseca
c2ba284386
progs/gallium/unit: Remove PIPE_FORMAT_R8G8B8X8_SNORM test cases.
2010-03-03 13:07:43 +00:00
José Fonseca
7b7b66781b
llvmpipe: Linux is no longer a dependency. Llvmpipe builds and runs fine on windows too.
2010-03-03 12:07:39 +00:00
José Fonseca
9f9b44222f
llvmpipe: Centralize LLVM initialization.
2010-03-03 12:02:26 +00:00
José Fonseca
a9e6da7b4c
gallivm: Centralize initialization. Fix stack alignment issues on Windows.
2010-03-03 12:02:26 +00:00
José Fonseca
f58ca9b02b
llvmpipe: Update for lp_bld_init.h rename.
2010-03-03 12:02:26 +00:00
José Fonseca
af36b050eb
gallivm: Rename lp_bld_misc -> lp_bld_init.
2010-03-03 12:02:26 +00:00
Dave Airlie
daf85c4608
radeon/r200/r300/r600: fix blit BO buffer validation
...
there is no need for these to be persistent since we flush the CS
at the end of the blit, and we don't reuse these buffers at all.
on my r600 the Wine DX9 test suite doesn't crash at least anymore.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-03 16:28:53 +10:00
Corbin Simpson
4cb7642ff3
r300g: Use a macro to consolidate general state handling.
...
My God, I've reinvented R300_STATECHANGE. Forgive me. :C
2010-03-02 19:14:09 -08:00
Christoph Bumiller
20443f969d
nv50: fix RT formats after format rename fixes
...
Getting rid of the evil pre-processor magic, but not changing our
internal format naming convention (at least for now).
2010-03-02 19:16:39 +01:00
José Fonseca
aaa2d548ed
nouveau: Rename pipe formats.
...
These format uses were being hiden by pre-processor magic and were
missed in the previous search'n'replace.
2010-03-02 17:26:40 +00:00
José Fonseca
2998cad9ce
Merge branch 'gallium-format-cleanup'
2010-03-02 16:00:34 +00:00
Zack Rusin
faf8215bae
llvmpipe: improve based on review from Jose and fix else clauses
...
else was broken in the outter most else statemants, plus the code
didn't need an inverted mask to compute the inverse of the current
condition.
2010-03-02 10:19:56 -05:00
Keith Whitwell
0c616da241
llvmpipe: remove some ifdefs
...
No longer any need to protect expensive asserts with #ifdef DEBUG.
2010-03-02 15:03:09 +00:00
Keith Whitwell
5fe2ce28b6
llvmpipe: reorganize transfer usage
...
Move transfer creation and mapping to the "scene" object, and out of
the rasterizer. The rasterizer operates on already-mapped
framebuffers only, and no longer needs a screen or context pointer.
The scene object has access to a pipe_context, and this reorg prepares
for moving transfer functionality from the screen to the context.
2010-03-02 15:03:09 +00:00
Brian Paul
8417528e3a
intel: passs correct context type to intel_prepare_render() call
2010-03-02 07:50:15 -07:00
Brian Paul
cb099c2ecf
i965: include macros.h to get CLAMP macro
2010-03-02 07:47:56 -07:00
Brian Paul
5f40a7aed1
glx: replace assertion with conditional
...
See fd.o bug 26832.
2010-03-02 07:38:15 -07:00
José Fonseca
8598cebf43
progs/gallium/unit: Add test cases for single precision floats.
2010-03-02 12:47:16 +00:00
José Fonseca
77d9e93901
progs/gallium/unit: Add test cases for Nx16 and Nx32 integer formats.
2010-03-02 12:40:09 +00:00
Michal Krol
4ca70c489b
Merge branch 'gallium-no-rhw-position'
...
Conflicts:
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_state_derived.c
2010-03-02 13:35:30 +01:00
José Fonseca
915bbc8b0b
progs/gallium/unit: Add more test cases.
2010-03-02 11:30:46 +00:00
José Fonseca
7a31bed4b1
util: Tweak comment for D3D10-like formats.
2010-03-02 11:30:23 +00:00
José Fonseca
4e1aa4a812
progs/gallium/python: Rename pipe formats.
2010-03-02 10:22:35 +00:00
José Fonseca
3b67f87970
gallium/unit: Rename pipe formats.
2010-03-02 10:22:35 +00:00
José Fonseca
496aa4793a
rbug: Rename pipe formats.
2010-03-02 10:21:55 +00:00
José Fonseca
4028fab892
gdi: Rename pipe formats.
2010-03-02 10:21:55 +00:00
José Fonseca
907d5611b2
drm/nouveau: Rename pipe formats.
2010-03-02 10:21:55 +00:00
José Fonseca
b34d138d84
svga: Rename pipe formats.
2010-03-02 10:21:55 +00:00
José Fonseca
b7b07b0029
softpipe: Rename pipe formats.
2010-03-02 10:21:54 +00:00
José Fonseca
b5cfa6f196
r300: Rename pipe formats.
2010-03-02 10:21:21 +00:00
Marek Olšák
ff9ddf4d39
util/blitter: Fix the viewport transformation for Z coordinates
...
When clearing buffers, the depth is specified in the range [0, 1]
and should be passed through blitter "as is".
2010-03-02 10:27:37 +01:00
Vinson Lee
c1c7fa5192
i915g: Add assert to check for null pointer dereference.
2010-03-02 01:15:02 -08:00
Vinson Lee
8462fe2bbf
glsl: Add assert to check input to strcmp.
2010-03-02 01:10:29 -08:00
Vinson Lee
247008f6c2
mesa: Add asserts to check inputs to memcpy.
2010-03-02 01:01:46 -08:00
Dave Airlie
8bf5c229f3
r600: fix blender picking.
...
This fixes the sw fallback for GL_SELECT picking modes.
Fixes object picking blender + depthpick test
http://bugs.freedesktop.org/show_bug.cgi?id=26419
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-02 14:12:28 +10:00
Zack Rusin
80f3cc36c5
llvmpipe: implement some control-flow
...
implements if/else/endif constructs and lays down the code for looping
and others. we create a conditional execution mask which decides which
of the four inputs are enabled for any store. it's used only if an
execution mask is present, otherwise we go through a direct store.
2010-03-01 22:13:22 -05:00
George Sapountzis
d3f24ab33c
glapi: fix compile with ES
2010-03-02 03:32:43 +02:00
José Fonseca
6e48f17a16
glapi: Fix syntax.
2010-03-01 23:18:49 +00:00
Pauli Nieminen
9a7776696b
radeon: Reduce number of radeon_bo_map calls that require kernel entry.
...
DMA buffers are often remapped many times for singel cs. To reduce number of
mapping calls ending to kernel dma buffers are mapped when allocated and unmapped
when full or in cs flush. This makes indifual mapping calls in other parts of
code simple increment/decrement reference count which is faster than entering
kernel.
This improves Anholt's openarena benchmark from 36 fps to 44 fps.
2010-03-01 23:56:35 +02:00
Karl Schultz
a379fa8b30
Remove now obsolete mesa_bzero symbol.
2010-03-01 12:21:13 -07:00
George Sapountzis
d7e6e879fd
glapi: drop SOLARIS_THREADS
...
It seems that SOLARIS_THREADS is not used and does not work.
2010-03-01 20:54:20 +02:00
George Sapountzis
d41ab94d35
glapi.c: misc coscmetic for FreeTSD
...
- move out of of the dispatch/context block to after corresponding init functions
- use more consistent naming with corresponding init functions
- XXX use _glthread_InitTSD() vs (void)_glthread_GetTSD() in _glapi_check_multithread() XXX
2010-03-01 20:54:20 +02:00