summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common
AgeCommit message (Collapse)Author
2007-09-25drm: update bufmgr code to reflect changes in drm interfaceDave Airlie
2007-09-21Fix buffer/fence reference counting due to Destroy vs Unreference difference.Eric Anholt
While here, remove the unnecessary fence type saving for the wait ioctl, as a 0 argument for type means "use your other saved copy".
2007-09-20Add disabled-by-default tracing of TTM bufmgr operations.Eric Anholt
2007-09-20Fix flipped sign to strerror.Eric Anholt
2007-09-20Merge branch 'master' into i915-unificationEric Anholt
Conflicts: src/mesa/drivers/dri/common/dri_drmpool.c src/mesa/drivers/dri/i915tex/i915_vtbl.c src/mesa/drivers/dri/i915tex/intel_batchbuffer.c src/mesa/drivers/dri/i915tex/intel_context.c
2007-09-18Add some error reporting and a couple of assertions to TTM bufmgr.Eric Anholt
2007-08-16Convert TTM code to require the server provide buffers for front/back/depth.Eric Anholt
This removes the use of fake buffers from the driver, such that it could probably be removed from the interface. It also should assist in proper synchronization of access.
2007-08-16Fix bad printf on TTM fence_wait failure.Eric Anholt
2007-08-16Don't forget to update buffer offset after validation.Eric Anholt
2007-08-12fix spantmp2 READ_RGBA inline asm (#11931)Dan Torop
2007-08-02Don't try to use kernel BO flags in dri_bufmgr_fake internals.Eric Anholt
2007-08-01fix mem leak (bug 11793)Brian
2007-07-31bufmgr_fake: eliminate the referenced list, which is now just on_hardware.Eric Anholt
2007-07-25Add notes about bufmgr initialization failures.Eric Anholt
2007-07-10Clear pointers to freed cliprects.Michel Dänzer
Not doing this could lead to double frees under rare circumstances.
2007-07-06bufmgr_ttm: hook up destroy function, track buffer names.Eric Anholt
2007-07-05bufmgr_fake: Keep the bufmgr lock held while freeing a block.Eric Anholt
2007-07-05Merge branch 'i915-unification' of ↵Eric Anholt
git+ssh://people.freedesktop.org/~anholt/mesa into i915-unification
2007-06-28Add a few missing GL 2.0 entrypoints, regenerate related files.Brian
Specifically: glVertexAttrib4bv glVertexAttrib4iv glVertexAttrib4ubv glVertexAttrib4uiv glVertexAttrib4usv
2007-06-21Improve fake bufmgr debugging, and don't try to migrate static buffers.Eric Anholt
2007-06-18Fix TTM static allocation flags.Eric Anholt
2007-06-18Test for TTM presence initially rather than test for lack of classic aperture.Eric Anholt
2007-05-31Add buffer manager destroy function.Eric Anholt
2007-05-24Replace the flags/hint arguments to bo_alloc{,_static} with a location mask.Eric Anholt
Now, allocations only take locations, rather than a variety of unused flags. The only interesting flag before was the no_move/no_evict pair for scanout and similar buffers, which the DRI drivers don't use. That will be readded when we get to using this code for display buffer allocation, by adding a pin/unpin call (dynamic pinning/unpinning may be useful for VT switching and root window resizing). This commit changes one instance of DRM_BO_FLAG_MEM_LOCAL with DRM_BO_FLAG_MEM_TT, which appeared to have been unintentional.
2007-05-24Merge branch 'master' into i915-unificationEric Anholt
Conflicts: src/mesa/drivers/dri/i915tex/i830_texstate.c src/mesa/drivers/dri/i915tex/i915_texstate.c
2007-05-22Add interfaces for overriding texture images with driver specific 'offsets'.Michel Dänzer
To be used by AIGLX for GLX_EXT_texture_from_pixmap without several additional data copies.
2007-05-18Merge branch 'master' into i915-unificationEric Anholt
Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/common/dri_drmpool.c src/mesa/drivers/dri/i915tex/intel_batchpool.c src/mesa/drivers/dri/i915tex/intel_buffer_objects.c src/mesa/drivers/dri/i915tex/intel_regions.c src/mesa/drivers/dri/i915tex/intel_screen.c src/mesa/drivers/dri/i915tex/intel_screen.h
2007-05-18Fix another mis-calling of _fence_wait_internal.Eric Anholt
2007-05-18Allow unreference with a NULL argument.Eric Anholt
2007-05-18Fix double-counting of low_offset in block->virtual.Eric Anholt
2007-05-18Zero out bufmgr_fake on alloc.Eric Anholt
2007-05-18Dead code elimination and fix bufmgr_fake_wait_idle.Eric Anholt
2007-05-18Fix some use-before-initialize in bufmgr_fake.Eric Anholt
2007-05-17Convert i915tex to the new interface and make it compile.Eric Anholt
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-05-16WIP: Replace TTM buffer pool manager with a simplified interface.Eric Anholt
The interface is not solid yet (some simplification to do still, and adjustment for 0-copy), and the drivers are not converted. However, the new interface allows using the same calls to support either a TTM or a classic static allocation backend, with the static backend allowing a more limited feature set.
2007-04-16Make sure we are locked when creating drm buffer objects.Thomas Hellstrom
Don't place buffer objects on unfenced list when newly created. Fix a buffer object wait-for-idle deadlock.
2007-04-08driUpdateFramebufferSize: Use ctx->Driver.ResizeBuffers.Michel Dänzer
2007-04-05Remove SI imports/exports remnants.George Sapountzis
2007-04-05Move glcontextmodes.c to glx.George Sapountzis
It is no longer linked with DRI drivers, libGL passes function pointers through the DRI interface.
2007-03-20use passed target parameterAlan Hourihane
2007-02-26s/pdp/prp/ in DoBindContext()Panagiotis Papadakos
2007-02-26add missing param to _mesa_warning()Panagiotis Papadakos
2007-01-27Bug 9628: no entry for GetVertexAttribPointervGeorge Sapountzis
This is because (in glX_API.xml) GetVertexAttribPointerv is aliased to GetVertexAttribPointervARB which is then aliased to GetVertexAttribPointervNV. Make GetVertexAttribPointerv alias GetVertexAttribPointervNV directly. Patch by Ian Romanick <idr@us.ibm.com> and regenerate.
2007-01-05Add reporting of damage by DRI drivers when the extension support is available.Eric Anholt
With this, tools like ximagesrc in gstreamer correctly see updates from GL rendering. Support requires that the Xdamage library be current (but will be disabled if not present) plus a new X Server with support for the new XDamagePost request. libGL now has a new interface version, and also links against libXdamage and libXfixes to support it, but backwards compatibility is retained. Currently, all drivers report damage at SwapBuffers time through common code -- front buffer rendering doesn't result in damage being reported. Also, the damage is against the root window, as our drivers don't yet render to backing store when they should (composited environments).
2006-12-06Make git ignore files only generated at build time.Michel Dänzer
2006-12-06Re-generate options.h with Swedish translations.Michel Dänzer
2006-12-06Swedish translation of driconf options.Daniel Nylander
2006-12-01Fix an infinite loop error that may occur when many contexts are boundThomas Hellström
to the same drawable in a multithreading environment. This one slipped out of the texman merge.
2006-11-14Enable GLX_SGI_make_current_read for tdfx.Ian Romanick
Implement GLX_SGI_make_current_read for tdfx. Remove annoying debug printf in tdfxSwapBuffers. Updated a comment in drirenderbuffer.h to note that the tdfx driver uses a flag that was previously only used by s3v. This code was tested with glxgears, wincopy, and manywin.