Commit graph

2930 commits

Author SHA1 Message Date
Brian Paul
6b06a6b929 gallium: const-correctness for u_linear.c functions 2009-02-11 14:11:48 -07:00
Brian Paul
81374d1ebe gallium: silence warnings about void ptr arithmetic 2009-02-11 14:09:22 -07:00
Dan Nicholson
277bf235f1 Add external pixman CFLAGS after all internal include paths
With the pixman CFLAGS at the beginning of the command line, my build
was picking up the glcore.h from glproto, which doesn't have any of the
TFP fields in __GLcontextmodes.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-02-11 11:55:59 -08:00
Younes Manton
36b83f5198 nouveau: 1xN, Nx1 levels of a swizzled mip tree shouldn't be aligned. 2009-02-11 11:58:35 -05:00
José Fonseca
874f364e9e draw: Cap max vertices instead of failing assert. 2009-02-11 16:48:34 +00:00
José Fonseca
7892bdfc8a wgl: Add a few more stubs.
I wonder why we need this... It is only necessary for the MSVC build.
MinGW does not require them.
2009-02-11 13:51:34 +00:00
Brian Paul
ee4c921b65 Merge commit 'origin/gallium-0.2' into gallium-master-merge 2009-02-10 16:34:51 -07:00
Younes Manton
14d808f8fd nouveau: nv40 swizzled mipmap fixes. 2009-02-10 16:36:33 -05:00
Patrice Mandin
c2be521d24 nouveau: nv30: fix miptree organization to have swizzled texture+mipmap at the right places 2009-02-10 22:22:55 +01:00
Patrice Mandin
24c379badb nouveau: revert all my changes here, not the right way 2009-02-10 22:22:06 +01:00
Patrice Mandin
7b66b24c2e nouveau: stop with 0 dimension 2009-02-10 22:04:56 +01:00
Patrice Mandin
53069cbf29 nouveau: we already have the right src offset 2009-02-10 21:58:49 +01:00
Patrice Mandin
fa9fcf5e8f nouveau: do not forget to half dimension. 2009-02-10 21:22:29 +01:00
Patrice Mandin
0cd28c4a1b nouveau: revert most parts of recent mipmap+swizzle stuff. We only need to find right src and dst offset for given mipmap level. 2009-02-10 21:20:24 +01:00
Keith Whitwell
f54149a3a3 wgl: return before locking if stw_icd is NULL 2009-02-10 19:23:06 +00:00
Keith Whitwell
9c9ba66fba Merge commit 'origin/gallium-0.2' into gallium-0.2
Conflicts:

	src/gallium/state_trackers/wgl/icd/stw_icd.c
