Brian Paul
f492edee98
llvmpipe: comments
2009-12-03 17:27:37 -07:00
Brian Paul
30c122a4c9
llvmpipe: new comment in do_triangle_ccw()
2009-12-03 17:27:10 -07:00
Vinson Lee
f1172c4030
progs/util: Fix memory leak if LoadRGBImage fails.
...
(cherry picked from commit 041cd0e110 )
2009-12-03 16:24:03 -08:00
Vinson Lee
84de1672d3
progs/util: Fix memory if LoadRGBMipmaps2 fails.
...
(cherry picked from commit 28b8e4bcd7 )
2009-12-03 16:15:22 -08:00
Vinson Lee
4ca8e1680e
progs/util: Fix memory leak if LoadYUVImage fails.
...
(cherry picked from commit 0e790ac353 )
2009-12-03 16:03:22 -08:00
Brian Paul
4e058f6c48
llvmpipe: fix incorrect array indexing when saving blend color
2009-12-03 17:00:22 -07:00
Vinson Lee
d6a993135f
progs/fp: Redraw upon keypress.
...
(cherry picked from commit cde6643724 )
2009-12-03 15:59:56 -08:00
Vinson Lee
005242f166
prog/tests: Fix MSVC build.
...
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 9c3197ef0a )
2009-12-03 15:53:13 -08:00
Vinson Lee
d3208678c2
progs/tests: fix MSVC build.
...
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit a8ed066858 )
2009-12-03 15:50:36 -08:00
Vinson Lee
97cbf4943a
progs/tests: Fix MSVC build.
...
(cherry picked from commit 50e113e375 )
2009-12-03 15:45:18 -08:00
Roland Scheidegger
9dfbd1be44
vega: fix missing include
2009-12-04 00:42:53 +01:00
Roland Scheidegger
9c6a9363ef
Merge branch 'gallium-noblocks'
...
Conflicts:
src/gallium/state_trackers/xorg/xorg_exa.c
2009-12-04 00:35:14 +01:00
Vinson Lee
a99bf51bc8
progs/tests: Fix MSVC build.
...
(cherry picked from commit 952bf63e2c )
2009-12-03 15:35:10 -08:00
José Fonseca
28474e1225
progs/tests: Use rand() instead of random().
...
Forgot these on previous commit.
(cherry picked from commit 166957abeb )
2009-12-03 15:34:38 -08:00
José Fonseca
bb6e3af939
progs/tests: Use rand() instead of random().
...
More portable. Same implementation on Linux.
(cherry picked from commit 699260b195 )
2009-12-03 15:32:45 -08:00
Vinson Lee
a38776419b
progs/tests: Fix MSVC build.
...
(cherry picked from commit f7455ad7af )
2009-12-03 15:29:01 -08:00
Vinson Lee
791b754687
prog/tests: Fix MSVC build.
...
(cherry picked from commit 60b6c74583 )
2009-12-03 15:24:43 -08:00
Brian Paul
a9be9cd8be
llvmpipe: comments, clean-ups in lp_rast_priv.h
2009-12-03 16:23:52 -07:00
Vinson Lee
89e747920f
prog/tests: Fix MSVC build.
...
(cherry picked from commit 96fd13c1a0 )
2009-12-03 15:15:12 -08:00
Vinson Lee
5a25adb646
progs/tests: fix MSVC build.
...
(cherry picked from commit 9c778a90ea )
2009-12-03 15:11:25 -08:00
Vinson Lee
3910e88ebf
prog/tests: Fix MSVC build.
...
(cherry picked from commit ea862ec8ff )
2009-12-03 15:05:44 -08:00
Brian Paul
e2f4634456
llvmpipe: checkpoint some initial state binning code
2009-12-03 16:05:12 -07:00
Roland Scheidegger
4153ec547c
gallium: fix remaining users of pipe_reference function
2009-12-03 23:58:30 +01:00
Roland Scheidegger
86c8f70db1
mesa: use _mesa_memcpy for COPY_4FV macro
...
Gets rid of one of the worst strict-aliasing offenders, and actually
produces faster code (at least in some cases, when compiler can use
for instance 64bit moves for memcpy).
(note _mesa_memcpy should get inlined)
2009-12-03 23:26:13 +01:00
José Fonseca
13c647fa0d
gallium: fix ref counting bug in pb_bufmgr
...
This was discovered by the pipe_reference api change.
2009-12-03 23:20:56 +01:00
Roland Scheidegger
35a15f0263
gallium: fix reference counting functions to be strict-aliasing compliant
...
Historically, parts of mesa code are not strict-aliasing safe, hence
-fno-strict-aliasing is needed to compile (this got forgotten for scons
builds for gallium, which indeed not only caused compiler warnings but also
unexplicable crashes in non-debug builds). However, we should try to eliminate
code not complying with strict-aliasing code at least for gallium.
Hence change pipe_reference functions to make them strict-aliasing compliant.
This adds a bit more complexity (especially for derived classes) but is the
right thing to do, and it does in fact fix a segfault.
2009-12-03 23:15:38 +01:00
Brian Paul
ffd0759973
llvmpipe: comments and a stub for lp_rast_set_state()
2009-12-03 14:57:44 -07:00
Brian Paul
29207a2ae6
llvmpipe: comments
2009-12-03 14:57:13 -07:00
Brian Paul
0e042bed49
llvmpipe: set LP_SETUP_NEW_FS in lp_setup_set_fs()
...
Fixes progs/trivial/tri-blend.c, but I think we're just getting
lucky in this case.
2009-12-03 14:56:38 -07:00
Brian Paul
3094fc2009
llvmpipe: more debug info
2009-12-03 14:25:08 -07:00
Brian Paul
51410a254c
llvmpipe: fix blend debug strings
2009-12-03 14:13:22 -07:00
Maciej Cencora
6c41bb25a2
radeon: workaround an FBO issue
...
Fixes #21501
2009-12-03 20:23:22 +01:00
Maciej Cencora
8cde43eb19
radeon: properly check if image should be placed in the miptree
...
Fixes #25355
2009-12-03 20:23:22 +01:00
Brian Paul
52081f0a2c
progs/trivial: readback and print Z value in tri-z-eq.c
2009-12-03 11:43:19 -07:00
Brian Paul
51663f0506
llvmpipe: quick & dirty implementation of lp_rast_store_zstencil()
...
This allows us to do a glReadPixels(GL_DEPTH_COMPONENT) to see what's
in the depth buffer to help debugging.
2009-12-03 11:41:48 -07:00
Brian Paul
69fe4281ea
llvmpipe: additional comment about float->uint conversion
2009-12-03 11:40:49 -07:00
Brian Paul
e01fa1eaec
llvmpipe: comments
2009-12-03 11:39:40 -07:00
Alex Deucher
2b5618fc5b
r200: fix polygon stipple
...
fixes fdo bug 25354
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-03 11:20:40 -05:00
Michal Krol
72befaaae5
Remove pf_swizzle_* internal macros.
2009-12-03 12:25:49 +01:00
Michal Krol
018f33a328
gallium: Remove pf_mixed_*().
2009-12-03 12:05:21 +01:00
Michal Krol
9861ad46ab
gallium: Remove pf_rev().
2009-12-03 12:03:57 +01:00
Michal Krol
f5bd93fae2
Move pf_get_component_bits() to u_format auxiliary module.
2009-12-03 11:58:36 +01:00
Michal Krol
cceeab39ea
Move pf_get_bits/size() to u_format auxiliary module.
2009-12-03 11:17:37 +01:00
Michal Krol
6df42d8023
Move pf_get_block() to u_format auxiliary module.
2009-12-03 10:52:47 +01:00
Michal Krol
0bed834be4
Move pf_is_depth_and_stencil() to u_format auxiliary module.
2009-12-03 10:20:49 +01:00
Michal Krol
d28740c298
Move pf_is_depth_stencil() to u_format auxiliary module.
2009-12-03 10:12:47 +01:00
Michal Krol
3400b668e3
Move pf_is_compressed() to u_format auxiliary module.
2009-12-03 09:56:03 +01:00
Michal Krol
3ffe25c917
gallium: Remove unused format functions.
2009-12-03 09:48:18 +01:00
Michal Krol
cdb6849fc1
tgsi/ureg: Fix ureg_emit_src().
2009-12-03 09:13:52 +01:00
Vinson Lee
c3b7f93e02
scons: Add Mac OS to target platform list.
...
(cherry picked from commit 2c307c7750 )
2009-12-02 20:33:32 -08:00