summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
Commit message (Collapse)AuthorAgeFilesLines
* r300g: drop begin_cs/end_csMarek Olšák2010-06-141-21/+0
| | | | | | | | | | I have had a look at the libdrm sources and they just contain more or less the same checking we do in macros, and begin_cs may realloc the CS buffer if we overflow it, which never happens with r300g. So these are pretty much useless. There is a small but measurable performance increase by dropping the two functions.
* r300g: replace r300_cs_info with simplier get_cs_free_dwordsMarek Olšák2010-06-131-6/+3
|
* winsys: Add fbdev software winsys.Chia-I Wu2010-06-114-0/+298
| | | | | | This is a simple winsys that mmap()s the framebuffer device and memcpy()s the contents of display targets to the framebuffer device for displaying.
* nouveau: Remove left over argument in drm apiJakob Bornecrantz2010-06-061-2/+1
|
* i915g: Rename winsys c file.Vinson Lee2010-06-041-1/+1
| | | | | This was missed in commit e7f0f6bb72c63fd6e6ddcb7a815be68682f1764c. Fixes i915g SCons build.
* r300g: use r300_buffer_domain everywhereMarek Olšák2010-06-023-11/+31
|
* r300g: let the driver determine the GEM domain for buffer_createMarek Olšák2010-06-023-26/+16
|
* st/xorg, vmware: Make throttling configurable.Thomas Hellstrom2010-05-315-6/+44
| | | | | | | | | | | | | | | | | | | | | | | | | The xorg state tracker gets two new options to let the user choose whether to enable / disable dirty throttling and swapbuffer throttling. The default value of these options are enabled, unless the winsys supplies a customizer with other values. The customizer record has been extended to allow this, and also to set winsys-based throttling on a per- context basis. The vmware part of this patch disables the dirty throttling if the kernel supports command submission throttling, and also in that case sets kernel based throttling for everything but swapbuffers. The vmware winsys does not set throttling per context, even if it theoretically could, but instead sets throttling per screen. This should perhaps be changed, should the xorg state tracker start to use multiple rendering contexts. Kernel throttling is off by default for all new screens/contexts, so the dri state tracker is not affected. This significantly improves interactivity of the vmware xorg driver. Cherry-picked from commit a8f3b3f88acc1f0193fa740e76e9d815f07f32ab Signed-off-by: Thomas Hellstrom <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* r600g: RS880 is r6xx-basedAlex Deucher2010-05-301-1/+1
| | | | Signed-off-by: Alex Deucher <[email protected]>
* r600g: remove unused variableMarek Olšák2010-05-291-1/+0
|
* r600g: fix gallium function parametersMarek Olšák2010-05-291-2/+1
|
* i915g: Rename winsys c fileJakob Bornecrantz2010-05-292-1/+1
|
* i915g: Move pci id to winsys structJakob Bornecrantz2010-05-294-8/+4
|
* r600g: Integrate into buildJakob Bornecrantz2010-05-271-0/+5
| | | | Signed-off-by: Jakob Bornecrantz <[email protected]>
* r600g: adapt to latest interfaces changesMarek Olšák2010-05-2727-1541/+91
| | | | | | | | | | | | | | | | | - Wrapped the buffer and texture create/destroy/transfer/... functions using u_resource, which is then used to implement the resource functions. - Implemented texture transfers. I left the buffer and texture transfers separate because one day we'll need a special codepath for textures. - Added index_bias to the draw_*elements functions. - Removed nonexistent *REP and *FOR instructions. - Some pipe formats have changed channel ordering, so I've removed/fixed nonexistent ones. - Added stubs for create/set/destroy sampler views. - Added a naive implementation of vertex elements state (new CSO). - Reworked {texture,buffer}_{from,to}_handle. - Reorganized winsys files, removed dri,egl,python directories. - Added a new build target dri-r600.
* r600g: Initial importJerome Glisse2010-05-2726-0/+6848
|
* sw/xlib: avoid dereferencing a null pointerBrian Paul2010-05-271-1/+1
|
* r300g: add get_cs_info winsys entrypoint, abandon check_csMarek Olšák2010-05-261-3/+6
|
* drm_api: Remove type argument from create screen callbackJakob Bornecrantz2010-05-256-60/+22
| | | | | With the removal of DRI1 support there where no use of this argument, some drivers didn't even properly check it.
* gallium: Remove dri1_api.h and winsys support for DRI1Jakob Bornecrantz2010-05-253-174/+7
| | | | | Since DRI1 support was dropped from st/dri it makes no sense to keep this code around.
* sw/xlib: NULL-out pointers after freeing image dataBrian Paul2010-05-241-1/+7
| | | | | | This fixes a double-free() error when not using a shared memory XImage. The XDestroyImage() function frees the ximage->data buffer if non-NULL. If we free it ourselves, we also need to NULL-out the pointer.
* xorg-vmwgfx: Add vmwctrl protoJakob Bornecrantz2010-04-301-0/+26
|
* nouveau: Fix build after msaa mergeJakob Bornecrantz2010-05-211-3/+1
|
* r300g: expose radeon_bo_wait to the driverMarek Olšák2010-05-163-0/+18
|
* sw/wrapper: Implement dt_get_handleJakob Bornecrantz2010-05-161-0/+13
|
* sw/wrapper: Make sure targets are texturesJakob Bornecrantz2010-05-161-0/+1
|
* r300g: fix texture transfersMarek Olšák2010-05-131-1/+1
| | | | | | | The regression has first shown up after this state tracker change: b0427bedde80e3189524651a327235bdfddbc613. FDO bug #28082.
* gallium: Add software drm api helper to scons buildJakob Bornecrantz2010-05-102-0/+22
|
* gallium: Add pipe wrapper software winsys to scons buildJakob Bornecrantz2010-05-102-0/+26
|
* i965g: avoid void * arithmeticRoland Scheidegger2010-05-101-1/+1
|
* glapi: Move to src/mapi/.Chia-I Wu2010-05-071-1/+1
| | | | Move glapi to src/mapi/{glapi,es1api,es2api}.
* svga: Fix scons buildJakob Bornecrantz2010-05-061-0/+2
|
* r300g: do not validate buffers in check_csMarek Olšák2010-05-021-1/+1
| | | | | It's already done in r300_emit_buffer_validate. This also fixes Total Annihilation 3D on debug builds at least.
* r300g: cache tiling flags to reduce the number of DRM callsMarek Olšák2010-05-021-6/+9
|
* svga: Translate svga reloc flags to pb flagsJakob Bornecrantz2010-04-191-1/+16
|
* radeong: fix scons buildJoakim Sindholt2010-04-281-0/+1
|
* i965g: Fix scons build of winsysJakob Bornecrantz2010-04-271-0/+2
|
* r300g: fix warnings by using the const qualifierMarek Olšák2010-04-261-1/+1
| | | | See also the libdrm commit af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.
* r300g: Add CS table writing.Corbin Simpson2010-04-261-0/+8
|
* r300g: emit MSPOS regsMarek Olšák2010-04-263-6/+10
|
* sw/xlib: Fix bad logic in shm allocation.José Fonseca2010-04-241-5/+5
| | | | Fixes fdo 27823.
* xlib/sw: remove stray semicolonBrian Paul2010-04-231-1/+1
|
* gallium: Convert some uses of get option to staticJakob Bornecrantz2010-04-231-1/+3
|
* gallium: s/free/FREE/ and same for friends.José Fonseca2010-04-231-1/+1
| | | | Based on Stephen Johnson's feedback.
* sw/xlib: Fallback to XPutImage when shmget fails.José Fonseca2010-04-231-6/+5
| | | | | | | After continuously running regression tests on Ubuntu for 2 days, shmget mysteriously starts to fail. Even when the X server is reset. This allow rendering to proceed, albeit using a slower presentation path.
* gallium: Fix copy typoJakob Bornecrantz2010-04-205-5/+5
|
* svga: Minor clean up of winsysJakob Bornecrantz2010-04-201-0/+1
|
* radeong: Minor clean up of winsysJakob Bornecrantz2010-04-201-12/+3
| | | | Also try to wrap trace around driver on non-debug builds, its free.
* nouveau: Minor clean up of winsysJakob Bornecrantz2010-04-201-2/+3
|
* i965g: Minor clean up of winsysJakob Bornecrantz2010-04-201-10/+2
|