summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30
AgeCommit message (Collapse)Author
2009-10-23nouveau: nv30: use r5g6b5 as z16 formatPatrice Mandin
2009-10-23gallium: remove extended negate also, and also the ExtSwz tokenKeith Whitwell
Likewise, the extended negate functionality hasn't been used since mesa switched to using tgsi_ureg to build programs, and has been translating the SWZ opcode internally to a single MAD.
2009-10-23gallium: remove the swizzling parts of ExtSwizzleKeith Whitwell
These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders.
2009-10-23gallium: remove noise opcodesKeith Whitwell
Provide a dummy implementation in the GL state tracker (move 0.5 to the destination regs). At some point, a motivated person could add a better implementation of noise. Currently not even the nvidia binary drivers do anything more than this. In any case, the place to do this is in the GL state tracker, not the poor driver.
2009-10-22nouveau: nv30: rewrite so we can render only in depth bufferPatrice Mandin
2009-10-22nouveau: nv30: use a8r8g8b8 as depth texture format for z24s8Patrice Mandin
2009-10-21nouveau: nv30: Do not use assert to return NULLPatrice Mandin
2009-10-21nouveau: nv30: check number of colour buffers to bindPatrice Mandin
2009-10-19nouveau: implement is_{texture,buffer}_referenced properlyBen Skeggs
2009-10-17nouveau: nv30: Remove duplicate case. Was a typo for X8R8G8B8, but that will ↵Patrice Mandin
never be use for front buffer.
2009-10-17nouveau: nv30: Use same workaround as i915 for segfault related to vboPatrice Mandin
2009-10-15nouveau: nv30: Hack to enforce same number of bits as front buffer, for ↵Patrice Mandin
render targets
2009-10-15nouveau: nv30: refuse binding a colour buffer with a zeta buffer with ↵Patrice Mandin
different bits, till the backend can tell Mesa not to do that.
2009-10-13nouveau: nv30: use texture width,height for render target dimensionsPatrice Mandin
2009-10-12Add support for more 8 and 16 bits formatsPatrice Mandin
2009-10-02gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer
Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them.
2009-09-16gallium: Deprecate PIPE_CAP_S3TC.José Fonseca
No longer used. S3TC support is queried via pipe_screen::is_format_supported.
2009-07-22nouveau: nv30: wrong variable for formatPatrice Mandin
2009-07-22gallium: simplify tgsi_full_immediate structKeith Whitwell
Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
2009-07-14gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵Patrice Mandin
default extension list
2009-07-01nouveau: return some supported zeta formatsBen Skeggs
2009-07-01nouveau: deal with PIPE_CAP_TGSI_CONT_SUPPORTEDBen Skeggs
2009-06-05nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->Ben Skeggs
2009-06-05nouveau: move channel creation into pipe driversBen Skeggs
2009-06-05nouveau: call notifier/grobj etc funcs directlyBen Skeggs
libdrm_nouveau is linked with the winsys, there's no good reason to do all this through yet another layer.
2009-06-05nv30: remove u_simple_screen usageBen Skeggs
2009-06-05nouveau: pass nouveau_bo instead of pipe_buffer to so_ callsBen Skeggs
2009-06-05nouveau: call nouveau_pushbuf directly rather than going through nvwsBen Skeggs
2009-04-15gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom
Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-10gallium: remove pipe_texture::compressed fieldBrian Paul
The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format).
2009-04-04gallium: Clean up driver clear() interface.Michel Dänzer
Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-03-14nouveau: bypass_vs_clip_and_viewportYounes Manton
2009-03-13gallium: Remove do_flip argument from surface_copyJakob Bornecrantz
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
2009-03-07nouveau: make stateobjs start off with refcount of 1Ben Skeggs
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-03-02nouveau: Grab correct surface from temp texture for transfers.Younes Manton
2009-02-25nouveau: nv04-nv40 texture transfer.Younes Manton
2009-02-20gallium: Improve makefiles for librariesJakob Bornecrantz
The template makefile that most libraries in gallium included was based on dri and had a bunch unrelevant junk in it. Update it and improve the depending makefiles.
2009-02-16nouveau: oops :-)Patrice Mandin
2009-02-11nouveau: 1xN, Nx1 levels of a swizzled mip tree shouldn't be aligned.Younes Manton
2009-02-10nouveau: nv30: fix miptree organization to have swizzled texture+mipmap at ↵Patrice Mandin
the right places
2009-02-10nv30: Fix build -- rename Size to NrTokens.Michal Krol
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