Brian Paul
5f40a7aed1
glx: replace assertion with conditional
...
See fd.o bug 26832.
2010-03-02 07:38:15 -07: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
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
George Sapountzis
7b454b00a4
glapi.c: misc cosmetic
...
mainly, move the multithread check mutex out of the dispatch/context block,
closer to where it is used.
2010-03-01 20:54:19 +02:00
George Sapountzis
cccdc1783f
glapi.c: mv init_glapi_relocs to glapi_getproc.c
2010-03-01 20:54:19 +02:00
George Sapountzis
fae5758fac
glapi.c: mv check_table to glapi_getproc.c
2010-03-01 20:54:19 +02:00
George Sapountzis
42f3241e04
glapi.c: split check_table to not_null and get_proc
2010-03-01 20:54:18 +02:00
George Sapountzis
750a7f1f1d
glapi.h: drop dispatch_override prototypes
...
cannot find them in mesa tree
2010-03-01 20:54:18 +02:00
George Sapountzis
57d31591d1
glapi.h: misc cosmetic
...
- revert context/dispatch order, similar to glapi.c
- stray GL_GLEXT_PROTOTYPES
2010-03-01 20:54:18 +02:00
George Sapountzis
a4ec52f245
glapi.h: consolidate GET_DISPATCH() and GET_CURRENT_CONTEXT() macros
...
Use likely() macro, as this is what most projects use.
Drops GL_CALL define, cannot find it in mesa tree.
Also, whitespace cleaunps in glthread.h
2010-03-01 20:54:17 +02:00
Michal Krol
9a2c4f907b
tgsi: Cleanup exec code for CLAMP, CMP and CND.
2010-03-01 17:57:18 +01:00
Michal Krol
b42455c4f4
r300: Save viewport and clip states before invoking blitter.
2010-03-01 17:07:03 +01:00
Michal Krol
932e6f8d52
util: Fix u_blitter setup code after bypass_vs_clip_and_viewport removal.
...
Not tested.
2010-03-01 17:06:20 +01:00
José Fonseca
b66b4cf646
util: A few more todo marks.
2010-03-01 14:56:20 +00:00
José Fonseca
4a991b5783
util: More documentation for u_format.csv
2010-03-01 14:56:20 +00:00
José Fonseca
ffe90af2e8
util: Tweak comments regarding R8G8B8A8/X8_UNORM.
2010-03-01 14:56:20 +00:00
José Fonseca
bd3c063da8
python: Don't mention deprecated drivers=trace option.
...
Now trace always built.
2010-03-01 14:56:19 +00:00
José Fonseca
f54aecc4f2
python: Don't mention deprecated drivers=trace option.
...
Now trace always built.
2010-03-01 13:08:07 +00:00
José Fonseca
e243e87b52
llvmpipe: Don't mention deprecated drivers=trace option.
...
Now trace always built.
2010-03-01 13:08:07 +00:00
José Fonseca
c05c675de6
progs/gallium: Make a phony target "unit" to run unit tests.
2010-03-01 13:08:06 +00:00
Francisco Jerez
e7ca0e126e
dri/nouveau: Combine the dummy texture more deterministically on nv0x.
2010-03-01 02:07:01 +01:00
Francisco Jerez
c7955f1341
dri/nouveau: Fix up the ADD texture environment on nv0x.
2010-03-01 02:07:01 +01:00
Andrew Randrianasulu
394672659d
dri/nouveau: Add two stencil operation cases in nv04_state_raster.c.
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-01 02:07:00 +01:00
Andrew Randrianasulu
949587d169
dri/nouveau: Allow to render to XRGB8888 textures.
...
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-01 02:06:13 +01:00
Marek Olšák
d2ac3d5e79
r300g: atomize texture and sampler states
2010-02-28 19:30:39 +01:00
Marek Olšák
942762cd97
r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT)
...
Formerly known as vertex_format_state. These two are completely
unrelated when using HWTCL and decoupling them makes the design
less SWTCL-centric.
When bypass_vs_clip_and_viewport gets removed, the PSC setup will
no longer be a derived state.
This change shouldn't make unbreaking SWTCL harder.
2010-02-28 19:30:39 +01:00
Jakob Bornecrantz
79a86d312d
i965g: Fix texture creation
2010-02-28 16:28:44 +00:00
Alex Weiss
54f9c509a1
Fixed mklib to properly merge static libraries on darwin.
...
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-02-28 00:55:03 -08:00
Vinson Lee
909c08d177
dri: Remove dead code.
2010-02-27 21:57:38 -08:00
Vinson Lee
edd6c338cf
glut: Add asserts to check for null pointer dereferences.
2010-02-27 21:19:47 -08:00
Vinson Lee
706fffbff5
glx: Add assert to check input to memcpy.
2010-02-27 20:23:17 -08:00
Vinson Lee
75dba756b2
mesa: Add asserts to check inputs to memcpy.
2010-02-27 20:11:31 -08:00
Vinson Lee
bfdee9cc70
mesa: Add assert to check input to memcpy is not null.
2010-02-27 17:19:31 -08:00
Vinson Lee
65974f67e1
glsl: Move assert from outside to inside of _slang_gen_swizzle function.
2010-02-27 17:01:25 -08:00
Vinson Lee
cab77711b3
dri: Add assert to check for null pointer dereference.
2010-02-27 16:51:17 -08:00
Vinson Lee
975f105bb8
i810: Add assert to check for null pointer dereference.
2010-02-27 16:41:49 -08:00
Vinson Lee
b45af1ec61
mach64: Add asserts to check for null pointer dereferences.
2010-02-27 16:38:09 -08:00
Vinson Lee
689249bcbe
mga: Add assert to check for null pointer dereference.
2010-02-27 16:30:49 -08:00
Vinson Lee
a5406444ae
r128: Add assert to check for null pointer dereference.
2010-02-27 16:28:30 -08:00