summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* i915: Flush on surface copy/clearJakob Bornecrantz2009-01-281-0/+2
|
* gallium: remove redundant size from the constant bufferZack Rusin2009-01-279-19/+19
| | | | reuse the size of the actual buffer
* gallium: it's a reference value, not a reference numberZack Rusin2009-01-2710-10/+10
|
* gallium: standardize api on the prefix "nr"Zack Rusin2009-01-2719-28/+28
|
* gallium: standardize naming of masksZack Rusin2009-01-2712-61/+61
|
* gallium: standardize on stride instead of pitch in the interfaceZack Rusin2009-01-275-8/+8
|
* i915: queiten compiler warningsKeith Whitwell2009-01-271-1/+0
|
* failover: queiten compiler warningsKeith Whitwell2009-01-271-0/+7
|
* nv20: rewrite vertex layoutPekka Paalanen2009-01-261-26/+59
| | | | | | | | | | 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 <[email protected]>
* nv20: adjust initial hw contextPekka Paalanen2009-01-261-5/+5
| | | | | | | | 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 <[email protected]>
* nouveau: Map correct mip level when using the shadow (nv30, nv40).Younes Manton2009-01-212-12/+14
|
* nouveau: nv30 does not support separate blend functions for alpha and rgbPatrice Mandin2009-01-211-2/+3
|
* gallium: Remove the standalone surfaces.José Fonseca2009-01-2012-121/+42
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell2009-01-1921-592/+919
|\
| * cell: Specify constant as float for CEILF().Jonathan Adamczewski2009-01-141-1/+1
| | | | | | | | | | | | Without the f, the constant is treated as a double, resulting in slower arithmetic and libgcc conversion calls each time CEILF() is used.
| * nv50: fix progs/tests/manytexBen Skeggs2009-01-131-0/+2
| | | | | | | | | | Previously all squares were textured with the same texture.. not quite what the demo was supposed to look like!
| * nv50: get glxgears showing all 3 gears instead of 1!!Ben Skeggs2009-01-131-0/+2
| | | | | | | | | | This fixes a lot of other things where not all the geometry got drawn also.
| * nv50: change some magic reg, makes more things workBen Skeggs2009-01-131-1/+1
| | | | | | | | | | | | 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 :)
| * nv50: add DXTn formatsBen Skeggs2009-01-133-1/+36
| |
| * nv50: shadow mappingBen Skeggs2009-01-132-1/+6
| |
| * nv50: anisoBen Skeggs2009-01-132-1/+22
| |
| * nv50: occlusion queriesBen Skeggs2009-01-132-13/+73
| | | | | | | | Not quite working, but the general idea is right I think.
| * nv50: implement KIL enough for progs/fp/kil to workBen Skeggs2009-01-131-0/+28
| |
| * cell: Add missing suffix to SHUFFLE macroJonathan Adamczewski2009-01-131-1/+1
| |
| * cell: allocate batch buffers w/ 16-byte alignmentJonathan Adamczewski2009-01-128-143/+111
| | | | | | | | | | | | | | | | | | | | | | 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().
| * nv50: make rtt work againBen Skeggs2009-01-121-1/+33
| |
| * nv50: fix handling of depth texturesBen Skeggs2009-01-122-7/+29
| |
| * nv50: another typo..Ben Skeggs2009-01-121-1/+1
| |
| * nv50: fix assertion failureBen Skeggs2009-01-121-2/+9
| |
| * nv50: remove previous hack to manage tiled surfacesBen Skeggs2009-01-122-33/+1
| |
| * nv50: fix a typo and a thinkoBen Skeggs2009-01-121-3/+4
| |
| * nv50: enable npot texturesBen Skeggs2009-01-121-1/+1
| |
| * nv50: disable shader debugBen Skeggs2009-01-121-1/+7
| |
| * nv50: any cpu access to a texture is done on its backing imagesBen Skeggs2009-01-123-7/+72
| | | | | | | | | | | | Still a little dodgy: - RTT will hit an assertion (hopefully!) and fail - 3D textures with depth >= 32 will cause bad things to happen
| * nv50: create buffers for each image that makes up a textureBen Skeggs2009-01-122-13/+38
| |
| * cell: optimize unpack_colors() function, saving 12 cyclesBrian Paul2009-01-111-31/+34
| |
| * cell: move color unpacking code into separate functionBrian Paul2009-01-111-76/+89
| |
| * cell: re-order the z/stencil fetch/extract/convert instructions for better perfBrian Paul2009-01-111-55/+51
| | | | | | | | The new instruction order is 10 cycles faster.
| * cell: simplify the 'optional register' codeBrian Paul2009-01-111-62/+50
| |
| * cell: asst datatype clean-upsBrian Paul2009-01-111-73/+75
| |
| * cell: move depth/stencil code into separate functionBrian Paul2009-01-111-179/+213
| |
| * cell: clean-up, re-indent, commentsBrian Paul2009-01-111-95/+139
| |
* | Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell2009-01-116-117/+50
|\|
| * cell: use tgsi_dump_instruction() instead of spe_comment()Brian Paul2009-01-101-101/+25
| |
| * cell: added rule to produce .s assembly filesBrian Paul2009-01-101-0/+3
| |
| * nouveau: Update nv30 swizzling.Younes Manton2009-01-102-9/+10
| |
| * nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom.Younes Manton2009-01-102-3/+2
| |
| * nouveau: Put dynamic textures in GART for CPU access and don't swizzle.Younes Manton2009-01-103-6/+13
| | | | | | | | Also flag shadows as dynamic since they're for CPU access as well.
| * nouveau: Swizzle textures larger than nv04 SIFM limit in parts.Younes Manton2009-01-101-2/+1
| | | | | | | | Limit of SIFM on nv40 is 1024x1024, not sure about others.
* | Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell2009-01-0920-816/+1143
|\| | | | | | | | | | | Conflicts: progs/glsl/Makefile