Commit graph

22853 commits

Author SHA1 Message Date
Brian Paul
097da27f55 cell: move depth/stencil code into separate function 2009-01-11 13:40:28 -07:00
Brian Paul
33ba88a0df cell: clean-up, re-indent, comments 2009-01-11 13:23:44 -07:00
Keith Whitwell
e37a3aed95 Merge commit 'origin/gallium-0.2' into gallium-xlib-rework 2009-01-11 16:19:21 +00:00
Brian
44557bf065 mesa: require libdrm 2.4.3 in configure.ac 2009-01-10 16:32:32 -07:00
Brian Paul
83a525af95 cell: use tgsi_dump_instruction() instead of spe_comment() 2009-01-10 14:58:45 -07:00
Brian Paul
2acf07983f gallium: use tgsi_dump_instruction() instead of ppc_comment() 2009-01-10 14:58:45 -07:00
Brian Paul
d4394bb768 gallium: remove unused struct type 2009-01-10 14:58:45 -07:00
Brian Paul
0c71313970 gallium: fix register clobber bug in TGSI->PPC codegen
When negating a src vector that's stored in a altivec register, need to put
negated value into a new register so we don't upset the original value.
This solves the dark colors in the mandelbrot GLSL demo.
Also, use new predicate functions to check if a TGSI temp is stored in
an altivec register.
2009-01-10 14:58:44 -07:00
Brian Paul
1922ea965a gallium: emit comments in TGSI->PPC codegen 2009-01-10 14:58:44 -07:00
Brian Paul
2ebd969f0f gallium: code to dump/debug PPC code (disabled) 2009-01-10 14:58:44 -07:00
Brian Paul
7acaeb8775 gallium: added comment/annotation support to PPC rtasm 2009-01-10 14:58:44 -07:00
Brian Paul
fba6dac380 cell: added rule to produce .s assembly files 2009-01-10 14:58:44 -07:00
Brian Paul
2b26a92cd3 gallium: s/false/FALSE/ 2009-01-10 14:58:44 -07:00
Brian Paul
f1455ca5f4 mesa: omit old headers from tarball 2009-01-10 12:21:37 -07:00
Younes Manton
6cee4b8d7e mesa: Update .gitignore 2009-01-10 14:11:30 -05:00
Younes Manton
0b03cd4ea7 nouveau: Update nv30 swizzling. 2009-01-10 14:09:59 -05:00
Brian Paul
834db82153 docs: document deprecated/removed headers/interfaces 2009-01-10 12:09:08 -07:00
Brian Paul
ef193c10e7 mesa: remove old GLView.h header for BeOS 2009-01-10 12:07:58 -07:00
Brian Paul
c3a00a728b mesa: remove deprecated headers from Makefile.am 2009-01-10 12:06:29 -07:00
Brian Paul
287102ddcc mesa: deprecate GL/amesa.h header (allegro driver) 2009-01-10 12:04:39 -07:00
Brian Paul
f5979b0c15 mesa: deprecate the GL/fxmesa.h header 2009-01-10 12:01:40 -07:00
Brian Paul
d25cc16efa mesa: remove the ancient include/GL/ugl*.h headers 2009-01-10 12:00:27 -07:00
Brian Paul
1636328b0a xmesa: deprecate the "XMesa" interface
Move the include/GL/xmesa*.h files to src/mesa/drivers/x11/ so they're no
longer considered public.
2009-01-10 11:57:13 -07:00
Brian Paul
2c56dd7757 docs: prerequisite updates 2009-01-10 11:52:55 -07:00
Younes Manton
8ee238be75 nouveau: Factor out common winsys bits into libnouveaudrm.a 2009-01-10 13:52:07 -05:00
Younes Manton
734b3cb182 g3dvl: Use Gallium thread wrappers. 2009-01-10 13:52:07 -05:00
Younes Manton
1e9c3efcc7 g3dvl: Use Gallium MALLOC wrappers. 2009-01-10 13:52:07 -05:00
Younes Manton
db1021a37c g3dvl: Get rid of old unbuffered motion compensation code. 2009-01-10 13:52:06 -05:00
Younes Manton
3c1b790c31 g3dvl: Map vertex bufs once per frame/flush. 2009-01-10 13:52:06 -05:00
Younes Manton
9beb004885 nouveau: Catch some more leaks. 2009-01-10 13:52:06 -05:00
Younes Manton
c10db52fcd g3dvl: Fix some memory leaks. 2009-01-10 13:52:06 -05:00
Younes Manton
87e39466dc g3dvl: Allocate one set of bufs, let winsys rename them as necessary. 2009-01-10 13:52:06 -05:00
Younes Manton
af2a856caa nouveau: Add busy() query, determines if BOs can be mapped immediately. 2009-01-10 13:52:05 -05:00
Younes Manton
7289c388f4 nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom. 2009-01-10 13:52:05 -05:00
Younes Manton
0e1301ec8f g3dvl: Expand YCbCr to full RGB range by default. 2009-01-10 13:52:05 -05:00
Younes Manton
9cbcdd86d0 g3dvl: Work around mplayer weirdness in XvMCPutSurface(). 2009-01-10 13:52:05 -05:00
Younes Manton
ebd38dd0d6 g3dvl: Flag textures holding incoming data as dynamic. 2009-01-10 13:52:05 -05:00
Younes Manton
34c0281879 nouveau: Put dynamic textures in GART for CPU access and don't swizzle.
Also flag shadows as dynamic since they're for CPU access as well.
2009-01-10 13:52:05 -05:00
Younes Manton
fbf418d9dc gallium: Define PIPE_TEXTURE_USAGE_DYNAMIC.
Knowing how the client intends to use the texture will give the
driver the opportunity to optimize for such cases.
2009-01-10 13:52:04 -05:00
Younes Manton
72aa42e594 nouveau: Swizzle textures larger than nv04 SIFM limit in parts.
Limit of SIFM on nv40 is 1024x1024, not sure about others.
2009-01-10 13:52:04 -05:00
Brian Paul
6333005f7a glsl: force creation of new scope for for-loop body
Fixes regression in progs/demos/convolution.c due to loop unrolling.
This also allows the following to be compiled correctly:
for (int i = 0; i < n; i++) {
   int i;
   ...
}
This fix is a bit of a hack, however.  The better fix would be to change
the slang_shader.syn grammar.  Will revisit that...
2009-01-10 11:40:20 -07:00
Brian Paul
1d352b42a1 glsl: replace 0/1 with GL_FALSE/GL_TRUE 2009-01-10 11:39:05 -07:00
Ian Romanick
9939a306f7 swrast: Fix GL_ATI_separate_stencil
GL_ATI_separate_stencil is enabled by default for software
rasterizers, but the extension functions weren't hooked up to the
dispatch table.
2009-01-09 16:44:08 -08:00
José Fonseca
7844b4e730 draw: Add missing include. 2009-01-09 21:35:09 +00:00
Keith Whitwell
61e843ff4b xlib: move state tracker to glx/xlib
Also, remove makefile hacks.
2009-01-09 17:52:06 +00:00
Brian Paul
a719d70474 glsl: make minimum struct size = 2, not 1
1-component structs such as "struct foo { float x; }" could get placed at
any position within a register.  This caused some trouble computing the
field offset which assumed all struct objects were placed at R.x.
It would be unusual to hit this case in normal shaders.

(cherry picked from master, commit ca03e881a8)
2009-01-09 10:11:09 -07:00
Brian Paul
ca03e881a8 glsl: make minimum struct size = 2, not 1
1-component structs such as "struct foo { float x; }" could get placed at
any position within a register.  This caused some trouble computing the
field offset which assumed all struct objects were placed at R.x.
It would be unusual to hit this case in normal shaders.
2009-01-09 09:59:49 -07:00
Keith Whitwell
75aac1b496 xlib: disable more cell calls when GALLIUM_CELL not defined 2009-01-09 14:38:23 +00:00
Keith Whitwell
93bad7ffa1 xlib: strip out some CI and overlay support 2009-01-09 14:36:39 +00:00
Keith Whitwell
b7ab4a6e99 xlib: strip out some overlay support 2009-01-09 14:36:39 +00:00