Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: use u_default_transfer_flush_region for all resource types | Marek Olšák | 2012-02-27 | 3 | -9/+3 |
| | |||||
* | r600g: use u_default_transfer_inline_write for all resource types | Marek Olšák | 2012-02-27 | 3 | -26/+3 |
| | |||||
* | gallium/util: add fast path for buffers in u_default_transfer_inline_write | Marek Olšák | 2012-02-27 | 1 | -14/+23 |
| | | | | v2: fix indentation, add assertions | ||||
* | gallium/util: set correct usage flags in u_default_transfer_inline_write | Marek Olšák | 2012-02-27 | 1 | -0/+12 |
| | | | | The DISCARD flags should improve performance in drivers which handle them. | ||||
* | r600g: fix streamout cache flush for r600 | Marek Olšák | 2012-02-27 | 1 | -4/+12 |
| | | | | Figured out by trial and error. | ||||
* | vl: fix a douple free in xsp winsys backend | Christian König | 2012-02-27 | 1 | -1/+1 |
| | | | | | | | There are a couple of more bugs, but it is only useful for debugging anyway. Signed-off-by: Christian König <[email protected]> | ||||
* | vl: adjust matrix and median filter to removal of PIPE_SHADER_CAP_OUTPUT_READ | Christian König | 2012-02-27 | 2 | -9/+12 |
| | | | | Signed-off-by: Christian König <[email protected]> | ||||
* | r600g: cleanup r600_transfer_struct | Marek Olšák | 2012-02-27 | 2 | -16/+12 |
| | | | | | Especially rename staging_texture to staging and change its type to r600_resource. I will reuse it for buffers later. | ||||
* | r600g: check for R600_STREAMOUT env var in winsys | Marek Olšák | 2012-02-27 | 3 | -2/+7 |
| | |||||
* | r600g: move initialization of use_surface flag into screen_create | Marek Olšák | 2012-02-27 | 5 | -25/+18 |
| | | | | Also change the type to bool and give it a less ambiguous name. | ||||
* | r600g: properly check whether texture is busy in get_transfer | Marek Olšák | 2012-02-27 | 1 | -9/+5 |
| | |||||
* | r600g: rename r600_resource_texture::depth to bool is_depth | Marek Olšák | 2012-02-27 | 5 | -16/+16 |
| | | | | It's used as a boolean. | ||||
* | gallium: remove PIPE_SHADER_CAP_OUTPUT_READ | Marek Olšák | 2012-02-27 | 8 | -26/+2 |
| | | | | | | | | | | | | r600g is the only driver which has made use of it. The reason the CAP was added was to fix some piglit tests when the GLSL pass lower_output_reads didn't exist. However, not removing output reads breaks the fallback for glClampColorARB, which assumes outputs are not readable. The fix would be non-trivial and my personal preference is to remove the CAP, considering that reading outputs is uncommon and that we can now use lower_output_reads to fix the issue that the CAP was supposed to workaround in the first place. | ||||
* | gallium/rtasm: properly detect SSE and SSE2 | Marek Olšák | 2012-02-27 | 1 | -24/+24 |
| | | | | This should fix crashes on ancient processors. | ||||
* | r300g: Use automake to generate Makefile v3 | Tom Stellard | 2012-02-26 | 6 | -80/+44 |
| | | | | | | | | | | v2: - s/$(top_builddir)/$(top_srcdir)/ - Always generate Makefile.in v3: - Fixes from Matt Turner - Use Mesa CFLAGS | ||||
* | r300g: Reorganize the compiler unit tests | Tom Stellard | 2012-02-26 | 4 | -2/+12 |
| | |||||
* | r300/compiler: Schedule KIL instructions before output writes | Tom Stellard | 2012-02-26 | 1 | -0/+4 |
| | |||||
* | r300/compiler: Use the smart scheduler for r300 cards | Tom Stellard | 2012-02-26 | 1 | -73/+54 |
| | |||||
* | r300/compiler: Fix bug when lowering KILP on r300 cards | Tom Stellard | 2012-02-26 | 1 | -10/+54 |
| | | | | | | | | | | | KILP instruction inside IF blocks were being lowered to an unconditional KIL. Since r300 doesn't support branching, when the IF's were lowered to conditional moves, the KIL would always be executed. This is not a problem with the mesa state tracker, because the GLSL compiler handles lowering IF's, but this bug was appearing in the VDPAU state tracker, which does not use the GLSL compiler. Note: This is a candidate for the stable branches. | ||||
* | vl/compositor: fix a simple typo | Christian König | 2012-02-25 | 1 | -1/+1 |
| | | | | | | Otherwise the dirty area tracking won't work correctly. Signed-off-by: Christian König <[email protected]> | ||||
* | st/xvmc: move xvmc state tracker out of xorg subdir | Christian König | 2012-02-25 | 19 | -83/+83 |
| | | | | | | | | The xvmc state tracker is completely seperate and doesn't shares code or anything else with the xorg state tracker. Signed-off-by: Christian König <[email protected]> | ||||
* | vl: rework winsys interface | Christian König | 2012-02-25 | 14 | -251/+126 |
| | | | | | | Throw out all the old and now unneeded stuff. Signed-off-by: Christian König <[email protected]> | ||||
* | vl: cleanup dri winsys abstraction | Christian König | 2012-02-25 | 7 | -1575/+56 |
| | | | | | | There was way to much dead code in it. Signed-off-by: Christian König <[email protected]> | ||||
* | scons: Don't build the assembly sources on Mac OS X. | Vinson Lee | 2012-02-25 | 2 | -2/+2 |
| | | | | | | | | This patch allows the Mac OS X SCons build to complete. The assembly sources contain psuedo-ops that not are supported on Mac OS X. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: José Fonseca <[email protected]> | ||||
* | i915g: Fix fallout from 8e4540ec2a82e72be491bc8fe23c10551d29a96c | Stéphane Marchesin | 2012-02-24 | 1 | -4/+10 |
| | | | | Fixes piglit regressions from that change. | ||||
* | svga: Fix stencil op mapping | Zack Rusin | 2012-02-24 | 1 | -4/+4 |
| | | | | | | | | | We were inverting the meaning of the stencil op flags: in svga/d3d the normal incr/decr wraps and the SAT ops clamp. This fixes piglit failures (at least stencil-twoside and stencil-wrap). We should backport this everywhere we can. Reviewed-by: Brian Paul <[email protected]> | ||||
* | svga: fix use of SVGA3D_x vs. PIPE_FORMAT_x in svga_is_format_supported() | Brian Paul | 2012-02-24 | 1 | -2/+2 |
| | | | | | | | | | Two of the switch cases used PIPE_FORMAT_ tokens instead of SVGA3D_ tokens. As it happens, the token values are equal for these formats so there's no net change. Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]> | ||||
* | mesa/gdi: include swrast.h to fix compilation | Brian Paul | 2012-02-24 | 1 | -0/+1 |
| | |||||
* | st/mesa: initialize the MaxViewport, MaxRenderbufferSize constants | Brian Paul | 2012-02-24 | 1 | -0/+8 |
| | | | | | Use the max 2D/rect texture size as the limit. If that's not true for some devices we'll need new PIPE_CAP_ queries. | ||||
* | mesa: move more swrast-related #defines out of core Mesa | Brian Paul | 2012-02-24 | 3 | -40/+28 |
| | |||||
* | mesa: remove STENCIL_BITS use | Brian Paul | 2012-02-24 | 1 | -1/+1 |
| | |||||
* | xlib: remove STENCIL_BITS | Brian Paul | 2012-02-24 | 1 | -3/+3 |
| | |||||
* | st/glx: remove STENCIL_BITS, DEFAULT_SOFTWARE_DEPTH_BITS | Brian Paul | 2012-02-24 | 1 | -3/+3 |
| | | | | Remove some Mesa/swrast stuff. | ||||
* | mesa: remove last of MAX_WIDTH, MAX_HEIGHT | Brian Paul | 2012-02-24 | 3 | -13/+7 |
| | | | | | Define new MAX_VIEWPORT_WIDTH/HEIGHT and MAX_RENDERBUFFER_SIZE values instead. | ||||
* | mesa: remove MAX_WIDTH from prog_execute.h | Brian Paul | 2012-02-24 | 2 | -1/+7 |
| | | | | | define a PROG_MAX_WIDTH var instead. It has to match MAX_WIDTH in swrast. More elaborate refactoring could fix that (someday). | ||||
* | st/glx: remove MAX_WIDTH/HEIGHT usage | Brian Paul | 2012-02-24 | 1 | -3/+6 |
| | |||||
* | intel: remove MAX_WIDTH usage in intelInitContext() | Brian Paul | 2012-02-24 | 1 | -4/+2 |
| | |||||
* | swrast: check max renderbuffer size against SWRAST_MAX_WIDTH | Brian Paul | 2012-02-24 | 1 | -0/+2 |
| | |||||
* | osmesa: use SWRAST_MAX_WIDTH/HEIGHT | Brian Paul | 2012-02-24 | 1 | -4/+4 |
| | |||||
* | dri/swrast: use SWRAST_MAX_WIDTH/HEIGHT | Brian Paul | 2012-02-24 | 1 | -1/+1 |
| | |||||
* | xlib: use SWRAST_MAX_WIDTH/HEIGHT | Brian Paul | 2012-02-24 | 1 | -3/+3 |
| | |||||
* | swrast: define, use SWRAST_MAX_WIDTH/HEIGHT | Brian Paul | 2012-02-24 | 16 | -46/+55 |
| | | | | We'll get rid of MAX_WIDTH, MAX_HEIGHT soon. | ||||
* | mesa: remove some cruft from config.h | Brian Paul | 2012-02-24 | 1 | -16/+1 |
| | |||||
* | mesa: minor comment clean-ups in config.h | Brian Paul | 2012-02-24 | 1 | -4/+4 |
| | |||||
* | mesa: remove WIN32 MAX_WIDTH work-around in config.h | Brian Paul | 2012-02-24 | 1 | -17/+0 |
| | | | | | There aren't any more stack-allocated arrays dimensioned by MAX_WIDTH so there shouldn't be any more stack overflows. | ||||
* | swrast: remove MAX_WIDTH array in s_span.c | Brian Paul | 2012-02-24 | 1 | -1/+2 |
| | |||||
* | swrast: simplify mask array code | Brian Paul | 2012-02-24 | 1 | -3/+4 |
| | |||||
* | swrast: stop using MAX_WIDTH arrays in triangle code | Brian Paul | 2012-02-24 | 1 | -2/+2 |
| | |||||
* | swrast: remove MAX_WIDTH arrays in stencil code | Brian Paul | 2012-02-24 | 3 | -4/+37 |
| | | | | Use some per-context temporary arrays instead. | ||||
* | swrast: remove MAX_WIDTH arrays in s_drawpix.c | Brian Paul | 2012-02-24 | 1 | -27/+36 |
| |