Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Avoid void pointer arithmetic. | Chia-I Wu | 2010-07-29 | 1 | -2/+2 |
| | | | | This fixes fdo bug #29286. | ||||
* | gallium: Keep only pipe_context::draw_vbo. | Chia-I Wu | 2010-07-29 | 1 | -62/+0 |
| | | | | | | | That is, remove pipe_context::draw_arrays, pipe_context::draw_elements, pipe_context::draw_arrays_instanced, pipe_context::draw_elements_instanced, pipe_context::draw_range_elements. | ||||
* | gallium: Implement draw_vbo and set_index_buffer for all drivers. | Chia-I Wu | 2010-07-29 | 3 | -17/+68 |
| | | | | | | | | | | | | | | | Some drivers define a generic function that is called by all drawing functions. To implement draw_vbo for such drivers, either draw_vbo calls the generic function or the prototype of the generic function is changed to match draw_vbo. Other drivers have no such generic function. draw_vbo is implemented by calling either draw_arrays and draw_elements. For most drivers, set_index_buffer does not mark the state dirty for tracking. Instead, the index buffer state is emitted whenever draw_vbo is called, just like the case with draw_elements. It surely can be improved. | ||||
* | i915g: Set total_nblocksy in from_handle | Jakob Bornecrantz | 2010-07-22 | 1 | -0/+1 |
| | |||||
* | i915g: Add some debug prints in texture code | Jakob Bornecrantz | 2010-07-22 | 1 | -6/+10 |
| | |||||
* | i915g: Ifdef out debug code on non-debug builds | Jakob Bornecrantz | 2010-07-22 | 1 | -0/+5 |
| | |||||
* | i915g: Remove unnecessary header. | Vinson Lee | 2010-07-04 | 1 | -1/+0 |
| | |||||
* | i915g: Minor cleanups | Jakob Bornecrantz | 2010-07-04 | 2 | -9/+16 |
| | |||||
* | i915g: Make batchbuffer flush function not be inline | Jakob Bornecrantz | 2010-07-04 | 3 | -15/+28 |
| | |||||
* | i915g: Rename texture state to map state | Jakob Bornecrantz | 2010-07-04 | 1 | -23/+23 |
| | |||||
* | i915g: Move fragment state to its own file | Jakob Bornecrantz | 2010-07-04 | 6 | -17/+64 |
| | |||||
* | i915g: Move static state to its own file | Jakob Bornecrantz | 2010-07-04 | 4 | -18/+50 |
| | |||||
* | i915g: Don't dirty dynamic state if it hasn't changed | Jakob Bornecrantz | 2010-07-04 | 1 | -1/+4 |
| | |||||
* | i915g: Don't flush after blit | Jakob Bornecrantz | 2010-07-04 | 1 | -2/+0 |
| | |||||
* | i915g: Don't flush empty batchbuffers | Jakob Bornecrantz | 2010-07-04 | 1 | -2/+0 |
| | |||||
* | Merge branch 'gallium-drm-driver-drescriptor' | Jakob Bornecrantz | 2010-06-28 | 3 | -7/+14 |
|\ | | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c | ||||
| * | i915g: Move bootstrap code to targets | Jakob Bornecrantz | 2010-06-06 | 3 | -7/+14 |
| | | |||||
* | | i915g: Revert debug hunks from last commit | Jakob Bornecrantz | 2010-06-22 | 1 | -2/+2 |
| | | |||||
* | | i915g: Reduce state emission by using a index bias | Jakob Bornecrantz | 2010-06-22 | 1 | -27/+122 |
| | | |||||
* | | i915g: Drop fifo code in vbuf | Jakob Bornecrantz | 2010-06-22 | 1 | -43/+2 |
| | | |||||
* | | i915g: Change state code in vbuf code | Jakob Bornecrantz | 2010-06-22 | 1 | -12/+23 |
| | | |||||
* | | i915g: Rework debug print code | Jakob Bornecrantz | 2010-06-22 | 11 | -82/+190 |
| | | |||||
* | | i915g: Switch to state atoms | Jakob Bornecrantz | 2010-06-22 | 5 | -57/+128 |
| | | |||||
* | | i915g: i915_state_sampler.c code style | Jakob Bornecrantz | 2010-06-22 | 1 | -50/+52 |
| | | |||||
* | | i915g: i915_state_immediate.c code style | Jakob Bornecrantz | 2010-06-22 | 1 | -27/+33 |
| | | |||||
* | | i915g: i915_state_dynamic.c code style | Jakob Bornecrantz | 2010-06-22 | 1 | -88/+84 |
| | | |||||
* | | scons: Disable i915g build if using MSVC. | Vinson Lee | 2010-06-11 | 1 | -0/+4 |
|/ | | | | i915g uses C99 constructs that are not supported by MSVC. | ||||
* | i915g: fix bug in ds clear logic (still disabled) | Roland Scheidegger | 2010-06-05 | 1 | -2/+2 |
| | |||||
* | Merge branch 'gallium-newclear' | Roland Scheidegger | 2010-06-03 | 7 | -29/+72 |
|\ | | | | | | | | | Conflicts: src/gallium/state_trackers/python/p_context.i | ||||
| * | gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencil | Roland Scheidegger | 2010-06-03 | 1 | -14/+14 |
| | | | | | | | | | | more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same. | ||||
| * | i915g: adapt to clear interface changes | Roland Scheidegger | 2010-05-29 | 7 | -29/+72 |
| | | | | | | | | | | should in theory support separate depth/stencil clears (untested). Also fix some format omissions? | ||||
* | | i915g: Move pci id to winsys struct | Jakob Bornecrantz | 2010-05-29 | 3 | -7/+7 |
|/ | |||||
* | Merge branch 'gallium-msaa' | Roland Scheidegger | 2010-05-21 | 5 | -24/+74 |
|\ | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c | ||||
| * | i915g: remove unused flip parameter | Roland Scheidegger | 2010-05-19 | 3 | -3/+0 |
| | | |||||
| * | gallium: implement set_sample_mask() in all drivers | Roland Scheidegger | 2010-05-18 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | prevents segfault when state trackers try to set default mask. Other option would be to make this required only for drivers supporting multisampling, but this seems more clean. Only dummy implementations (for normal drivers) provided (no driver supports multisampling yet neither). | ||||
| * | i915g: adapt to interface changes | Roland Scheidegger | 2010-05-17 | 2 | -21/+67 |
| | | |||||
* | | Merge branch 'gallium-front-ccw' | Keith Whitwell | 2010-05-21 | 1 | -7/+13 |
|\ \ | |||||
| * | | gallium: convert rasterizer state to use gl-style front/back concepts | Keith Whitwell | 2010-05-14 | 1 | -7/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer. | ||||
* | | | gallium: EXT_timer_query support. | Mathias Fröhlich | 2010-05-17 | 1 | -0/+2 |
|/ / | | | | | | | Signed-off-by: Corbin Simpson <[email protected]> | ||||
* | | gallium: Make PIPE_CAP_xxx enums. | José Fonseca | 2010-05-12 | 1 | -2/+2 |
| | | |||||
* | | gallium: rename draw() to draw_elements() in vbuf code | Brian Paul | 2010-05-05 | 1 | -4/+4 |
|/ | | | | | Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions. | ||||
* | gallium: replace pipe_resource::_usage with pipe_resource::usage | Brian Paul | 2010-04-20 | 1 | -1/+1 |
| | |||||
* | Merge branch 'gallium-index-bias' | José Fonseca | 2010-04-20 | 1 | -6/+7 |
|\ | |||||
| * | i915: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -6/+7 |
| | | |||||
* | | Merge branch '7.8' | Brian Paul | 2010-04-19 | 2 | -2/+3 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c | ||||
| * | | gallium/draw: use correct rasterization state for wide/AA points/lines | Brian Paul | 2010-04-19 | 2 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution. | ||||
* | | | i915g: Remove unnecessary header. | Vinson Lee | 2010-04-18 | 1 | -1/+0 |
| |/ |/| | |||||
* | | i915g: Remove broken power of two function | Jakob Bornecrantz | 2010-04-18 | 1 | -16/+8 |
| | | |||||
* | | i915g: Add some helper functions | Jakob Bornecrantz | 2010-04-18 | 1 | -7/+19 |
| | | | | | | | | Mostly to make the lines not so long. | ||||
* | | i915g: Fix cubemap layouts | Jakob Bornecrantz | 2010-04-18 | 1 | -101/+121 |
| | |