summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau
AgeCommit message (Collapse)Author
2010-03-11dri/nouveau: Just reemit the BO state on pushbuf flush.Francisco Jerez
Reemitting dirty states on flush causes problems if the GL context isn't fully consistent when we get to it. It didn't serve any specific purpose, so, use nouveau_bo_state_emit instead.
2010-03-07dri/nouveau: Split big client buffers in the indexed case too.Francisco Jerez
2010-03-07dri/nouveau: Fix nv[12]x color sum.Francisco Jerez
2010-03-07dri/nv04: GL_EXT_secondary_colorAndrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-07dri/nouveau: Trivially add GL_NV_blend_squareAndrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-07dri/nouveau: Check _ColorDrawBuffers[0] before emitting fb state.Francisco Jerez
2010-03-06dri: drop MINIGLX_SOURCESGeorge Sapountzis
2010-03-04dri/nouveau: Remove some CI remnants.Francisco Jerez
2010-03-04dri/nouveau: Trivially add GL_ARB_texture_mirrored_repeat.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-04dri/nouveau: Enable GL_EXT_stencil_wrap.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-04dri/nouveau: Add GL_EXT_stencil_wrap for nv04.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-04dri/nouveau: Fix rb->DataType for z24s8 renderbuffers.Francisco Jerez
2010-03-04dri/nouveau: Try to keep client buffers smaller than the scratch VBO length.Francisco Jerez
2010-03-04dri/nouveau: Pack client arrays as they're copied to the real BO.Francisco Jerez
2010-03-03mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick
These are used to inform the driver of the clear value for color-index buffers and to control write-masking of bits in color-index buffers. No driver use or need (not even Nouveau) these interfaces. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-01dri/nouveau: Combine the dummy texture more deterministically on nv0x.Francisco Jerez
2010-03-01dri/nouveau: Fix up the ADD texture environment on nv0x.Francisco Jerez
2010-03-01dri/nouveau: Add two stencil operation cases in nv04_state_raster.c.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-01dri/nouveau: Allow to render to XRGB8888 textures.Andrew Randrianasulu
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-02-25dri/nouveau: Use the XRGB8888 hardware texture format.Francisco Jerez
2010-02-25dri/nouveau: Use the hardware I8 format for intensity textures.Francisco Jerez
2010-02-25dri/nouveau: Implement EXT_texture_from_pixmap.Francisco Jerez
2010-02-25dri/nouveau: Support rectangle textures.Francisco Jerez
2010-02-25dri/nouveau: Don't try to map a non-existent teximage.Francisco Jerez
2010-02-25dri/nouveau: Add some RGB888 span functions.Francisco Jerez
2010-02-25dri/nouveau: Fake A8 and L8 texture support on nv04.Francisco Jerez
2010-02-25dri/nouveau: Restructure the nv[12]0 regcombiner code, and fake A8/L8 support.Francisco Jerez
2010-02-25dri/nouveau: Try to validate textures earlier.Francisco Jerez
2010-02-25dri/nouveau: Swizzle using the CPU when we hit a limitation of SIFM.Francisco Jerez
2010-02-25dri/nouveau: Clean up the nv04 surface code a bit.Francisco Jerez
2010-02-25dri/nouveau: Avoid mask overflow on nv04_surface_fill.Francisco Jerez
2010-02-25dri/nouveau: Set _BaseFormat correctly for z24s8 renderbuffers.Francisco Jerez
2010-02-25dri/nouveau: Fix stencil mask handling on glClear().Francisco Jerez
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-17dri/nouveau: Some multithreaded rendering fixes.Francisco Jerez
2010-02-17nouveau: fix legacy dri driver buildJohannes Obermayr
2010-02-16dri/nouveau: Use event driven buffer validation.Francisco Jerez
2010-02-10dri: Allow selective generation of accum. buffer configsIan Romanick
Modify the interface to driCreateConfigs allowing drivers to not expose configs with an accumuation buffer. All of the drivers calling function have been updated to pass true for the accumulation selector. This maintains the current behavior. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-02-04Import a classic DRI driver for nv0x-nv2x.Francisco Jerez
2008-07-14nouveau: say goodbye to the old DRI driver...Stephane Marchesin
2008-06-21replace __inline and __inline__ with INLINE macroBrian Paul
2008-06-21replace __inline and __inline__ with INLINE macroBrian Paul
2008-03-31DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg
Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
2008-03-02nouveau: compilation fixesPatrice Mandin
2008-02-29Use __DRIextension mechanism providing loader functionality to the driver.Kristian Høgsberg
Instead of passing in a fixed struct, the loader now passes in a list of __DRIextension structs, to advertise the functionality it can provide to the driver. Each extension is individually versioned and can be extended or phased out as the interface develops.
2008-02-25Remove GetMSC DriverAPI function.Kristian Høgsberg
The DriverAPI is internal to the DRI drivers and GetDrawableMSC obsoletes GetMSC. Also, since the DRI driver interface has not yet been released, just drop the getMSC function from the DRI interface instead using the ABI preserving version mechanism. Finally, using void pointer privates in the DRI interface is not allowed, always pass the actual types around (__DRIdrawable in this case) to enhance type safety and readability of the code.
2008-02-12nouveau: ddx versioning changedBen Skeggs
2008-01-06Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian
Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers.
2008-01-06Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian
These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this...