Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | gallium: Unify reference counting. | Michel Dänzer | 2009-03-04 | 3 | -36/+24 |
| | | | | | | | | | | | | | | 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 | 6 | -50/+231 |
| | |||||
* | 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. | ||||
* | Merge commit 'origin/draw-vbuf-interface' | Keith Whitwell | 2009-02-18 | 1 | -8/+28 |
|\ | |||||
| * | nv10: Use the new draw vbuf internface | Jakob Bornecrantz | 2009-02-17 | 1 | -8/+28 |
| | | |||||
* | | util: Move p_debug.h into util module. | José Fonseca | 2009-02-18 | 1 | -1/+1 |
|/ | | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible. | ||||
* | 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 | -5/+26 |
| | |||||
* | 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 | -5/+9 |
| | | | | | | | 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 | -15/+15 |
| | | | | | 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 | -12/+12 |
| | | | | | | 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 | -3/+4 |
| | | | | 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 naming of masks | Zack Rusin | 2009-01-27 | 1 | -2/+2 |
| | |||||
* | gallium: Remove the standalone surfaces. | José Fonseca | 2009-01-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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: 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 | 1 | -26/+1 |
| | | | | | | | Also make the type unsigned instead of signed, since negative values do not make sense. Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | Nouveau: nv{10,20} set_primitive API fix | Pekka Paalanen | 2008-11-30 | 1 | -2/+7 |
| | | | | | | | Also changes nvgl_primitive() to return zero, i.e. error, on unknown primitive. Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | Nouveau: fix minor API change in surface_copy | Pekka Paalanen | 2008-11-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Pekka Paalanen <[email protected]> | ||||
* | Nouveau: update nouveau_class.h | Pekka Paalanen | 2008-11-30 | 1 | -1/+1 |
| | | | | | | Fresh from renouveau. 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: gallium directory structure changed again.. | Ben Skeggs | 2008-09-11 | 10 | -16/+10 |
| | |||||
* | nouveau: fix build | Ben Skeggs | 2008-08-07 | 3 | -4/+4 |
| | |||||
* | nv all: Copy shader tokens on create, free on delete. | Younes Manton | 2008-07-23 | 2 | -2/+4 |
| | | | | | Must copy token stream on shader create, client is allowed to free their copy after creating the state object. | ||||
* | nouveau: is_format_supported() interface changes | Ben Skeggs | 2008-07-23 | 1 | -9/+6 |
| | |||||
* | nv10: use the gallium alloc/free wrappers. | Stephane Marchesin | 2008-07-08 | 1 | -4/+4 |
| | |||||
* | nv10: there are no 3D textures. | Stephane Marchesin | 2008-07-08 | 1 | -3/+1 |
| | |||||
* | nouveau: adapt to cpp->pf_block changes | Ben Skeggs | 2008-06-29 | 2 | -6/+10 |
| | |||||
* | nouveau: update for interface changes + hack around gallium x86_64 bustage | Ben Skeggs | 2008-06-23 | 3 | -1/+6 |
| | |||||
* | nouveau: very quick port to tex-surface changes. | Ben Skeggs | 2008-05-27 | 4 | -6/+32 |
| | | | | | probably the last match-gallium-upstream merge for a bit, some cleanup+nv50 work coming RSN... | ||||
* | nouveau: remove final PIPE_FORMAT_U_* usage | Ben Skeggs | 2008-05-25 | 2 | -6/+6 |
| | |||||
* | nouveau: remove chipset fields in all nv pipe driver context/screen structs. | Ben Skeggs | 2008-05-13 | 4 | -9/+4 |
| | |||||
* | nouveau: bitmap texcoord bias has been removed | Ben Skeggs | 2008-05-05 | 1 | -2/+0 |
| | |||||
* | nouveau: stub set_edgeflags for all nv pipe drivers | Ben Skeggs | 2008-04-27 | 1 | -0/+6 |
| | |||||
* | nv10: enable viewport clipping | Peter Winters | 2008-04-20 | 1 | -2/+2 |
| | |||||
* | nv10: fix random stuff | Peter Winters | 2008-04-20 | 5 | -30/+72 |
| | |||||
* | nouveau: PIPE_ATTRIB_MAX -> PIPE_MAX_ATTRIBS | Ben Skeggs | 2008-04-15 | 2 | -4/+4 |
| | |||||
* | nouveau: in some cases don't create the buffer in local mem initially. | Ben Skeggs | 2008-04-04 | 1 | -0/+3 |
| | |||||
* | nv10: emit dummy zeta size when no zbuffer is used. | Stephane Marchesin | 2008-04-03 | 1 | -1/+1 |
| | |||||
* | nv10: fix more vertex stuff | Stephane Marchesin | 2008-04-03 | 4 | -8/+25 |
| | |||||
* | nv10: fix some more state, work on the vertex emission code. | Stephane Marchesin | 2008-04-02 | 6 | -67/+66 |
| | |||||
* | nv10: set rasterizer state. | Stephane Marchesin | 2008-04-02 | 2 | -0/+6 |
| | |||||
* | nv10: fix stuff and things. | Stephane Marchesin | 2008-04-02 | 8 | -238/+377 |
| | |||||
* | nouveau: adapt to recent gallium changes | Ben Skeggs | 2008-03-30 | 2 | -25/+12 |
| | |||||
* | nv10: fixes. | Stephane Marchesin | 2008-03-17 | 2 | -6/+7 |
| |