summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* android: add support for r300gChia-I Wu2011-08-271-0/+46
| | | | Compile tested only.
* android: add support for i915gChia-I Wu2011-08-271-0/+38
| | | | | | 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.
* android: add support for vmwgfxChia-I Wu2011-08-271-0/+38
| | | | | | | 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.
* nouveau: share the source listsChia-I Wu2011-08-2712-149/+91
| | | | | For each driver, factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
* r300g: share the source listChia-I Wu2011-08-273-114/+63
| | | | | | | | | | | | | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it. Note that $(TOP)/src/glsl/ralloc.c and $(TOP)/src/mesa/program/register_allocate.c are removed from C_SOURCES in Makefile.sources and added back in Makefile and SConscript. The idea is that they are not part of r300g. But having them in libr300.a makes build non-GL targets such as the compiler tests or g3dvl much easier. Also, for practical reason, TOP would be an undefined variable in Makefile.sources.
* i915g: share the source listChia-I Wu2011-08-273-53/+30
| | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
* svga: share the source listChia-I Wu2011-08-273-97/+50
| | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it.
* Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesaStéphane Marchesin2011-08-26165-1829/+20352
|\
| * svga: include LLVM in name string in debug buildsBrian Paul2011-08-261-2/+11
| |
| * r600g: Handle PIPE_TRANSFER_MAP_DIRECTLY.Michel Dänzer2011-08-261-0/+3
| | | | | | | | | | | | | | | | If the state tracker tries to map the resource directly but we can't or don't want to do that, fail to create a transfer. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
| * g3dvl: Rework the decoder interface part 2/5Christian König2011-08-265-0/+10
| | | | | | | | | | | | | | | | Implement PIPE_CAP_NUM_BUFFERS_DESIRED giving the decoder control over the number of buffers a state tracker should allocate. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
| * i915g: Fix off-by-one in scissors.David Reveman2011-08-251-2/+2
| |
| * i915g: Fix case where texcoords can overlap with fragpos/frontface.Stéphane Marchesin2011-08-251-3/+3
| |
| * i915g: Improve the flush heuristic by using the previous frame's number of ↵Stéphane Marchesin2011-08-254-6/+18
| | | | | | | | vertices.
| * r600g: fix replace_gpr_with_pv_psVadim Girlin2011-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | Instructions with 3 source operands have no write mask, so we may replace their destinations with PV/PS in the next group even if their dst.write is 0. Note: This is a candidate for the 7.11 branch. Signed-off-by: Vadim Girlin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
| * r600g: fix check_and_set_bank_swizzleVadim Girlin2011-08-251-10/+20
| | | | | | | | | | | | | | | | | | | | Need to do full check when not all bank swizzles in the group are forced (e.g. when trying to merge interp_* group with the next instruction) Note: This is a candidate for the 7.11 branch. Signed-off-by: Vadim Girlin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
| * softpipe: add const qualifier to silence warningsBrian Paul2011-08-251-1/+1
| |
| * softpipe: implement TXF support via get_texel callbackDave Airlie2011-08-251-0/+69
| | | | | | | | | | | | | | | | | | | | | | This just calls the texel fetch functions directly bypassing the sampling, notes: 1: loops inside switch should be more optimal. 2: borders can be sampled though only up to border depth, outside that its undefined. Signed-off-by: Dave Airlie <[email protected]>
| * softpipe: add get_dims callback for TXQ support. (v2)Dave Airlie2011-08-251-0/+40
| | | | | | | | | | | | | | | | | | | | | | This adds the get_dims callback that is called from the tgsi exec_txq. It returns values as per EXT_gpu_program4. v2: fix one indent + use a switch (slighty modified from Brian) Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]>
| * android: add support for r600gChia-I Wu2011-08-251-0/+42
| | | | | | | | | | | | | | | | 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 <[email protected]>
| * r600g: share the source listChia-I Wu2011-08-253-31/+19
| | | | | | | | | | | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it. Reviewed-by: Marek Olšák <[email protected]>
| * llvmpipe: add more restrict keywordsBrian Paul2011-08-241-4/+4
| | | | | | | | | | | | | | | | Put restrict in the function definitions to silence MSVC warnings about incompatible assignments in "func = lp_tile_foobar;" when func was declared with restrict keywords but the rhs function wasn't. Reviewed-by: Jose Fonseca <[email protected]>
| * r600g: fill out missing entries in opcode tables.Dave Airlie2011-08-241-0/+36
| | | | | | | | | | | | this just adds the missing opcodes as unsupported. Signed-off-by: Dave Airlie <[email protected]>
| * android: build softpipeChia-I Wu2011-08-211-0/+67
| | | | | | | | This builds the static library libmesa_pipe_softpipe from softpipe.
| * r600g: don't allocate separate depth and stencil for transfer textures on EGMarek Olšák2011-08-191-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 evergreenMarek Olšák2011-08-191-0/+11
| |
| * r600g: rename resource -> view in create_sampler_viewMarek Olšák2011-08-192-32/+26
| | | | | | | | | | The sampler view is not a resource. Also remove the unused desc variable.
| * r600g: hack around a problem with texture alignmentMarek Olšák2011-08-191-0/+10
| |
| * r600g: simplify the conditionals determining array modeMarek Olšák2011-08-191-20/+11
| |
| * r600g: put depth and stencil into one backing bufferMarek Olšák2011-08-191-10/+17
| | | | | | | | For DRI2 sharing.
| * r600g: fix depth-stencil on evergreenMarek Olšák2011-08-194-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 passChristoph Bumiller2011-08-191-2/+4
| | | | | | | | Bug introduced in 34980cd153050111edc545545ddff11f5b68347e.
| * r600g: fix a possible crash in r600_adjust_gprsMarek Olšák2011-08-191-1/+1
| |
| * llvmpipe: Don't build lp_test_arit on MSVC.José Fonseca2011-08-181-1/+1
| | | | | | | | | | Several issues due to expf/logf/etc either not being declared, or being defined as a macro.
| * llvmpipe: snprintf->util_snprintf.José Fonseca2011-08-181-1/+2
| | | | | | | | For MSVC.
| * llvmpipe: Add u_math.h include.José Fonseca2011-08-181-0/+1
| | | | | | | | Necessary on platforms with incomplete math.h
| * r600g: implement NV_primitive_restart functionality (v2)Marek Olšák2011-08-183-1/+9
| | | | | | | | | | | | | | | | | | 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.
| * nv50: don't drop flags definition when merging SAT with ADD/MADChristoph Bumiller2011-08-171-0/+2
| |
| * softpipe: fix an obvious copy-paste error in get_query_resultMarek Olšák2011-08-161-1/+1
| | | | | | | | Reviewed-by: Brian Paul <[email protected]>
| * r600g: rename bc -> bytecodeMarek Olšák2011-08-166-485/+485
| | | | | | | | It took me a while to figure out what it stands for.
| * r600g: expose ARB_ES2_compatibility by claiming fixed-point format supportMarek Olšák2011-08-162-1/+1
| | | | | | | | | | | | 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 driverMarek Olšák2011-08-161-109/+12
| |
| * u_blitter: rename util_blitter_copy_region -> util_blitter_copy_textureMarek Olšák2011-08-164-6/+6
| |
| * r600g: consolidate two files r600d.hMarek Olšák2011-08-161-1/+55
| |
| * r600g: set read/write usage flags for each relocationMarek Olšák2011-08-165-505/+531
| | | | | | | | | | | | This takes advantage of the new GEM_WAIT ioctl when mapping buffers. Reviewed-by: Alex Deucher <[email protected]>
| * winsys/radeon: hook up the new DRM_RADEON_GEM_WAIT ioctlMarek Olšák2011-08-162-4/+4
| | | | | | | | Reviewed-by: Alex Deucher <[email protected]>
| * r600g: enable thread offloadingMarek Olšák2011-08-163-5/+9
| | | | | | | | Reviewed-by: Alex Deucher <[email protected]>
| * r600g: undefine RADEON_CTX_MAX_PM4Marek Olšák2011-08-161-2/+0
| | | | | | | | | | | | winsys/radeon has its own definition. Reviewed-by: Alex Deucher <[email protected]>
| * r600g: don't include radeon_drm.h and xf86drm.hMarek Olšák2011-08-161-3/+0
| | | | | | | | Reviewed-by: Alex Deucher <[email protected]>
| * r600g: remove an unused parameter from r600_bo_destroyMarek Olšák2011-08-167-14/+11
| | | | | | | | Reviewed-by: Alex Deucher <[email protected]>