Commit graph

18535 commits

Author SHA1 Message Date
RALOVICH, Kristóf
b87e8ae0f5 glx: indent -br -i3 -npcs --no-tabs glxhash.h 2008-10-15 11:17:50 +01:00
RALOVICH, Kristóf
b7f76587b8 glx: indent -br -i3 -npcs --no-tabs glxext.c 2008-10-15 11:17:49 +01:00
RALOVICH, Kristóf
3959d457d6 glx: indent -br -i3 -npcs --no-tabs glxcurrent.c 2008-10-15 11:17:49 +01:00
RALOVICH, Kristóf
c6ea997137 glx: indent -br -i3 -npcs --no-tabs glxcmds.c 2008-10-15 11:17:48 +01:00
RALOVICH, Kristóf
b928a12ee3 glx: indent -br -i3 -npcs --no-tabs glcontextmodes.c 2008-10-15 11:17:48 +01:00
RALOVICH, Kristóf
7f04f8ddee glx: indent -br -i3 -npcs --no-tabs eval.c 2008-10-15 11:17:48 +01:00
RALOVICH, Kristóf
a1a2078f71 glx: indent -br -i3 -npcs --no-tabs drisw_glx.c 2008-10-15 11:17:48 +01:00
RALOVICH, Kristóf
79d830ce5d glx: indent -br -i3 -npcs --no-tabs dri_glx.c 2008-10-15 11:17:47 +01:00
RALOVICH, Kristóf
e7970d6b17 glx: indent -br -i3 -npcs --no-tabs dri_common.h 2008-10-15 11:17:47 +01:00
RALOVICH, Kristóf
321a73d9d5 glx: indent -br -i3 -npcs --no-tabs dri_common.c 2008-10-15 11:17:47 +01:00
RALOVICH, Kristóf
9ca7330be3 glx: indent -br -i3 -npcs --no-tabs dri2.h 2008-10-15 11:17:47 +01:00
RALOVICH, Kristóf
ae5b588dc9 glx: indent -br -i3 -npcs --no-tabs dri2_glx.c 2008-10-15 11:17:47 +01:00
RALOVICH, Kristóf
0965740c49 glx: indent -br -i3 -npcs --no-tabs dri2.c 2008-10-15 11:17:46 +01:00
RALOVICH, Kristóf
7d16aaadf1 glx: indent -br -i3 -npcs --no-tabs compsize.c 2008-10-15 11:17:46 +01:00
RALOVICH, Kristóf
109f3f709f glx: indent -br -i3 -npcs --no-tabs clientattrib.c 2008-10-15 11:17:46 +01:00
RALOVICH, Kristóf
696bf66fa9 glx: add a line of Emacs helping variables 2008-10-15 11:17:46 +01:00
RALOVICH, Kristóf
4f31200a33 glx: No need to zero a local variable.
My previous commit e206034863 introduced this.
2008-10-15 11:17:45 +01:00
RALOVICH, Kristóf
b4bb29cecd glx: make INIT_MESA_SPARC more robust
Embed the macro body into do { ... } while(0) .
2008-10-15 11:17:45 +01:00
Xiang, Haihao
b3cb405252 i915: Texture instructions use r/t/oC/oD register as texture coordinate.
Fix http://bugs.freedesktop.org/show_bug.cgi?id=16287.
2008-10-15 11:17:45 +01:00
Eric Anholt
90e4e4117e intel: Add acceleration for glDrawPixels(GL_STENCIL_INDEX).
This is nasty because there's no way in GL to output data to the stencil
buffer directly, so we have to do a dance to wrap the depth/stencil buffer
in an ARGB renderbuffer.

