summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* g3dvl: Rework the decoder interface part 1/5Christian König2011-08-267-316/+404
| | | | | | | | | First of all get ride of the decode_buffer structure, while still giving the decoder the ability to organize it's buffers depending on the needs of the state tracker. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* tgsi: update tgsi.rst for TXQDave Airlie2011-08-261-2/+14
| | | | | | add some info on the TXQ opcode. Signed-off-by: Dave Airlie <[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]>
* pp: add files to Makefile.sourcesBrian Paul2011-08-251-0/+6
|
* Merge branch 'kasanen-post-process-v2'Brian Paul2011-08-2520-4/+4754
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript
| * pp/main queue: Add the PP headersLauri Kasanen2011-08-193-0/+215
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp/main queue: Add pp_program.[ch]Lauri Kasanen2011-08-192-0/+201
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp/main queue: Add pp_init.cLauri Kasanen2011-08-191-0/+283
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp/main queue: Add pp_run.cLauri Kasanen2011-08-191-0/+188
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp: Add Jimenez' MLAALauri Kasanen2011-08-192-0/+646
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp: Add the MLAA areamapLauri Kasanen2011-08-191-0/+2821
| | | | | | | | | | | | | | | | The areamap contains precomputed data on different aliasing types. It is necessary for good performance. Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp: Cel-shade filterLauri Kasanen2011-08-192-0/+117
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp: Color filtersLauri Kasanen2011-08-192-0/+149
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * pp: DocsLauri Kasanen2011-08-191-0/+87
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * aux/Makefile,SConscript: Build PPLauri Kasanen2011-08-192-0/+12
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * st/dri: Bind the post-processing queue to driLauri Kasanen2011-08-195-4/+47
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[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]>
* | tgsi: add TXF support.Dave Airlie2011-08-252-1/+59
| | | | | | | | | | | | | | | | | | | | | | This is a straight texel fetch with no filtering or clamping. It uses integers to specify the i/j/k (from EXT_gpu_shader4). To enable this I had to add another hook into the tgsi sampler so that we could easily bypass all the filtering sample does. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[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]>
* | tgsi: add TXQ support. (v2)Dave Airlie2011-08-252-1/+31
| | | | | | | | | | | | | | | | | | | | this adds another callback in the sampler struct containing get_dims entry point. This is used to query the driver for the texture resource dimensions for the resource bound to the current sampler. v2: remove unusued variable, fix indent Signed-off-by: Dave Airlie <[email protected]>
* | d3d1x: save to correct slot in xs_set_constant_buffersChristoph Bumiller2011-08-251-2/+2
| |
* | d3d1x: fix xs_set_samplersChristoph Bumiller2011-08-251-1/+2
| |
* | android: add support for r600gChia-I Wu2011-08-255-0/+135
| | | | | | | | | | | | | | | | 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]>
* | winsys/radeon: share the source listChia-I Wu2011-08-253-9/+7
| | | | | | | | | | | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it. Reviewed-by: Marek Olšák <[email protected]>
* | winsys/r600: share the source listChia-I Wu2011-08-253-13/+10
| | | | | | | | | | | | | | Factor out C_SOURCES from Makefile to Makefile.sources, and let Makefile and SConscript share it. 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]>
* | winsys/svga: use os_mmap() for memory mappingChia-I Wu2011-08-241-5/+6
| | | | | | | | os_mmap() guarantees large file support across OSes.
* | winsys/radeon: use os_mmap() for memory mappingChia-I Wu2011-08-241-3/+3
| | | | | | | | | | | | os_mmap() guarantees large file support across OSes. Reviewed-by: Marek Olšák <[email protected]>
* | auxiliary/os: add wrappers for mmap/munmapChia-I Wu2011-08-241-0/+87
| | | | | | | | | | | | The use of mmap() in winsys requires large file support. Not all OSes have LFS so a wrapper should be used. In particular, os_mmap() should call __mmap2() on Android.
* | make: Add missing source file.José Fonseca2011-08-231-0/+1
| |
* | st/xorg: Advertise support for XvMCMaarten Lankhorst2011-08-234-0/+129
| | | | | | | | | | | | | | | | Formats were based on a patch sent to xf86-video-nouveau by Bryan Cain Signed-off-by: Maarten Lankhorst <[email protected]> [Michel Dänzer: Add xorg_xvmc.c to SConscript.]
* | auxiliary: share the source listsChia-I Wu2011-08-234-591/+207
| | | | | | | | | | | | | | | | | | | | Factor out source lists from Makefile to Makefile.sources, and let Makefile, SConscript, and Android.mk share it. Note that files in $(GENERATED_SOURCES) are removed from $(C_SOURCES). Acked-by: José Fonseca <[email protected]> Acked-by: Chad Versace <[email protected]>
* | st/egl: add a missing includeChia-I Wu2011-08-211-0/+1
| | | | | | | | Reported by cwhuang.
* | st/egl: improve error loggingChia-I Wu2011-08-212-3/+12
| | | | | | | | This helps diagnose problems in EGL initialization.
* | st/egl: add buffer preserving support to AndroidChia-I Wu2011-08-211-4/+67
| | | | | | | | Use a staging color buffer when buffer preserving is enabled.
* | st/egl: improve buffer cache for AndroidChia-I Wu2011-08-211-31/+73
| | | | | | | | | | There may be more than two back buffers. Clean up and prepare the buffer cache for that.
* | st/egl: swapping without a buffer is not an errorChia-I Wu2011-08-211-1/+1
| | | | | | | | This fixes Kwaak3.
* | st/egl: use HAL formats for Android backendChia-I Wu2011-08-211-26/+15
| | | | | | | | Native buffers use HAL formats, not UI formats.
* | winsys/sw/android: use HAL formatsChia-I Wu2011-08-211-18/+9
| | | | | | | | Native buffers use HAL formats, not UI formats.
* | winsys/sw/android: set bo usage correctlyChia-I Wu2011-08-211-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 softpipeChia-I Wu2011-08-212-1/+68
| | | | | | | | This builds the static library libmesa_pipe_softpipe from softpipe.
* | android: build android sw winsysChia-I Wu2011-08-212-0/+37
| | | | | | | | This builds the static library libmesa_winsys_sw_android from winsys/sw.
* | android: build targets/egl-staticChia-I Wu2011-08-212-0/+53
| | | | | | | | | | This builds the static library libmesa_egl_gallium from targets/egl-static.