summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2009-01-27gallium: standardize naming of masksZack Rusin
2009-01-27gallium: standardize on stride instead of pitch in the interfaceZack Rusin
2009-01-27i915: queiten compiler warningsKeith Whitwell
2009-01-27failover: queiten compiler warningsKeith Whitwell
2009-01-26nv20: rewrite vertex layoutPekka Paalanen
NV20 seems to be very different to NV10. In vertex array, pos is first, not last. There are maximum 16 attributes and only few are currently known. This makes trivial/tri work on NV20. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-26nv20: adjust initial hw contextPekka Paalanen
VIEWPORT_SCALE0 seems to do with translation and the sane value for x and y is zero. VIEWPORT_SCALE1 is still a mystery. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-21nouveau: Map correct mip level when using the shadow (nv30, nv40).Younes Manton
2009-01-21nouveau: nv30 does not support separate blend functions for alpha and rgbPatrice Mandin
2009-01-20gallium: Remove the standalone surfaces.José Fonseca
This commit is mostly just a cosmetic change that cleans-up the interfaces, replacing pipe_winsys::surface_* calls by /** * Allocate storage for a display target surface. * * Often surfaces which are meant to be blitted to the front screen (i.e., * display targets) must be allocated with special characteristics, memory * pools, or obtained directly from the windowing system. * * This callback is invoked by the pipe_screenwhen creating a texture marked * with the PIPE_TEXTURE_USAGE_DISPLAY_TARGET flag to get the underlying * buffer storage. */ struct pipe_buffer *(*surface_buffer_create)(struct pipe_winsys *ws, unsigned width, unsigned height, enum pipe_format format, unsigned usage, unsigned *stride); Most drivers were updated but not all were tested. Use the softpipe pipe driver and the xlib winsys changes as a reference when fixing other drivers.
2009-01-19Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell
2009-01-14cell: Specify constant as float for CEILF().Jonathan Adamczewski
Without the f, the constant is treated as a double, resulting in slower arithmetic and libgcc conversion calls each time CEILF() is used.
2009-01-13nv50: fix progs/tests/manytexBen Skeggs
Previously all squares were textured with the same texture.. not quite what the demo was supposed to look like!
2009-01-13nv50: get glxgears showing all 3 gears instead of 1!!Ben Skeggs
This fixes a lot of other things where not all the geometry got drawn also.
2009-01-13nv50: change some magic reg, makes more things workBen Skeggs
No real idea what this does.. but a lot of things that misrendered and made the GPU throw a DATA_ERROR now work.. I'm wondering what side-effects we'll see from this :)
2009-01-13nv50: add DXTn formatsBen Skeggs
2009-01-13nv50: shadow mappingBen Skeggs
2009-01-13nv50: anisoBen Skeggs
2009-01-13nv50: occlusion queriesBen Skeggs
Not quite working, but the general idea is right I think.
2009-01-13nv50: implement KIL enough for progs/fp/kil to workBen Skeggs
2009-01-13cell: Add missing suffix to SHUFFLE macroJonathan Adamczewski
2009-01-12cell: allocate batch buffers w/ 16-byte alignmentJonathan Adamczewski
Replace cell_batch{align,alloc)*() with cell_batch_alloc16(), allocating multiples of 16 bytes that are 16 byte aligned. Opcodes are stored in preferred slot of SPU machine word. Various structures are explicitly padded to 16 byte multiples. Added STATIC_ASSERT().
2009-01-12nv50: make rtt work againBen Skeggs
2009-01-12nv50: fix handling of depth texturesBen Skeggs
2009-01-12nv50: another typo..Ben Skeggs
2009-01-12nv50: fix assertion failureBen Skeggs
2009-01-12nv50: remove previous hack to manage tiled surfacesBen Skeggs
2009-01-12nv50: fix a typo and a thinkoBen Skeggs
2009-01-12nv50: enable npot texturesBen Skeggs
2009-01-12nv50: disable shader debugBen Skeggs
2009-01-12nv50: any cpu access to a texture is done on its backing imagesBen Skeggs
Still a little dodgy: - RTT will hit an assertion (hopefully!) and fail - 3D textures with depth >= 32 will cause bad things to happen
2009-01-12nv50: create buffers for each image that makes up a textureBen Skeggs
2009-01-11cell: optimize unpack_colors() function, saving 12 cyclesBrian Paul
2009-01-11cell: move color unpacking code into separate functionBrian Paul
2009-01-11cell: re-order the z/stencil fetch/extract/convert instructions for better perfBrian Paul
The new instruction order is 10 cycles faster.
2009-01-11cell: simplify the 'optional register' codeBrian Paul
2009-01-11cell: asst datatype clean-upsBrian Paul
2009-01-11cell: move depth/stencil code into separate functionBrian Paul
2009-01-11cell: clean-up, re-indent, commentsBrian Paul
2009-01-11Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell
2009-01-10cell: use tgsi_dump_instruction() instead of spe_comment()Brian Paul
2009-01-10cell: added rule to produce .s assembly filesBrian Paul
2009-01-10nouveau: Update nv30 swizzling.Younes Manton
2009-01-10nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom.Younes Manton
2009-01-10nouveau: Put dynamic textures in GART for CPU access and don't swizzle.Younes Manton
Also flag shadows as dynamic since they're for CPU access as well.
2009-01-10nouveau: Swizzle textures larger than nv04 SIFM limit in parts.Younes Manton
Limit of SIFM on nv40 is 1024x1024, not sure about others.
2009-01-09Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell
Conflicts: progs/glsl/Makefile
2009-01-08cell: fix breakage from xlib re-orgBrian Paul
Some of these fixes are quick band-aids for now.
2009-01-08gallium: split driver-independent code out of xlib winsysKeith Whitwell
Place in new xlib state-tracker. This is a statetracker for the GLX API.
2009-01-08gallium: Replace uint64 by standard uint64_t.José Fonseca
uint64 is not (so?) standard, and often redefined by third parties, causing name clashes.
2009-01-06cell: replace 0 with -1 in SPE_COUNT_USABLE_SPES queryJonathan Adamczewski