Improves performance of several oglconform testcases by better than a factor
of 2.
2008-10-15 11:17:45 +01:00
Brian Paul
41ccdde767 cell: initial bits for 3D texture support 2008-10-14 17:22:40 -06:00
Brian Paul
6c017c2c3c cell: replace FREE() with align_free() 2008-10-14 17:22:06 -06:00
Brian Paul
e42a394ed5 cell: fix incorrect parameter type 2008-10-14 17:19:57 -06:00
Brian Paul
8f7c6b55ae cell: support for cubemaps
Though, progs/demos/cubemap.c doesn't quite work right...
2008-10-14 17:11:29 -06:00
Brian Paul
e0931e520a cell: fall-through case for TGSI_OPCODE_TXB 2008-10-14 17:09:56 -06:00
Brian Paul
85dc1aec9c cell: support NPOT textures, clamp/repeat mode, normalized/unorm texcoords
glDrawPixels works now.
2008-10-14 15:19:01 -06:00
Brian Paul
38d396e15a cell: fix npot texture tiling bugs 2008-10-14 14:02:07 -06:00
Brian Paul
4f56d5bbf2 cell: fix broken negative texcoord conversion 2008-10-14 12:54:31 -06:00
Brian Paul
6d2d5ceca2 cell: use minify vs magnify filters 2008-10-14 12:54:30 -06:00
Brian Paul
58ea98dc68 cell: fix assertions 2008-10-14 12:54:30 -06:00
Brian Paul
f8bddf698d cell: basic mipmap filtering works now
Though, only GL_MIPMAP_NEAREST / GL_LINEAR works right now.
2008-10-14 12:54:30 -06:00
Brian Paul
3baf83db3c cell: fix tex image stride bugs 2008-10-14 12:54:30 -06:00
Brian Paul
0bee156d85 cell: now do texture twiddling in the right way, at the right time.
Also handles images smaller than 32x32 now.
2008-10-14 12:54:30 -06:00
Brian Paul
b7609be0f1 cell: remove old code, clean-ups, etc. 2008-10-14 12:54:30 -06:00
Alan Hourihane
5d4f3b8417 dri: don't check the number of cliprects before swap, let
the swap handle the requirements.
2008-10-14 11:55:38 +01:00
Brian Paul
fc562a7acd cell: more clean-up in spu_tri.c 2008-10-13 20:19:51 -06:00
Brian Paul
5d7cc6176d cell: remove dead code, clean-up, reformatting 2008-10-13 19:50:20 -06:00
Brian Paul
dee18a147d cell: finish-up perspective-corrected interpolation 2008-10-13 19:41:26 -06:00
Brian Paul
978799beb2 cell: initial work for mipmap texture filtering 2008-10-13 16:43:36 -06:00
Brian Paul
b0c136cfb1 cell: remove old texture-related fields 2008-10-13 16:43:36 -06:00
Brian Paul
c05cabd646 cell: use fewer memory references in sample_texture4_bilinear_2() 2008-10-13 16:43:36 -06:00
Brian Paul
420e8cdf25 cell: remove more old texture code 2008-10-13 16:43:36 -06:00
Brian Paul
67425aaa09 cell: bilinear texture filtering using integer arithmetic
Fewer float/int conversions involved.
2008-10-13 16:43:36 -06:00
Brian Paul
c8fb368261 cell: remove old texture code 2008-10-13 16:43:35 -06:00
Brian Paul
3b07c28dee cell: do texture sampling/filtering for four pixels at a time. 2008-10-13 16:43:35 -06:00
Brian Paul
734685549c cell: added spu_unpack_A8R8G8B8_transpose4()
Plus, clearer shuffle masks in other funcs.
2008-10-13 16:43:35 -06:00
Alan Hourihane
5bc8ebb12b mesa: when emitting an address load instruction, for
indexed elements ensure we write to a single register.
2008-10-13 12:30:40 +01:00
Brian Paul
ecac7996d4 cell: more instruction scheduling optimizations (MIN/MAX/LERP/etc)
Also, optimize register->memory stores.
2008-10-10 17:48:16 -06:00
Brian Paul
2a6c6fe01e Merge commit 'origin/master' into gallium-0.2 2008-10-10 16:40:16 -06:00
Brian Paul
01e312a73b cell: pass texture unit (sampler number) to txp() function
The glsl/multitex demo runs now.
2008-10-10 16:40:03 -06:00