Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | swrast: remove MAX_WIDTH arrays in s_zoom.c | Brian Paul | 2012-02-24 | 1 | -2/+14 |
| | |||||
* | swrast: remove MAX_WIDTH arrays in s_depth.c | Brian Paul | 2012-02-24 | 1 | -1/+9 |
| | |||||
* | swrast: remove MAX_WIDTH arrays in s_copypix.c | Brian Paul | 2012-02-24 | 1 | -5/+20 |
| | |||||
* | mesa: move/fix MAX_WIDTH/HEIGHT-related assertions | Brian Paul | 2012-02-24 | 2 | -9/+12 |
| | | | | | | Max texture and viewport size is only limited by MAX_WIDTH/HEIGHT for swrast. Reviewed-by: José Fonseca <[email protected]> | ||||
* | st/mesa: stop using MAX_WIDTH in st_cb_texture.c | Brian Paul | 2012-02-24 | 1 | -10/+27 |
| | | | | Reviewed-by: José Fonseca <[email protected]> | ||||
* | st/mesa: stop using MAX_WIDTH in st_cb_drawpixels.c | Brian Paul | 2012-02-24 | 1 | -26/+29 |
| | | | | Reviewed-by: José Fonseca <[email protected]> | ||||
* | mesa: stop using MAX_WIDTH in glReadPixels code | Brian Paul | 2012-02-24 | 1 | -45/+75 |
| | | | | Reviewed-by: José Fonseca <[email protected]> | ||||
* | mesa: stop using MAX_WIDTH in texstore code | Brian Paul | 2012-02-24 | 1 | -6/+33 |
| | | | | Reviewed-by: José Fonseca <[email protected]> | ||||
* | u_blitter: decrease minimum buffer range alignment to 4 for copy_buffer | Marek Olšák | 2012-02-24 | 1 | -5/+5 |
| | |||||
* | u_blitter: check for invalid values in copy_buffer | Marek Olšák | 2012-02-24 | 1 | -0/+11 |
| | |||||
* | r600g: rework queries | Marek Olšák | 2012-02-23 | 3 | -116/+167 |
| | | | | | | | | | | | | | | | | We always mapped the query buffer in begin_query, causing stalls if the buffer was busy. This commit reworks it such that the query buffer is only mapped in get_query_result as it's supposed to be. The query buffer is no longer treated as a ring buffer. Instead, the results are just appended and when the buffer is full, we create a new one. One query can have more than one query buffer, though that's a very rare case. Begin_query releases all query buffers. Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: cleanup magic numbers in set_xx_sampler | Marek Olšák | 2012-02-23 | 2 | -6/+6 |
| | | | | | Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: remove duplicated evergreen_context_ps_partial_flush | Marek Olšák | 2012-02-23 | 3 | -15/+3 |
| | | | | | Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: remove duplicated evergreen_context_pipe_state_set_sampler | Marek Olšák | 2012-02-23 | 3 | -31/+5 |
| | | | | | Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: remove duplicated set_xx_resource functions | Marek Olšák | 2012-02-23 | 4 | -48/+13 |
| | | | | | Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: remove duplicated function r600_state_sampler_init | Marek Olšák | 2012-02-23 | 3 | -18/+3 |
| | | | | | Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: fixup name of evergreen-specific function | Marek Olšák | 2012-02-23 | 1 | -5/+5 |
| | | | | | Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: simplify fail paths in create_context | Marek Olšák | 2012-02-23 | 1 | -22/+15 |
| | | | | | Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | gallium/u_slab: fix possible crash in util_slab_destroy | Marek Olšák | 2012-02-23 | 1 | -3/+5 |
| | | | | | | | It may happen if util_slab_create has not been called. Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: fix possible crashes in destroy_context when failing in create_context | Marek Olšák | 2012-02-23 | 2 | -25/+38 |
| | | | | | Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: consolidate common context init code | Marek Olšák | 2012-02-23 | 3 | -34/+16 |
| | | | | | Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: define GROUP_FORCE_NEW_BLOCK in common header | Marek Olšák | 2012-02-23 | 3 | -4/+2 |
| | | | | | Reviewed-by: Jerome Glisse <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | st/dri: Fix crash in st/dri from dri format commit | Jakob Bornecrantz | 2012-02-23 | 1 | -2/+1 |
| | | | | | | | Introduced with 8de5c355fa2bf0f30df2c7cf39aee01e793284bf, it would probably just crash. Signed-off-by: Jakob Bornecrantz <[email protected]> Reviewed-by: Jesse Barnes <[email protected]> | ||||
* | glapi: Fix incorrect enum value. | Paul Berry | 2012-02-23 | 2 | -4/+5 |
| | | | | | | | | | | | | | | | From http://www.opengl.org/registry/specs/ARB/seamless_cube_map.txt: Accepted by the <cap> parameter of Enable, Disable and IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv and GetDoublev: TEXTURE_CUBE_MAP_SEAMLESS 0x884F This caused a change in enums.c, which is manually built from the .xml files. Reviewed-by: Ian Romanick <[email protected]> | ||||
* | util: add mutex lock in u_debug_memory.c code | Brian Paul | 2012-02-23 | 1 | -0/+9 |
| | | | | | | | The linked list of memory allocations was not protected by a mutex. This lead to sporadic failures with multi-threaded apps. Reviewed-by: Jose Fonseca <[email protected]> | ||||
* | svga: no-op sampler view referencing if no change | Brian Paul | 2012-02-23 | 1 | -6/+8 |
| | | | | Just to be safe with ref counting and avoid atomic operations. |