summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Clean up driver clear() interface.Michel Dänzer2009-04-041-2/+2
| | | | | Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
* nv50: fix viewport state updateChristoph Bumiller2009-04-031-1/+2
|
* gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer2009-03-263-10/+0
|
* nv50: fix typo in nv50_query.cBen Skeggs2009-03-251-1/+1
|
* nouveau: bypass_vs_clip_and_viewportYounes Manton2009-03-141-1/+1
|
* gallium: Remove do_flip argument from surface_copyJakob Bornecrantz2009-03-131-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 selectionBen Skeggs2009-03-071-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 1Ben Skeggs2009-03-076-1/+16
|
* Fix nv50_screen_create()Victor Stinner2009-03-071-17/+18
| | | | | Setup screen->pipe before using it (screen->constbuf = screen->pipe.buffer_create(...))
* gallium: Unify reference counting.Michel Dänzer2009-03-045-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 destroyedBen Skeggs2009-02-221-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 librariesJakob Bornecrantz2009-02-201-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 variableBen Skeggs2009-02-201-1/+1
|
* nv50: fix occlusion queriesBen Skeggs2009-02-201-2/+3
| | | | Left behind from some gallium changes a while back..
* nv50: rework for texture_transfer changesBen Skeggs2009-02-208-157/+244
|
* nouveau: Need to surface_copy() without a pipe context.Younes Manton2009-02-073-5/+10
|
* nv50: stop using nouveau_push.h, it's evilBen Skeggs2009-02-056-71/+92
|
* nv50: move 2d blit/fill code into pipe driverBen Skeggs2009-02-053-7/+170
|
* nouveau: get things building/running again after pipe_surface.buffer removalBen Skeggs2009-02-041-0/+26
| | | | Don't look at nouveau_winsys_pipe.h... I promise it's temporary!
* nouveau: link against libdrm_nouveau (installed with libdrm)Ben Skeggs2009-02-042-6/+12
|
* gallium: remove pipe_buffer from surfacesZack Rusin2009-02-025-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 driversZack Rusin2009-01-311-0/+3
|
* gallium: make p_winsys internalZack Rusin2009-01-307-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 allocationsZack Rusin2009-01-296-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 numberZack Rusin2009-01-271-1/+1
|
* gallium: standardize api on the prefix "nr"Zack Rusin2009-01-272-4/+4
|
* gallium: standardize naming of masksZack Rusin2009-01-271-4/+4
|
* gallium: standardize on stride instead of pitch in the interfaceZack Rusin2009-01-271-1/+1
|
* gallium: Remove the standalone surfaces.José Fonseca2009-01-201-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/manytexBen Skeggs2009-01-131-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 Skeggs2009-01-131-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 workBen Skeggs2009-01-131-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 formatsBen Skeggs2009-01-133-1/+36
|
* nv50: shadow mappingBen Skeggs2009-01-132-1/+6
|
* nv50: anisoBen Skeggs2009-01-132-1/+22
|
* nv50: occlusion queriesBen Skeggs2009-01-132-13/+73
| | | | Not quite working, but the general idea is right I think.
* nv50: implement KIL enough for progs/fp/kil to workBen Skeggs2009-01-131-0/+28
|
* nv50: make rtt work againBen Skeggs2009-01-121-1/+33
|
* nv50: fix handling of depth texturesBen Skeggs2009-01-122-7/+29
|
* nv50: another typo..Ben Skeggs2009-01-121-1/+1
|
* nv50: fix assertion failureBen Skeggs2009-01-121-2/+9
|
* nv50: remove previous hack to manage tiled surfacesBen Skeggs2009-01-122-33/+1
|
* nv50: fix a typo and a thinkoBen Skeggs2009-01-121-3/+4
|
* nv50: enable npot texturesBen Skeggs2009-01-121-1/+1
|
* nv50: disable shader debugBen Skeggs2009-01-121-1/+7
|
* nv50: any cpu access to a texture is done on its backing imagesBen Skeggs2009-01-123-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 textureBen Skeggs2009-01-122-13/+38
|
* gallium: Replace uint64 by standard uint64_t.José Fonseca2009-01-081-1/+1
| | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes.
* nv50: fill image unit index in TEX varientsBen Skeggs2009-01-061-2/+8
|
* nv50: fix crash in nv50_program_destroyBen Skeggs2009-01-061-2/+2
|