summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50
AgeCommit message (Collapse)Author
2009-03-14nouveau: bypass_vs_clip_and_viewportYounes Manton
2009-03-13gallium: Remove do_flip argument from surface_copyJakob Bornecrantz
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
2009-03-07nv50: simplify tesla object selectionBen Skeggs
GeForce 8/9 are a bit more consistent than nv40 so far, so this was overkill before.
2009-03-07nouveau: make stateobjs start off with refcount of 1Ben Skeggs
2009-03-07Fix nv50_screen_create()Victor Stinner
Setup screen->pipe before using it (screen->constbuf = screen->pipe.buffer_create(...))
2009-03-04gallium: Unify reference counting.Michel Dänzer
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().
2009-02-22nv50: delay uploads until transfer object is destroyedBen Skeggs
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!
2009-02-20gallium: Improve makefiles for librariesJakob Bornecrantz
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.
2009-02-20nv50: remove unused variableBen Skeggs
2009-02-20nv50: fix occlusion queriesBen Skeggs
Left behind from some gallium changes a while back..
2009-02-20nv50: rework for texture_transfer changesBen Skeggs
2009-02-07nouveau: Need to surface_copy() without a pipe context.Younes Manton
2009-02-05nv50: stop using nouveau_push.h, it's evilBen Skeggs
2009-02-05nv50: move 2d blit/fill code into pipe driverBen Skeggs
2009-02-04nouveau: get things building/running again after pipe_surface.buffer removalBen Skeggs
Don't look at nouveau_winsys_pipe.h... I promise it's temporary!
2009-02-04nouveau: link against libdrm_nouveau (installed with libdrm)Ben Skeggs
2009-02-02gallium: remove pipe_buffer from surfacesZack Rusin
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.
2009-01-31gallium: initialize simple screen in driversZack Rusin
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-29gallium: give the screen priority when it comes to buffer allocationsZack Rusin
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
2009-01-27gallium: it's a reference value, not a reference numberZack Rusin
2009-01-27gallium: standardize api on the prefix "nr"Zack Rusin
2009-01-27gallium: standardize naming of masksZack Rusin
2009-01-27gallium: standardize on stride instead of pitch in the interfaceZack Rusin
2009-01-20gallium: Remove the standalone surfaces.José Fonseca
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.
2009-01-13nv50: fix progs/tests/manytexBen Skeggs
Previously all squares were textured with the same texture.. not quite what the demo was supposed to look like!
2009-01-13nv50: get glxgears showing all 3 gears instead of 1!!Ben Skeggs
This fixes a lot of other things where not all the geometry got drawn also.
2009-01-13nv50: change some magic reg, makes more things workBen Skeggs
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 :)
2009-01-13nv50: add DXTn formatsBen Skeggs
2009-01-13nv50: shadow mappingBen Skeggs
2009-01-13nv50: anisoBen Skeggs
2009-01-13nv50: occlusion queriesBen Skeggs
Not quite working, but the general idea is right I think.
2009-01-13nv50: implement KIL enough for progs/fp/kil to workBen Skeggs
2009-01-12nv50: make rtt work againBen Skeggs
2009-01-12nv50: fix handling of depth texturesBen Skeggs
2009-01-12nv50: another typo..Ben Skeggs
2009-01-12nv50: fix assertion failureBen Skeggs
2009-01-12nv50: remove previous hack to manage tiled surfacesBen Skeggs
2009-01-12nv50: fix a typo and a thinkoBen Skeggs
2009-01-12nv50: enable npot texturesBen Skeggs
2009-01-12nv50: disable shader debugBen Skeggs
2009-01-12nv50: any cpu access to a texture is done on its backing imagesBen Skeggs
Still a little dodgy: - RTT will hit an assertion (hopefully!) and fail - 3D textures with depth >= 32 will cause bad things to happen
2009-01-12nv50: create buffers for each image that makes up a textureBen Skeggs
2009-01-08gallium: Replace uint64 by standard uint64_t.José Fonseca
uint64 is not (so?) standard, and often redefined by third parties, causing name clashes.
2009-01-06nv50: fill image unit index in TEX varientsBen Skeggs
2009-01-06nv50: fix crash in nv50_program_destroyBen Skeggs
2009-01-06nv50: working towards 3D texturesBen Skeggs
2009-01-06nv50: slightly better miptree allocationBen Skeggs
I swear this didn't work last time I tried it.. Anyhow, still only suitable for 2D miptrees - more coming once I know the layout.
2009-01-06nv50: add TXP to TEX case.. not correct, but anyway..Ben Skeggs
2009-01-06nv50: indentation for TEX is a little overenthusiasticBen Skeggs