Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Clean up driver clear() interface. | Michel Dänzer | 2009-04-04 | 1 | -2/+2 |
| | | | | | Only allows clearing currently bound buffers, but colour and depth/stencil in a single call. | ||||
* | nv50: fix viewport state update | Christoph Bumiller | 2009-04-03 | 1 | -1/+2 |
| | |||||
* | gallium: Remove some little-used fields from struct pipe_surface. | Michel Dänzer | 2009-03-26 | 3 | -10/+0 |
| | |||||
* | nv50: fix typo in nv50_query.c | Ben Skeggs | 2009-03-25 | 1 | -1/+1 |
| | |||||
* | nouveau: bypass_vs_clip_and_viewport | Younes Manton | 2009-03-14 | 1 | -1/+1 |
| | |||||
* | gallium: Remove do_flip argument from surface_copy | Jakob Bornecrantz | 2009-03-13 | 1 | -10/+2 |
| | | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me. | ||||
* | nv50: simplify tesla object selection | Ben Skeggs | 2009-03-07 | 1 | -18/+8 |
| | | | | | GeForce 8/9 are a bit more consistent than nv40 so far, so this was overkill before. | ||||
* | nouveau: make stateobjs start off with refcount of 1 | Ben Skeggs | 2009-03-07 | 6 | -1/+16 |
| | |||||
* | Fix nv50_screen_create() | Victor Stinner | 2009-03-07 | 1 | -17/+18 |
| | | | | | Setup screen->pipe before using it (screen->constbuf = screen->pipe.buffer_create(...)) | ||||
* | gallium: Unify reference counting. | Michel Dänzer | 2009-03-04 | 5 | -45/+27 |
| | | | | | | | | | | | | | | 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(). | ||||
* | nv50: delay uploads until transfer object is destroyed | Ben Skeggs | 2009-02-22 | 1 | -13/+13 |
| | | | | | | | | It's possible a state tracker will map/unmap a transfer object many times. Delaying upload until the object is destroyed will prevent unnecessary uploads to the GPU. Also fixing a typo here, was unmapping the wrong buffer on transfer_unmap! | ||||
* | 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. | ||||
* | nv50: remove unused variable | Ben Skeggs | 2009-02-20 | 1 | -1/+1 |
| | |||||
* | nv50: fix occlusion queries | Ben Skeggs | 2009-02-20 | 1 | -2/+3 |
| | | | | Left behind from some gallium changes a while back.. | ||||
* | nv50: rework for texture_transfer changes | Ben Skeggs | 2009-02-20 | 8 | -157/+244 |
| | |||||
* | nouveau: Need to surface_copy() without a pipe context. | Younes Manton | 2009-02-07 | 3 | -5/+10 |
| | |||||
* | nv50: stop using nouveau_push.h, it's evil | Ben Skeggs | 2009-02-05 | 6 | -71/+92 |
| | |||||
* | nv50: move 2d blit/fill code into pipe driver | Ben Skeggs | 2009-02-05 | 3 | -7/+170 |
| | |||||
* | nouveau: get things building/running again after pipe_surface.buffer removal | Ben Skeggs | 2009-02-04 | 1 | -0/+26 |
| | | | | Don't look at nouveau_winsys_pipe.h... I promise it's temporary! | ||||
* | nouveau: link against libdrm_nouveau (installed with libdrm) | Ben Skeggs | 2009-02-04 | 2 | -6/+12 |
| | |||||
* | gallium: remove pipe_buffer from surfaces | Zack Rusin | 2009-02-02 | 5 | -12/+15 |
| | | | | | | | 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/+3 |
| | |||||
* | gallium: make p_winsys internal | Zack Rusin | 2009-01-30 | 7 | -16/+16 |
| | | | | | 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 | -15/+15 |
| | | | | | | 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: 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 | -4/+4 |
| | |||||
* | 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 | -1/+1 |
| | |||||
* | gallium: Remove the standalone surfaces. | José Fonseca | 2009-01-20 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | nv50: fix progs/tests/manytex | Ben Skeggs | 2009-01-13 | 1 | -0/+2 |
| | | | | | Previously all squares were textured with the same texture.. not quite what the demo was supposed to look like! | ||||
* | nv50: get glxgears showing all 3 gears instead of 1!! | Ben Skeggs | 2009-01-13 | 1 | -0/+2 |
| | | | | | This fixes a lot of other things where not all the geometry got drawn also. | ||||
* | nv50: change some magic reg, makes more things work | Ben Skeggs | 2009-01-13 | 1 | -1/+1 |
| | | | | | | No real idea what this does.. but a lot of things that misrendered and made the GPU throw a DATA_ERROR now work.. I'm wondering what side-effects we'll see from this :) | ||||
* | nv50: add DXTn formats | Ben Skeggs | 2009-01-13 | 3 | -1/+36 |
| | |||||
* | nv50: shadow mapping | Ben Skeggs | 2009-01-13 | 2 | -1/+6 |
| | |||||
* | nv50: aniso | Ben Skeggs | 2009-01-13 | 2 | -1/+22 |
| | |||||
* | nv50: occlusion queries | Ben Skeggs | 2009-01-13 | 2 | -13/+73 |
| | | | | Not quite working, but the general idea is right I think. | ||||
* | nv50: implement KIL enough for progs/fp/kil to work | Ben Skeggs | 2009-01-13 | 1 | -0/+28 |
| | |||||
* | nv50: make rtt work again | Ben Skeggs | 2009-01-12 | 1 | -1/+33 |
| | |||||
* | nv50: fix handling of depth textures | Ben Skeggs | 2009-01-12 | 2 | -7/+29 |
| | |||||
* | nv50: another typo.. | Ben Skeggs | 2009-01-12 | 1 | -1/+1 |
| | |||||
* | nv50: fix assertion failure | Ben Skeggs | 2009-01-12 | 1 | -2/+9 |
| | |||||
* | nv50: remove previous hack to manage tiled surfaces | Ben Skeggs | 2009-01-12 | 2 | -33/+1 |
| | |||||
* | nv50: fix a typo and a thinko | Ben Skeggs | 2009-01-12 | 1 | -3/+4 |
| | |||||
* | nv50: enable npot textures | Ben Skeggs | 2009-01-12 | 1 | -1/+1 |
| | |||||
* | nv50: disable shader debug | Ben Skeggs | 2009-01-12 | 1 | -1/+7 |
| | |||||
* | nv50: any cpu access to a texture is done on its backing images | Ben Skeggs | 2009-01-12 | 3 | -7/+72 |
| | | | | | | Still a little dodgy: - RTT will hit an assertion (hopefully!) and fail - 3D textures with depth >= 32 will cause bad things to happen | ||||
* | nv50: create buffers for each image that makes up a texture | Ben Skeggs | 2009-01-12 | 2 | -13/+38 |
| | |||||
* | gallium: Replace uint64 by standard uint64_t. | José Fonseca | 2009-01-08 | 1 | -1/+1 |
| | | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes. | ||||
* | nv50: fill image unit index in TEX varients | Ben Skeggs | 2009-01-06 | 1 | -2/+8 |
| | |||||
* | nv50: fix crash in nv50_program_destroy | Ben Skeggs | 2009-01-06 | 1 | -2/+2 |
| |