Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 10 | -0/+15 |
| | |||||
* | 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 | -128/+244 |
| | |||||
* | 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: oops :-) | Patrice Mandin | 2009-02-16 | 1 | -2/+2 |
| | |||||
* | nouveau: 1xN, Nx1 levels of a swizzled mip tree shouldn't be aligned. | Younes Manton | 2009-02-11 | 1 | -1/+2 |
| | |||||
* | nouveau: nv30: fix miptree organization to have swizzled texture+mipmap at ↵ | Patrice Mandin | 2009-02-10 | 2 | -13/+30 |
| | | | | the right places | ||||
* | nv30: 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 | -16/+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 | -10/+14 |
| | | | | | | | 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 | 7 | -18/+18 |
| | | | | | 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 | 5 | -17/+17 |
| | | | | | | 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 |
| | |||||
* | nouveau: Map correct mip level when using the shadow (nv30, nv40). | Younes Manton | 2009-01-21 | 1 | -6/+7 |
| | |||||
* | nouveau: nv30 does not support separate blend functions for alpha and rgb | Patrice Mandin | 2009-01-21 | 1 | -2/+3 |
| | |||||
* | gallium: Remove the standalone surfaces. | José Fonseca | 2009-01-20 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | nouveau: Update nv30 swizzling. | Younes Manton | 2009-01-10 | 2 | -9/+10 |
| | |||||
* | gallium: Replace uint64 by standard uint64_t. | José Fonseca | 2009-01-08 | 2 | -3/+3 |
| | | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes. | ||||
* | nouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS | Ben Skeggs | 2008-12-16 | 1 | -0/+2 |
| | |||||
* | Nouveau: move the definition of log2i() to header | Pekka Paalanen | 2008-12-13 | 2 | -52/+2 |
| | | | | | | | Also make the type unsigned instead of signed, since negative values do not make sense. Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | nouveau: remove useless NOUVEAU_BO_SWIZZLED flag, copy/paste nv40 work to ↵ | Patrice Mandin | 2008-12-12 | 5 | -41/+167 |
| | | | | swizzle textures | ||||
* | Nouveau: fix minor API change in surface_copy | Pekka Paalanen | 2008-11-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | nv04..nv30: fix pipe_surface init | Pekka Paalanen | 2008-11-12 | 1 | -0/+2 |
| | | | | Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | nouveau: add flag for swizzled surface upload | Patrice Mandin | 2008-09-21 | 1 | -15/+19 |
| | |||||
* | nouveau: gallium directory structure changed again.. | Ben Skeggs | 2008-09-11 | 8 | -13/+9 |
| | |||||
* | nv30: set fp samplers with fragprog generation | Patrice Mandin | 2008-08-31 | 2 | -5/+3 |
| | |||||
* | nv30: activate fp texture units when needed, to get texturing | Patrice Mandin | 2008-08-30 | 1 | -0/+4 |
| | |||||
* | nv30: add some opcodes. | Stephane Marchesin | 2008-08-18 | 2 | -0/+17 |
| | |||||
* | nv30: set mipmap min/max lod accordingly | Patrice Mandin | 2008-08-14 | 1 | -2/+2 |
| | |||||
* | nv30: disable setting nv40 RECT bit, this is not the same on nv30, plus ↵ | Patrice Mandin | 2008-08-14 | 1 | -2/+4 |
| | | | | gallium does not support rectangle textures currently, only full POT or NPOT | ||||
* | nv30: does not support mirror clamp, only mirror repeat | Patrice Mandin | 2008-08-14 | 1 | -0/+4 |
| | |||||
* | nv30/nv40: KIL/KILP swapped meanings | Ben Skeggs | 2008-08-14 | 1 | -2/+2 |
| | |||||
* | nouveau: pf_sprint_name -> pf_name | Ben Skeggs | 2008-08-11 | 2 | -8/+3 |
| | |||||
* | nouveau: fix build | Ben Skeggs | 2008-08-07 | 4 | -5/+5 |
| |