summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'gallium-winsys-private' into gallium-0.2Zack Rusin2009-02-0156-78/+97
|\
| * gallium: initialize simple screen in driversZack Rusin2009-01-3110-0/+21
| |
| * gallium: make p_winsys internalZack Rusin2009-01-3075-171/+171
| | | | | | | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
| * Merge branch 'gallium-0.2' into gallium-winsys-privateJosé Fonseca2009-01-303-21/+21
| |\
| * | gallium: give the screen priority when it comes to buffer allocationsZack Rusin2009-01-2943-152/+150
| | | | | | | | | | | | | | | | | | allows the driver to overwrite buffer allocation, first step on the way to making winsys interface internal to the drivers. state trackers and the code above it will go through the screen
* | | nv20: send buffer handles on hw state emitPekka Paalanen2009-01-311-6/+4
| | | | | | | | | | | | | | | | | | | | | Color and Z buffer offsets were emitted here, now also the buffer handles are emitted so they target the correct memory. Signed-off-by: Pekka Paalanen <[email protected]>
* | | nv20: disable depth writes in hw initPekka Paalanen2009-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | Probably not necessary, but just in case. Depth registers point to the color buffer, when there is no depth buffer. Signed-off-by: Pekka Paalanen <[email protected]>
* | | nv20: Z-mapping parametersPekka Paalanen2009-01-312-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Based on my renouveau dump, adjust initial hw state related to Z-mapping, and add one unknown depth reg into depth/stencil/alpha emission. Now trivial/tri-z on nv20 looks identical to swrast rendered one. Signed-off-by: Pekka Paalanen <[email protected]>
* | | nv20: draw_elements needs to flushPekka Paalanen2009-01-311-0/+1
| | | | | | | | | | | | | | | | | | | | | nv20_draw_elements() uses the draw module, and draw_flush() needs to be called to actually emit the vertices immediately. Signed-off-by: Pekka Paalanen <[email protected]>
* | | nv20: set surface status in clear()Pekka Paalanen2009-01-311-0/+1
| |/ |/| | | | | | | | | Other nvXX drivers seem to do this, so I do it too. Signed-off-by: Pekka Paalanen <[email protected]>
* | i915: Fix surface operationsJakob Bornecrantz2009-01-303-21/+21
|/
* i915: Don't take a context as argument for debugJakob Bornecrantz2009-01-292-7/+5
|
* i915: Don't dump batchbuffer on flush in contextJakob Bornecrantz2009-01-291-1/+0
|
* i915: Add verbose debugingJakob Bornecrantz2009-01-281-1/+2
| | | | | Only enabled while in development this commit will be reverted in the future.
* i915: Fix batchbuffer dumpingJakob Bornecrantz2009-01-281-3/+3
|
* 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
| |