summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2009-02-05nv20: copy miptree flags from nv40Pekka Paalanen
nv20_miptree_create() should set various flags. Copy stuff over from nv40. trivial/tri does not abort on nv04 swizzled copy anymore. I still miss my triangle. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-05nv04-nv40: fix nv##_surface_copy() for flippedPekka Paalanen
If do_flipp is true, it would first do the proper copy, height would wrap around to unsigned maximum, and then it attempts to do another copy. Return after doing the proper copy. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-05nv04: fix pasto in nv04_surface_2d_init()Pekka Paalanen
Wrong hardware object being used, when compared with earlier code. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-02-05nv50: stop using nouveau_push.h, it's evilBen Skeggs
2009-02-05nv04-nv40: move 2d blit/fill code into pipe driverBen Skeggs
2009-02-05nv50: move 2d blit/fill code into pipe driverBen Skeggs
2009-02-05nouveau: support getting "native" bo from winsysBen Skeggs
2009-02-04nouveau: notifier timeout is a float nowBen Skeggs
2009-02-04nouveau: get things building/running again after pipe_surface.buffer removalBen Skeggs
Don't look at nouveau_winsys_pipe.h... I promise it's temporary!
2009-02-04nouveau: link against libdrm_nouveau (installed with libdrm)Ben Skeggs
2009-02-02gallium: remove pipe_buffer from surfacesZack Rusin
this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures.
2009-02-02Merge branch 'gallium-0.2' of ↵Stephane Marchesin
git+ssh://marcheu@git.freedesktop.org/git/mesa/mesa into gallium-0.2
2009-02-02nv04: some old changes I had lying around.Stephane Marchesin
2009-02-01Merge branch 'gallium-winsys-private' into gallium-0.2Zack Rusin
2009-01-31nv20: send buffer handles on hw state emitPekka Paalanen
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 <pq@iki.fi>
2009-01-31nv20: disable depth writes in hw initPekka Paalanen
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 <pq@iki.fi>
2009-01-31nv20: Z-mapping parametersPekka Paalanen
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 <pq@iki.fi>
2009-01-31nv20: draw_elements needs to flushPekka Paalanen
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 <pq@iki.fi>
2009-01-31nv20: set surface status in clear()Pekka Paalanen
Other nvXX drivers seem to do this, so I do it too. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-31gallium: initialize simple screen in driversZack Rusin
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-30Merge branch 'gallium-0.2' into gallium-winsys-privateJosé Fonseca
2009-01-29gallium: give the screen priority when it comes to buffer allocationsZack Rusin
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
2009-01-30i915: Fix surface operationsJakob Bornecrantz
2009-01-29i915: Don't take a context as argument for debugJakob Bornecrantz
2009-01-29i915: Don't dump batchbuffer on flush in contextJakob Bornecrantz
2009-01-28i915: Add verbose debugingJakob Bornecrantz
Only enabled while in development this commit will be reverted in the future.
2009-01-28i915: Fix batchbuffer dumpingJakob Bornecrantz
2009-01-28i915: Flush on surface copy/clearJakob Bornecrantz
2009-01-27gallium: remove redundant size from the constant bufferZack Rusin
reuse the size of the actual buffer
2009-01-27gallium: it's a reference value, not a reference numberZack Rusin
2009-01-27gallium: standardize api on the prefix "nr"Zack Rusin
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.