Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | st/egl: swapping without a buffer is not an error | Chia-I Wu | 2011-08-21 | 1 | -1/+1 |
| | | | | This fixes Kwaak3. | ||||
* | st/egl: use HAL formats for Android backend | Chia-I Wu | 2011-08-21 | 1 | -26/+15 |
| | | | | Native buffers use HAL formats, not UI formats. | ||||
* | winsys/sw/android: use HAL formats | Chia-I Wu | 2011-08-21 | 1 | -18/+9 |
| | | | | Native buffers use HAL formats, not UI formats. | ||||
* | winsys/sw/android: set bo usage correctly | Chia-I Wu | 2011-08-21 | 1 | -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. | ||||
* | android: build softpipe | Chia-I Wu | 2011-08-21 | 2 | -1/+68 |
| | | | | This builds the static library libmesa_pipe_softpipe from softpipe. | ||||
* | android: build android sw winsys | Chia-I Wu | 2011-08-21 | 2 | -0/+37 |
| | | | | This builds the static library libmesa_winsys_sw_android from winsys/sw. | ||||
* | android: build targets/egl-static | Chia-I Wu | 2011-08-21 | 2 | -0/+53 |
| | | | | | This builds the static library libmesa_egl_gallium from targets/egl-static. | ||||
* | android: build st/egl with android backend | Chia-I Wu | 2011-08-21 | 2 | -0/+55 |
| | | | | This builds the static library libmesa_st_egl from st/egl. | ||||
* | android: build gallium auxiliaries | Chia-I Wu | 2011-08-21 | 3 | -0/+317 |
| | | | | This builds the static library libmesa_gallium from gallium auxiliaries. | ||||
* | targets/egl-static: do not rely on libudev on Android | Chia-I Wu | 2011-08-21 | 1 | -0/+64 |
| | | | | | | There is no libudev on Android. Use DRM to get the PCI ID directly. Reviewed-by: Benjamin Franzke <[email protected]> | ||||
* | st/egl: add android backend | Chia-I Wu | 2011-08-21 | 5 | -0/+781 |
| | | | | | | | | | | Both HW and SW rendering are supported for Android. For SW rendering, we use the generic gralloc lock/unlock for mapping and unmapping color buffers (in winsys/android). For HW rendering, we need to know the real type of color buffers. This backend works with drm_gralloc, where a color buffer is backed by a GEM object. | ||||
* | winsys/android: new SW winsys for Android | Chia-I Wu | 2011-08-21 | 2 | -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. | ||||
* | gallium: add PIPE_OS_ANDROID support | Chia-I Wu | 2011-08-21 | 4 | -2/+22 |
| | | | | | | | Android uses Linux kernel and its own C runtime. It resembles PIPE_OS_LINUX a lot with some minor exceptions. Reviewed-by: Brian Paul <[email protected]> | ||||
* | r600g: don't allocate separate depth and stencil for transfer textures on EG | Marek Olšák | 2011-08-19 | 1 | -1/+2 |
| | | | | | | | | The state tracker expects depth and stencil pixels interleaved. Evergreen can bind an interleaved depth-stencil resource as a colorbuffer, but not as a zbuffer. The hardware can do the interleaving for us when decompressing. | ||||
* | r600g: finally enable float depth buffers on evergreen | Marek Olšák | 2011-08-19 | 1 | -0/+11 |
| | |||||
* | r600g: rename resource -> view in create_sampler_view | Marek Olšák | 2011-08-19 | 2 | -32/+26 |
| | | | | | The sampler view is not a resource. Also remove the unused desc variable. | ||||
* | r600g: hack around a problem with texture alignment | Marek Olšák | 2011-08-19 | 1 | -0/+10 |
| | |||||
* | r600g: simplify the conditionals determining array mode | Marek Olšák | 2011-08-19 | 1 | -20/+11 |
| | |||||
* | r600g: put depth and stencil into one backing buffer | Marek Olšák | 2011-08-19 | 1 | -10/+17 |
| | | | | For DRI2 sharing. | ||||
* | r600g: fix depth-stencil on evergreen | Marek Olšák | 2011-08-19 | 4 | -55/+99 |
| | | | | | | | | | | | | | | Such that it actually works in apps which use both. A separate buffer is allocated for stencil. The only exception is the window-system-provided depth-stencil buffer, where depth and stencil share the same buffer. This fixes: - fbo-depthstencil-GL_DEPTH24_STENCIL8-clear - fbo-depthstencil-GL_DEPTH24_STENCIL8-drawpixels-FLOAT-and-USHORT - fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-24_8 - fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-FLOAT-and-USHORT | ||||
* | nv50: fix potential null deref in insn modifer optimization pass | Christoph Bumiller | 2011-08-19 | 1 | -2/+4 |
| | | | | Bug introduced in 34980cd153050111edc545545ddff11f5b68347e. | ||||
* | r600g: fix a possible crash in r600_adjust_gprs | Marek Olšák | 2011-08-19 | 1 | -1/+1 |
| | |||||
* | llvmpipe: Don't build lp_test_arit on MSVC. | José Fonseca | 2011-08-18 | 1 | -1/+1 |
| | | | | | Several issues due to expf/logf/etc either not being declared, or being defined as a macro. | ||||
* | llvmpipe: snprintf->util_snprintf. | José Fonseca | 2011-08-18 | 1 | -1/+2 |
| | | | | For MSVC. | ||||
* | llvmpipe: Add u_math.h include. | José Fonseca | 2011-08-18 | 1 | -0/+1 |
| | | | | Necessary on platforms with incomplete math.h | ||||
* | r600g: implement NV_primitive_restart functionality (v2) | Marek Olšák | 2011-08-18 | 4 | -1/+11 |
| | | | | | | | | | 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. | ||||
* | r600g: fix scons build | Marek Olšák | 2011-08-17 | 1 | -0/+1 |
| | |||||
* | nv50: don't drop flags definition when merging SAT with ADD/MAD | Christoph Bumiller | 2011-08-17 | 1 | -0/+2 |
| | |||||
* | st/dri: Indent driconf options | Lauri Kasanen | 2011-08-17 | 1 | -7/+11 |
| | |||||
* | softpipe: fix an obvious copy-paste error in get_query_result | Marek Olšák | 2011-08-16 | 1 | -1/+1 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | st/dri: remove an unused-but-set variable | Marek Olšák | 2011-08-16 | 1 | -1/+0 |
| | |||||
* | r600g: rename bc -> bytecode | Marek Olšák | 2011-08-16 | 6 | -485/+485 |
| | | | | It took me a while to figure out what it stands for. | ||||
* | dri2: check if context is valid before flushing the pipe | Cooper Yuan | 2011-08-16 | 1 | -1/+2 |
| | |||||
* | r600g: expose ARB_ES2_compatibility by claiming fixed-point format support | Marek Olšák | 2011-08-16 | 4 | -32/+33 |
| | | | | | | I also needed to make some changes in u_vbuf_mgr in order to override the caps from the driver and enable the fallback even though the driver claims the format is supported. | ||||
* | noop: redirect the get_param/is_format.. queries to the underlying driver | Marek Olšák | 2011-08-16 | 1 | -109/+12 |
| | |||||
* | u_blitter: restore some states conditionally | Marek Olšák | 2011-08-16 | 1 | -12/+17 |
| | |||||
* | u_blitter: rename util_blitter_copy_region -> util_blitter_copy_texture | Marek Olšák | 2011-08-16 | 6 | -23/+26 |
| | |||||
* | r600g: consolidate two files r600d.h | Marek Olšák | 2011-08-16 | 2 | -2242/+55 |
| | |||||
* | r600g: set read/write usage flags for each relocation | Marek Olšák | 2011-08-16 | 8 | -529/+564 |
| | | | | | | This takes advantage of the new GEM_WAIT ioctl when mapping buffers. Reviewed-by: Alex Deucher <[email protected]> | ||||
* | winsys/radeon: take advantage of the new ioctl | Marek Olšák | 2011-08-16 | 1 | -12/+28 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | winsys/radeon: hook up the new DRM_RADEON_GEM_WAIT ioctl | Marek Olšák | 2011-08-16 | 4 | -24/+65 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | winsys/radeon: remove broken bo-is-busy-for-write guessing | Marek Olšák | 2011-08-16 | 3 | -31/+0 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: enable thread offloading | Marek Olšák | 2011-08-16 | 6 | -16/+17 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: undefine RADEON_CTX_MAX_PM4 | Marek Olšák | 2011-08-16 | 3 | -8/+6 |
| | | | | | | winsys/radeon has its own definition. Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: don't include radeon_drm.h and xf86drm.h | Marek Olšák | 2011-08-16 | 6 | -17/+6 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | winsys/radeon: remove the device file descriptor from the interface | Marek Olšák | 2011-08-16 | 2 | -2/+0 |
| | | | | | | r600g doesn't need it anymore. Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: remove an unused parameter from r600_bo_destroy | Marek Olšák | 2011-08-16 | 10 | -33/+25 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: merge radeon_bo with r600_bo | Marek Olšák | 2011-08-16 | 7 | -134/+33 |
| | | | | Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: remove radeon_bo::handle | Marek Olšák | 2011-08-16 | 5 | -16/+3 |
| | | | | | | This should be private to radeon_winsys. Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: use buffer_map/unmap from radeon_winsys | Marek Olšák | 2011-08-16 | 10 | -146/+23 |
| | | | | | | This also drops the unneeded bo_busy/wait functions. Reviewed-by: Alex Deucher <[email protected]> |