Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nv: Update for renamed sampler/texture state setters. | Michal Krol | 2009-12-01 | 1 | -2/+2 |
| | |||||
* | gallium: fix more statetrackers/drivers for not using texture ↵ | Roland Scheidegger | 2009-11-26 | 3 | -25/+24 |
| | | | | width/height/depth arrays | ||||
* | nouveau: Assume all texture blankets are linear for now. | Younes Manton | 2009-11-01 | 1 | -0/+3 |
| | |||||
* | nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40. | Younes Manton | 2009-10-31 | 2 | -0/+4 |
| | |||||
* | gallium: remove extended negate also, and also the ExtSwz token | Keith Whitwell | 2009-10-23 | 2 | -42/+4 |
| | | | | | | 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. | ||||
* | gallium: remove the swizzling parts of ExtSwizzle | Keith Whitwell | 2009-10-23 | 2 | -26/+10 |
| | | | | | | | | | 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. | ||||
* | gallium: remove noise opcodes | Keith Whitwell | 2009-10-23 | 1 | -6/+0 |
| | | | | | | | | | | | 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. | ||||
* | nouveau: implement is_{texture,buffer}_referenced properly | Ben Skeggs | 2009-10-19 | 2 | -33/+3 |
| | |||||
* | nouveau: nv40: Use same workaround as i915 for segfault related to vbo | Patrice Mandin | 2009-10-17 | 1 | -6/+13 |
| | |||||
* | gallium: Preparations for adding more PIPE_TRANSFER_* usage flags. | Michel Dänzer | 2009-10-02 | 1 | -21/+5 |
| | | | | | | 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. | ||||
* | gallium: Deprecate PIPE_CAP_S3TC. | José Fonseca | 2009-09-16 | 1 | -2/+0 |
| | | | | | No longer used. S3TC support is queried via pipe_screen::is_format_supported. | ||||
* | gallium: simplify tgsi_full_immediate struct | Keith Whitwell | 2009-07-22 | 2 | -8/+8 |
| | | | | | | | | | | | | | 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. | ||||
* | gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵ | Patrice Mandin | 2009-07-14 | 1 | -0/+2 |
| | | | | default extension list | ||||
* | nouveau: return some supported zeta formats | Ben Skeggs | 2009-07-01 | 2 | -0/+9 |
| | |||||
* | nouveau: deal with PIPE_CAP_TGSI_CONT_SUPPORTED | Ben Skeggs | 2009-07-01 | 1 | -0/+2 |
| | |||||
* | nouveau: Expect right params to tex_transfer_destroy(). | Younes Manton | 2009-06-29 | 1 | -1/+1 |
| | | | | | Never crashed on x86, ptx is in the same stack slot in either case. Thanks to Bob Gleitsmann for catching this. | ||||
* | nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws-> | Ben Skeggs | 2009-06-05 | 4 | -28/+34 |
| | |||||
* | nouveau: move channel creation into pipe drivers | Ben Skeggs | 2009-06-05 | 5 | -73/+77 |
| | |||||
* | nouveau: call notifier/grobj etc funcs directly | Ben Skeggs | 2009-06-05 | 3 | -42/+45 |
| | | | | | libdrm_nouveau is linked with the winsys, there's no good reason to do all this through yet another layer. | ||||
* | nv40: remove u_simple_screen usage | Ben Skeggs | 2009-06-05 | 5 | -50/+32 |
| | |||||
* | nouveau: pass nouveau_bo instead of pipe_buffer to so_ calls | Ben Skeggs | 2009-06-05 | 5 | -12/+21 |
| | |||||
* | nouveau: call nouveau_pushbuf directly rather than going through nvws | Ben Skeggs | 2009-06-05 | 1 | -1/+1 |
| | |||||
* | gallium: Make sure we flush before some texture / buffer operations. | Thomas Hellstrom | 2009-04-15 | 1 | -0/+26 |
| | | | | | | | Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium: remove pipe_texture::compressed field | Brian Paul | 2009-04-10 | 1 | -1/+0 |
| | | | | | The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format). | ||||
* | gallium: Clean up driver clear() interface. | Michel Dänzer | 2009-04-04 | 2 | -5/+7 |
| | | | | | Only allows clearing currently bound buffers, but colour and depth/stencil in a single call. | ||||
* | gallium: Remove some little-used fields from struct pipe_surface. | Michel Dänzer | 2009-03-26 | 3 | -10/+0 |
| | |||||
* | nouveau: bypass_vs_clip_and_viewport | Younes Manton | 2009-03-14 | 1 | -1/+2 |
| | |||||
* | gallium: Remove do_flip argument from surface_copy | Jakob Bornecrantz | 2009-03-13 | 1 | -10/+1 |
| | | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me. | ||||
* | nouveau: make stateobjs start off with refcount of 1 | Ben Skeggs | 2009-03-07 | 9 | -0/+13 |
| | |||||
* | gallium: Unify reference counting. | Michel Dänzer | 2009-03-04 | 3 | -32/+15 |
| | | | | | | | | | | | | | | 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(). | ||||
* | nouveau: Grab correct surface from temp texture for transfers. | Younes Manton | 2009-03-02 | 1 | -1/+1 |
| | |||||
* | nouveau: nv04-nv40 texture transfer. | Younes Manton | 2009-02-25 | 7 | -133/+245 |
| | |||||
* | gallium: Improve makefiles for libraries | Jakob Bornecrantz | 2009-02-20 | 1 | -10/+1 |
| | | | | | | | | 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. | ||||
* | nouveau: 1xN, Nx1 levels of a swizzled mip tree shouldn't be aligned. | Younes Manton | 2009-02-11 | 1 | -1/+2 |
| | |||||
* | nouveau: nv40 swizzled mipmap fixes. | Younes Manton | 2009-02-10 | 2 | -11/+29 |
| | |||||
* | nv40: Fix build -- rename Size to NrTokens. | Michal Krol | 2009-02-10 | 1 | -1/+1 |
| | |||||
* | nouveau: Need to surface_copy() without a pipe context. | Younes Manton | 2009-02-07 | 1 | -18/+13 |
| | |||||
* | nouveau: Frontbuffer pitch needs to be set. | Younes Manton | 2009-02-06 | 1 | -0/+1 |
| | |||||
* | nv04-nv40: fix nv##_surface_copy() for flipped | Pekka Paalanen | 2009-02-05 | 1 | -0/+1 |
| | | | | | | | | | | 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 <[email protected]> | ||||
* | nv04-nv40: move 2d blit/fill code into pipe driver | Ben Skeggs | 2009-02-05 | 3 | -13/+21 |
| | |||||
* | nouveau: get things building/running again after pipe_surface.buffer removal | Ben Skeggs | 2009-02-04 | 1 | -0/+25 |
| | | | | Don't look at nouveau_winsys_pipe.h... I promise it's temporary! | ||||
* | gallium: remove pipe_buffer from surfaces | Zack Rusin | 2009-02-02 | 3 | -15/+23 |
| | | | | | | | 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. | ||||
* | gallium: initialize simple screen in drivers | Zack Rusin | 2009-01-31 | 1 | -0/+2 |
| | |||||
* | gallium: make p_winsys internal | Zack Rusin | 2009-01-30 | 8 | -24/+24 |
| | | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage | ||||
* | gallium: give the screen priority when it comes to buffer allocations | Zack Rusin | 2009-01-29 | 6 | -23/+23 |
| | | | | | | 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 | ||||
* | gallium: remove redundant size from the constant buffer | Zack Rusin | 2009-01-27 | 1 | -1/+1 |
| | | | | reuse the size of the actual buffer | ||||
* | gallium: it's a reference value, not a reference number | Zack Rusin | 2009-01-27 | 1 | -1/+1 |
| | |||||
* | gallium: standardize api on the prefix "nr" | Zack Rusin | 2009-01-27 | 2 | -3/+3 |
| | |||||
* | gallium: standardize naming of masks | Zack Rusin | 2009-01-27 | 1 | -4/+4 |
| | |||||
* | gallium: standardize on stride instead of pitch in the interface | Zack Rusin | 2009-01-27 | 1 | -2/+2 |
| |