summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40
AgeCommit message (Collapse)Author
2009-02-07nouveau: Need to surface_copy() without a pipe context.Younes Manton
2009-02-06nouveau: Frontbuffer pitch needs to be set.Younes Manton
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-nv40: move 2d blit/fill code into pipe driverBen 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-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-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-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-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-21nouveau: Map correct mip level when using the shadow (nv30, nv40).Younes Manton
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-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-08gallium: Replace uint64 by standard uint64_t.José Fonseca
uint64 is not (so?) standard, and often redefined by third parties, causing name clashes.
2008-12-16nv40: apply ABS modifier to RSQ source in vpBen Skeggs
Gallium used to do this for us :)
2008-12-16nouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITSBen Skeggs
2008-12-13Nouveau: move the definition of log2i() to headerPekka Paalanen
Also make the type unsigned instead of signed, since negative values do not make sense. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-12-02nouveau: Calc pitch for swizzled textures appropriately.Younes Manton
2008-12-02nouveau: Use swizzled textures & render targets on nv40 when possible.Younes Manton
2008-11-10nv40: init pipe_surface correctlyBen Skeggs
2008-10-29nv40: rename some vars in texture layout codeBen Skeggs
2008-09-11nouveau: gallium directory structure changed again..Ben Skeggs
2008-08-14nv30/nv40: KIL/KILP swapped meaningsBen Skeggs
2008-08-11nouveau: pf_sprint_name -> pf_nameBen Skeggs
2008-08-07nv40/nv50: enable mirror wrap modesBen Skeggs
2008-08-07nouveau: fix buildBen Skeggs
2008-08-03nv40: Support for PIPE_FORMAT_R16_SNORM.Younes Manton
2008-07-23nv all: Copy shader tokens on create, free on delete.Younes Manton
Must copy token stream on shader create, client is allowed to free their copy after creating the state object.
2008-07-23nouveau: is_format_supported() interface changesBen Skeggs
2008-06-29nouveau: adapt to cpp->pf_block changesBen Skeggs
2008-06-23nouveau: update for interface changes + hack around gallium x86_64 bustageBen Skeggs
2008-06-21Update for extra vertex attributesPatrice Mandin
2008-05-30nv40: a couple of memory leaksBen Skeggs
2008-05-27nouveau: very quick port to tex-surface changes.Ben Skeggs
probably the last match-gallium-upstream merge for a bit, some cleanup+nv50 work coming RSN...
2008-05-25nouveau: remove final PIPE_FORMAT_U_* usageBen Skeggs
2008-05-14nv40: fix typo in one of the previous commitsBen Skeggs
2008-05-13nouveau: remove chipset fields in all nv pipe driver context/screen structs.Ben Skeggs
2008-05-05nouveau: bitmap texcoord bias has been removedBen Skeggs
2008-04-29nv40: enable DXTn formatsBen Skeggs
GL state tracker capable enough for progs/tests/texcompress2 at least.
2008-04-28nv40: do full swtnl fallback when edge flags present.Ben Skeggs
This isn't necessary, with some effort we can do this on the hw. However, until I encounter something "real" that uses them there's not a lot of point.
2008-04-27nouveau: stub set_edgeflags for all nv pipe driversBen Skeggs
2008-04-23nouveau: fix buildBen Skeggs
2008-04-15nouveau: PIPE_ATTRIB_MAX -> PIPE_MAX_ATTRIBSBen Skeggs
2008-04-09nv40: use vb/ve counts rather than shader inputs for related loopsBen Skeggs