Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeonsi: Fixups for recent build infrastructure changes. | Michel Dänzer | 2012-05-12 | 3 | -0/+15 |
| | | | | In particular for the pipe loader changes. | ||||
* | r600g: setup COLOR1 for possible dual-src in the framebuffer bind | Dave Airlie | 2012-05-12 | 4 | -15/+12 |
| | | | | | | | | As pointed out by Marek, if we have only one cb, we may as well add this single register write here rather than adding it in the draw loop. Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Dave Airlie <[email protected]> | ||||
* | nv30: Silence pipe_cap warnings | Roy Spliet | 2012-05-12 | 1 | -0/+4 |
| | | | | | Signed-off-by: Roy Spliet <[email protected]> Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nv30/shader: SSG, LIT only requires one source register | Roy Spliet | 2012-05-12 | 2 | -2/+2 |
| | | | | | | | Fixes crashing due to assertion error Signed-off-by: Roy Spliet <[email protected]> Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nouveau/vieux: finish != flush, how about we do that.. | Ben Skeggs | 2012-05-12 | 3 | -0/+23 |
| | | | | Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | r300g/swtcl: move vertex buffer updates into set_vertex_buffers | Marek Olšák | 2012-05-12 | 2 | -29/+34 |
| | |||||
* | r300g/swtcl: move index buffer updates from swtcl_draw_vbo into set_index_buffer | Marek Olšák | 2012-05-12 | 2 | -15/+24 |
| | |||||
* | r300g/swtcl: malloc vertex and index buffers (don't use radeon DRM to get them) | Marek Olšák | 2012-05-12 | 4 | -43/+23 |
| | | | | | | Vertex and index buffers are never used by hardware, only by Draw. SWTCL chipsets usually have very little memory, so this might help with stability and reliability. | ||||
* | r300g/swtcl: don't do stuff which is only for HWTCL | Marek Olšák | 2012-05-12 | 2 | -13/+19 |
| | |||||
* | r300g: remove slab allocator for pipe_resource (used mainly for user buffers) | Marek Olšák | 2012-05-12 | 4 | -45/+3 |
| | |||||
* | r300g: remove user_buffer_create | Marek Olšák | 2012-05-12 | 3 | -32/+0 |
| | |||||
* | r300g: fix breakage after gallium-userbuf merge | Marek Olšák | 2012-05-12 | 2 | -18/+32 |
| | |||||
* | llvmpipe: add cast to silence warning | Brian Paul | 2012-05-11 | 1 | -1/+2 |
| | |||||
* | vega: fix 565 color unpacking bug | Andreas Betz | 2012-05-11 | 1 | -2/+2 |
| | | | | | | NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: add DEBUG_INCOMPLETE_TEXTURE, DEBUG_INCOMPLETE_FBO flags | Brian Paul | 2012-05-11 | 4 | -24/+21 |
| | | | | | | | Instead of having to hack the code to enable these debugging options, set them through the MESA_DEBUG env var. Reviewed-by: Eric Anholt <[email protected]> | ||||
* | mesa: implement DEBUG_ALWAYS_FLUSH debug option | Brian Paul | 2012-05-11 | 3 | -0/+32 |
| | | | | | | | | This flag has been around for a while but it wasn't actually used anywhere. Now, setting this flag causes a glFlush() to be issued after each drawing call (including glBegin/End, glDrawElements, glDrawArrays, glDrawPixels, glCopyPixels and glBitmap). | ||||
* | mesa: define DEBUG_SILENT flag, use in output_if_debug() | Brian Paul | 2012-05-11 | 3 | -12/+13 |
| | |||||
* | mesa: clean-up the debug/verbose flag setup code | Brian Paul | 2012-05-11 | 1 | -26/+46 |
| | | | | Split the verbose and debug flag setup code into separate functions. | ||||
* | mesa: do FLUSH_VERTICES() in _mesa_flush/finish() | Brian Paul | 2012-05-11 | 1 | -2/+4 |
| | | | | | | | This was being done in the _mesa_Flush/Finish() calls but if there was an internal call to _mesa_flush/finish() the FLUSH_VERTICES() wouldn't happen. Looks like only the intel and radeon drivers made such calls in MakeCurrent(). | ||||
* | mesa: fix glMaterial / dlist bug | Brian Paul | 2012-05-11 | 3 | -58/+152 |
| | | | | | | | | | | | | | When glColorMaterial() is used to latch glColor commands to a material attribute, glMaterial calls to change that material should become no-ops. This failed to work properly when the glMaterial call was inside a display list. This removes the Material function from the vbo_attrib_tmp.h template file. We have separate/different implementations for the "save" and "exec" cases now. NOTE: This is a candidate for the 8.0 branch. | ||||
* | mesa: fix/add error check in _mesa_ColorMaterial() | Brian Paul | 2012-05-11 | 1 | -0/+2 |
| | | | | | | | _mesa_material_bitmask() will record a GL error and return 0 if face or mode are illegal. Return early in that case. NOTE: This is a candidate for the 8.0 branch. | ||||
* | radeon/llvm: More comments and cleanups | Tom Stellard | 2012-05-11 | 22 | -163/+190 |
| | |||||
* | gallivm: Fix copy'n'paste typo bug translating CEIL opcode. | José Fonseca | 2012-05-11 | 1 | -2/+2 |
| | | | | Trivial. | ||||
* | r600g: assume DISCARD_WHOLE_RESOURCE is always used with WRITE | Marek Olšák | 2012-05-11 | 1 | -6/+5 |
| | |||||
* | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa | Marek Olšák | 2012-05-11 | 1 | -1/+3 |
|\ | |||||
| * | radeon/llvm: Fix Evergreen/Cayman tablegen predicates | Tom Stellard | 2012-05-11 | 1 | -1/+3 |
| | | | | | | | | Some Evergreen/Cayman instructions were being enabled for SI. | ||||
* | | Merge branch 'gallium-userbuf' | Marek Olšák | 2012-05-11 | 91 | -817/+710 |
|\ \ | |/ |/| | | | | | | | | | | | Conflicts: src/gallium/docs/source/screen.rst src/gallium/drivers/nv50/nv50_state.c src/gallium/include/pipe/p_defines.h src/mesa/state_tracker/st_draw.c | ||||
| * | svga: check for and skip null vertex buffer pointers | Brian Paul | 2012-05-01 | 1 | -8/+12 |
| | | | | | | | | | | | | Fixes regressions with google earth and other things. Reviewed-by: José Fonseca <[email protected]> | ||||
| * | softpipe: cast away const to silence warning | Brian Paul | 2012-05-01 | 1 | -1/+2 |
| | | |||||
| * | svga: cast away const to silence warning | Brian Paul | 2012-05-01 | 1 | -1/+2 |
| | | |||||
| * | u_vbuf: set user buffer pointer for drivers which support user buffers | Marek Olšák | 2012-05-01 | 1 | -0/+2 |
| | | | | | | | | | | It's not common to end up in u_vbuf and at the same time support user buffers in a driver, but such a combination should work. | ||||
| * | st/mesa: unmap upload buffer after uploading indices and constants | Marek Olšák | 2012-04-30 | 2 | -0/+2 |
| | | |||||
| * | st/xorg: don't use user_buffer_create | Marek Olšák | 2012-04-30 | 1 | -51/+16 |
| | | |||||
| * | st/xa: don't use user_buffer_create | Marek Olšák | 2012-04-30 | 1 | -44/+15 |
| | | |||||
| * | st/vega: don't use user_buffer_create | Marek Olšák | 2012-04-30 | 4 | -36/+34 |
| | | |||||
| * | st/vega: use cso_draw_arrays | Marek Olšák | 2012-04-30 | 1 | -3/+3 |
| | | |||||
| * | cso: cso_context should install u_vbuf by itself and not st/mesa | Marek Olšák | 2012-04-30 | 4 | -36/+23 |
| | | | | | | | | so that it's installed in the other state trackers too | ||||
| * | st/xorg: fix compilation - wrong libkms include file | Marek Olšák | 2012-04-30 | 2 | -2/+2 |
| | | |||||
| * | gallium/util: stop using user buffers in util_draw_texquad | Marek Olšák | 2012-04-30 | 1 | -2/+3 |
| | | |||||
| * | gallium: remove pipe_resource::user_ptr | Marek Olšák | 2012-04-30 | 10 | -23/+0 |
| | | | | | | | | It's unused now. | ||||
| * | radeonsi: don't create temporary user buffer for r600_upload_const_buffer | Marek Olšák | 2012-04-30 | 3 | -32/+25 |
| | | |||||
| * | gallium: add void *user_buffer to pipe_constant_buffer | Marek Olšák | 2012-04-30 | 18 | -24/+111 |
| | | | | | | | | This reduces CPU overhead when updating constants. | ||||
| * | st/mesa: reorder code in draw_vbo | Marek Olšák | 2012-04-30 | 1 | -12/+12 |
| | | |||||
| * | st/mesa: remove more unnecessary code in draw_vbo | Marek Olšák | 2012-04-30 | 1 | -16/+1 |
| | | | | | | | | The variables set here are not used anywhere. | ||||
| * | gallium: add void *user_buffer in pipe_index_buffer | Marek Olšák | 2012-04-30 | 23 | -118/+151 |
| | | | | | | | | | | | | | | Adapted drivers: i915, llvmpipe, r300, r600, radeonsi, softpipe. User index buffers have been disabled in nv30, nv50, nvc0 and svga to keep things working. | ||||
| * | gallium: remove pipe_context::redefine_user_buffer | Marek Olšák | 2012-04-30 | 21 | -131/+0 |
| | | |||||
| * | gallium: add void *user_buffer in pipe_vertex_buffer | Marek Olšák | 2012-04-30 | 17 | -182/+73 |
| | | | | | | | | | | | | | | | | | | | | | | | | This reduces CPU overhead in st_draw_vbo and removes a lot of unnecessary code in that function which was required only to comply with the gallium interface, but wasn't any useful really. Adapted drivers: i915, llvmpipe, r300, softpipe. No changes required in: r600, radeonsi. User vertex buffers have been disabled in nv30, nv50, nvc0 and svga to keep things working. | ||||
| * | st/mesa: make user constant buffers optional | Marek Olšák | 2012-04-30 | 3 | -7/+25 |
| | | |||||
| * | gallium: change set_constant_buffer to be UBO-friendly | Marek Olšák | 2012-04-30 | 32 | -97/+139 |
| | | |||||
| * | gallium: add PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT | Marek Olšák | 2012-04-30 | 12 | -1/+28 |
| | | | | | | | | | | | | | | | | This is required for any serious constant buffer support. Constant buffer offsets on ATI and NVIDIA DX10 and DX11 GPUs must be a multiple of 256. In OpenGL, this can be queried via GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT. |