summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_screen.c
AgeCommit message (Collapse)Author
2010-02-01nv50/nv40/nv30: fix small memory leak of nouveau_resources on screen_destroyMarcin Slusarz
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-01-29tgsi: add caps for fragment coord conventions (v3)Luca Barbieri
Changes in v3: - Renumber caps to accomodate caps to add to master in the meantime - Document caps - Add unsupported caps to *_screen.c too Changes in v2: - Split for properties patch - Use positive caps instead of negative caps This adds 4 caps to indicate support of each of the fragment coord conventions. All drivers are also modifed to add the appropriate caps. Some drivers were incorrectly using non-Gallium-default conventions, and caps for them have them set so that they will behave correctly after the later state tracker patches. This drivers are softpipe/llvmpipe (uses integer rather than half integer) and pre-nv50 Nouveau (uses lower left rather than upper left). Other drivers might be broken. With this patchset, fixing them is only a matter of exposing the appropriate caps that match the behavior of the existing code. Drivers are encouraged to support all conventions themselves for better performance, and this feature is added to softpipe in a later patch.
2010-01-26gallium: add the new PIPE_CAP blend bits to more driversRoland Scheidegger
some drivers will complain if they don't know the cap bit
2010-01-05nouveau: rewrite nouveau_stateobj to use BEGIN_RING properlyMaarten Maathuis
- The previous solution was hacky and didn't do subchannel autobinding. - The beheaviour should match what libdrm_nouveau does closely. - The solution remains statically sized, but when debugging is on it will check for abuse. Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
2009-12-28nouveau: Unreference state/buffer objects on context/screen destruction.Younes Manton
- unreference state objects so that buffer objects are unreferenced and eventually destroyed - free channel at screen's destruction Based on Krzysztof Smiechowicz's patch.
2009-09-16gallium: Deprecate PIPE_CAP_S3TC.José Fonseca
No longer used. S3TC support is queried via pipe_screen::is_format_supported.
2009-07-14gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵Patrice Mandin
default extension list
2009-07-01nouveau: return some supported zeta formatsBen Skeggs
2009-07-01nouveau: deal with PIPE_CAP_TGSI_CONT_SUPPORTEDBen Skeggs
2009-06-05nouveau: move channel creation into pipe driversBen Skeggs
2009-06-05nouveau: call notifier/grobj etc funcs directlyBen Skeggs
libdrm_nouveau is linked with the winsys, there's no good reason to do all this through yet another layer.
2009-06-05nv40: remove u_simple_screen usageBen Skeggs
2009-06-05nouveau: call nouveau_pushbuf directly rather than going through nvwsBen Skeggs
2009-02-25nouveau: nv04-nv40 texture transfer.Younes Manton
2009-02-10nouveau: nv40 swizzled mipmap fixes.Younes Manton
2009-02-07nouveau: Need to surface_copy() without a pipe context.Younes Manton
2009-02-05nv04-nv40: move 2d blit/fill code into pipe driverBen 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-21nouveau: Map correct mip level when using the shadow (nv30, nv40).Younes Manton
2009-01-10nouveau: Put dynamic textures in GART for CPU access and don't swizzle.Younes Manton
Also flag shadows as dynamic since they're for CPU access as well.
2008-12-16nouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITSBen Skeggs
2008-12-02nouveau: Use swizzled textures & render targets on nv40 when possible.Younes Manton
2008-09-11nouveau: gallium directory structure changed again..Ben Skeggs
2008-08-07nv40/nv50: enable mirror wrap modesBen Skeggs
2008-08-03nv40: Support for PIPE_FORMAT_R16_SNORM.Younes Manton
2008-07-23nouveau: is_format_supported() interface changesBen Skeggs
2008-05-27nouveau: very quick port to tex-surface changes.Ben Skeggs
probably the last match-gallium-upstream merge for a bit, some cleanup+nv50 work coming RSN...
2008-05-25nouveau: remove final PIPE_FORMAT_U_* usageBen Skeggs
2008-05-14nv40: fix typo in one of the previous commitsBen Skeggs
2008-05-13nouveau: remove chipset fields in all nv pipe driver context/screen structs.Ben Skeggs
2008-05-05nouveau: bitmap texcoord bias has been removedBen Skeggs
2008-04-29nv40: enable DXTn formatsBen Skeggs
GL state tracker capable enough for progs/tests/texcompress2 at least.
2008-04-04nouveau: in some cases don't create the buffer in local mem initially.Ben Skeggs
2008-03-30nouveau: adapt to recent gallium changesBen Skeggs
2008-03-23nv40: add dxtn formats (disabled)Ben Skeggs
2008-03-19nouveau: pass nvws to nvws->push_* functions, rather than nouveau_channel*Ben Skeggs
2008-02-29nv40: move "channel context" stuff into nv40_screenBen Skeggs
2008-02-29nouveau: hand nouveau_winsys in with pipe_screen initBen Skeggs
2008-02-29nouveau: implement pipe_screenBen Skeggs
Untested on NV3x/NV5x. Quite possibly broken.