summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
AgeCommit message (Collapse)AuthorFilesLines
2011-08-27android: add support for i915gChia-I Wu1-0/+41
Quickly tested with 945GME. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB or RGBA visuals work. As for 3D apps, some work and some do not.
2011-08-27android: add support for vmwgfxChia-I Wu1-0/+44
Quickly tested with VMWare Workstation 7.1.4 on Linux with GeForce GT220. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB visual works. However, due to missing PIPE_FORMAT_R8G8B8A8_UNORM support, those with RGBA visual do not.
2011-08-27winsys/i915: share the source listChia-I Wu3-11/+8
Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
2011-08-27winsys/svga: share the source listChia-I Wu3-21/+13
Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
2011-08-25android: add support for r600gChia-I Wu2-0/+83
Tested with a Radeon HD 6250. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB or RGBA visuals work. As for 3D apps, some work but some don't (with serious rendering defects). Reviewed-by: Marek Olšák <maraeo@gmail.com>
2011-08-25winsys/radeon: share the source listChia-I Wu3-9/+7
Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it. Reviewed-by: Marek Olšák <maraeo@gmail.com>
2011-08-25winsys/r600: share the source listChia-I Wu3-13/+10
Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it. Reviewed-by: Marek Olšák <maraeo@gmail.com>
2011-08-24winsys/svga: use os_mmap() for memory mappingChia-I Wu1-5/+6
os_mmap() guarantees large file support across OSes.
2011-08-24winsys/radeon: use os_mmap() for memory mappingChia-I Wu1-3/+3
os_mmap() guarantees large file support across OSes. Reviewed-by: Marek Olšák <maraeo@gmail.com>
2011-08-21winsys/sw/android: use HAL formatsChia-I Wu1-18/+9
Native buffers use HAL formats, not UI formats.
2011-08-21winsys/sw/android: set bo usage correctlyChia-I Wu1-10/+3
Since this is the software path, set GRALLOC_USAGE_SW_WRITE_OFTEN when PIPE_BIND_RENDER_TARGET, and set GRALLOC_USAGE_SW_READ_OFTEN when PIPE_BIND_SAMPLER_VIEW.
2011-08-21android: build android sw winsysChia-I Wu1-0/+34
This builds the static library libmesa_winsys_sw_android from winsys/sw.
2011-08-21winsys/android: new SW winsys for AndroidChia-I Wu2-0/+320
On Android, color buffers are passed between server and clients as opaque buffer_handle_t. This winsys makes use of gralloc, which provides a generic way to map and unmap buffer_handle_t for CPU access.
2011-08-18r600g: implement NV_primitive_restart functionality (v2)Marek Olšák1-0/+2
Needed for GL3. v2: evergreen support I don't set PA_SU_SC_MODE_CNTL.MULTI_PRIM_IB_ENA. piglit/primitive-restart does pass though. Tested on RV730 and EG-REDWOOD.
2011-08-16r600g: consolidate two files r600d.hMarek Olšák1-2241/+0
2011-08-16r600g: set read/write usage flags for each relocationMarek Olšák3-24/+33
This takes advantage of the new GEM_WAIT ioctl when mapping buffers. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16winsys/radeon: take advantage of the new ioctlMarek Olšák1-12/+28
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16winsys/radeon: hook up the new DRM_RADEON_GEM_WAIT ioctlMarek Olšák2-20/+61
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16winsys/radeon: remove broken bo-is-busy-for-write guessingMarek Olšák3-31/+0
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: enable thread offloadingMarek Olšák3-11/+8
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: undefine RADEON_CTX_MAX_PM4Marek Olšák2-6/+6
winsys/radeon has its own definition. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: don't include radeon_drm.h and xf86drm.hMarek Olšák5-14/+6
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16winsys/radeon: remove the device file descriptor from the interfaceMarek Olšák2-2/+0
r600g doesn't need it anymore. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: remove an unused parameter from r600_bo_destroyMarek Olšák3-19/+14
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: merge radeon_bo with r600_boMarek Olšák6-133/+32
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: remove radeon_bo::handleMarek Olšák5-16/+3
This should be private to radeon_winsys. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: use buffer_map/unmap from radeon_winsysMarek Olšák4-136/+10
This also drops the unneeded bo_busy/wait functions. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: set the flush callback in radeon_winsysMarek Olšák4-17/+18
I have also renamed the winsys function. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: get tiling flags using radeon_winsysMarek Olšák3-44/+9
Also remove some unused fence-related leftovers. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: get winsys_handle using radeon_winsysMarek Olšák3-33/+1
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: move more DRM queries into winsys/radeonMarek Olšák5-48/+24
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16winsys/radeon: consolidate the add_reloc functionMarek Olšák3-38/+13
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: emit CS using radeon_winsysMarek Olšák6-47/+18
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: remove struct r600_relocMarek Olšák1-1/+1
That is really private to winsys/radeon. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: don't use RADEON_GEM_DOMAIN_CPUMarek Olšák2-23/+21
Also staging resources shouldn't be allocated with the initial domain being VRAM. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: remove reloc-related variables from radeon_boMarek Olšák3-44/+22
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: let radeon_winsys maintain the list of relocationsMarek Olšák6-41/+57
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: remove now-unused r600_context::fenced_boMarek Olšák2-8/+0
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: remove the fences which were used for the cache buffer managerMarek Olšák4-145/+10
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: remove now-unused r600_bo::sizeMarek Olšák2-3/+0
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: remove the cache buffer manager from winsys/r600Marek Olšák6-223/+3
As we've just started using the one from winsys/radeon. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: allocate/destroy buffers using radeon_winsysMarek Olšák6-83/+35
We use the cache buffer manager from radeon_winsys now, but we don't use anything else yet. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: remove unused function declarationsMarek Olšák1-6/+0
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: remove unused r600_bo::tiling_flagsMarek Olšák2-5/+5
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: remove unused r600_bo::kernel_pitchMarek Olšák3-7/+3
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: put radeon_winsys in screen::winsys, don't include drm_driver in the pipeMarek Olšák6-14/+20
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: cleanup includes in winsysMarek Olšák8-69/+21
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: move some queries into winsys/radeonMarek Olšák6-100/+51
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-16r600g: first step into winsys/radeonMarek Olšák6-50/+50
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2011-08-06winsys/radeon: disable use of the buffer busy-for-write flagMarek Olšák1-0/+12