2009-02-10 19:22:57 +00:00
Keith Whitwell
ebb864da9e wgl: mutex-protect the shared stw_icd struct 2009-02-10 18:11:44 +00:00
Patrice Mandin
02401cbaf0 nouveau: dst offset is correct 2009-02-10 18:44:27 +01:00
José Fonseca
00ee308ab3 pipebuffer: Drop reliance on pipe_winsys. 2009-02-10 17:37:53 +00:00
Patrice Mandin
2f0811054f nouveau: recalc sub width and height for each mipmap level 2009-02-10 18:09:32 +01:00
Jakob Bornecrantz
767b1acbb7 mesa: Build both software rasterizers for debug
But put the gallium one in lib/gallium
2009-02-10 17:43:25 +01:00
Jakob Bornecrantz
1789dc8015 gallium: Don't rebuild common drm code 2009-02-10 16:24:06 +01:00
Jakob Bornecrantz
94665aa648 gallium: Install DRI drivers into lib/gallium 2009-02-10 16:23:59 +01:00
Jakob Bornecrantz
43e6272ae5 gallium: Introduce new subdirs build variables
(based on gallium-xorg-driver/commit 270ce504052d415870a25ab59818b2309eb8ac13)
2009-02-10 16:23:02 +01:00
Michal Krol
2644985367 nv40: Fix build -- rename Size to NrTokens. 2009-02-10 15:18:32 +01:00
Michal Krol
844034dee5 nv30: Fix build -- rename Size to NrTokens. 2009-02-10 15:18:19 +01:00
Michal Krol
adc6847260 nv20: Fix build -- rename Size to NrTokens. 2009-02-10 15:18:03 +01:00
Michal Krol
276de3ffcf brw: Fix build -- rename Size to NrTokens. 2009-02-10 15:17:41 +01:00
Michal Krol
0020e1d108 i915: Fix build -- rename Size to NrTokens. 2009-02-10 15:17:17 +01:00
Michal Krol
a872b518c9 gallivm: Fix build -- rename Size to NrTokens. 2009-02-10 15:16:35 +01:00
Michal Krol
e3028baff2 draw: Fix build -- rename Size to NrTokens. 2009-02-10 15:16:00 +01:00
Michal Krol
5ecd0b0890 tgsi: Fix build -- rename Size to NrTokens. 2009-02-10 15:14:31 +01:00
Michal Krol
bf3930453c gallium: Rename Size member of TGSI token to NrTokens.
Driver writers often got confused and assumed Size to be
the number of immediate values in Immediate declaration.
2009-02-10 15:12:34 +01:00
Keith Whitwell
a88e2544ee vmw/icd: remove bogus current_context value 2009-02-10 14:03:43 +00:00
José Fonseca
67e988a06c wgl: Fix null pointer reference. 2009-02-10 11:51:47 +00:00
José Fonseca
9fb9ee9d24 stw: Hack for applications which use wglSetPixelFormat instead of SetPixelFormat. 2009-02-10 11:51:47 +00:00
José Fonseca
42523a83b3 wgl: s/0x%p/%p/g
Rather not have 0x prefix, than 0x0x in certain platforms.
2009-02-10 11:51:46 +00:00
José Fonseca
123299546f indices: Fix typo. 2009-02-09 18:11:05 +00:00
Brian Paul
2438161823 mesa: build/use libmesagallium.a for gallium builds
This contains the core mesa code but excludes things not needed for gallium
such as tnl/, swrast/, swrast_setup/, etc.
2009-02-09 10:37:38 -07:00
Brian Paul
3c15e02783 softpipe: add null ptr check in softpipe_map_constant_buffers()
Fixes segfault regression in progs/glsl/identity.c
2009-02-09 10:12:11 -07:00
Patrice Mandin
b907d4cd8f nouveau: include and calc offset before changing dimensions for next level 2009-02-08 17:04:09 +01:00
Patrice Mandin
ea7ca7607a nouveau: upload and swizzle each mipmap level in turn 2009-02-08 17:04:09 +01:00
Corbin Simpson
5425c4aa28 r300: Accidentally removed a pipe_buffer_reference that should be there. 2009-02-08 02:03:29 -08:00
Corbin Simpson
360e700a43 r300: Add SW TCL paths for clear.
This should make things work for people on RSxxx chipsets.
2009-02-08 01:07:03 -08:00
Corbin Simpson
ea3398cf33 r300: Update to match pipe_surface changes. 2009-02-08 01:01:26 -08:00
Brian Paul
19a1bc8270 cell: remove unused var 2009-02-07 13:05:38 -07:00
Brian Paul
91948cd1a2 cell: compile fix: many updates to cell texture code for new surface mapping
The Cell texture code really needs a thorough inspection and clean-up someday...
2009-02-07 13:04:53 -07:00
Brian Paul
2473ded886 softpipe: simplify an assertion 2009-02-07 13:03:24 -07:00
Brian Paul
b59117a697 cell: compile fix: no-op xlib_create_brw_screen() for Cell build 2009-02-07 13:02:27 -07:00
Brian Paul
96d230e107 cell: compile fix: alpha.ref is now alpha.ref_value 2009-02-07 13:01:53 -07:00