summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Avoid void pointer arithmetic.Chia-I Wu2010-07-291-2/+2
| | | | This fixes fdo bug #29286.
* gallium: Keep only pipe_context::draw_vbo.Chia-I Wu2010-07-291-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 Wu2010-07-293-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_handleJakob Bornecrantz2010-07-221-0/+1
|
* i915g: Add some debug prints in texture codeJakob Bornecrantz2010-07-221-6/+10
|
* i915g: Ifdef out debug code on non-debug buildsJakob Bornecrantz2010-07-221-0/+5
|
* i915g: Remove unnecessary header.Vinson Lee2010-07-041-1/+0
|
* i915g: Minor cleanupsJakob Bornecrantz2010-07-042-9/+16
|
* i915g: Make batchbuffer flush function not be inlineJakob Bornecrantz2010-07-043-15/+28
|
* i915g: Rename texture state to map stateJakob Bornecrantz2010-07-041-23/+23
|
* i915g: Move fragment state to its own fileJakob Bornecrantz2010-07-046-17/+64
|
* i915g: Move static state to its own fileJakob Bornecrantz2010-07-044-18/+50
|
* i915g: Don't dirty dynamic state if it hasn't changedJakob Bornecrantz2010-07-041-1/+4
|
* i915g: Don't flush after blitJakob Bornecrantz2010-07-041-2/+0
|
* i915g: Don't flush empty batchbuffersJakob Bornecrantz2010-07-041-2/+0
|
* Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz2010-06-283-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 targetsJakob Bornecrantz2010-06-063-7/+14
| |
* | i915g: Revert debug hunks from last commitJakob Bornecrantz2010-06-221-2/+2
| |
* | i915g: Reduce state emission by using a index biasJakob Bornecrantz2010-06-221-27/+122
| |
* | i915g: Drop fifo code in vbufJakob Bornecrantz2010-06-221-43/+2
| |
* | i915g: Change state code in vbuf codeJakob Bornecrantz2010-06-221-12/+23
| |
* | i915g: Rework debug print codeJakob Bornecrantz2010-06-2211-82/+190
| |
* | i915g: Switch to state atomsJakob Bornecrantz2010-06-225-57/+128
| |
* | i915g: i915_state_sampler.c code styleJakob Bornecrantz2010-06-221-50/+52
| |
* | i915g: i915_state_immediate.c code styleJakob Bornecrantz2010-06-221-27/+33
| |
* | i915g: i915_state_dynamic.c code styleJakob Bornecrantz2010-06-221-88/+84
| |
* | scons: Disable i915g build if using MSVC.Vinson Lee2010-06-111-0/+4
|/ | | | i915g uses C99 constructs that are not supported by MSVC.
* i915g: fix bug in ds clear logic (still disabled)Roland Scheidegger2010-06-051-2/+2
|
* Merge branch 'gallium-newclear'Roland Scheidegger2010-06-037-29/+72
|\ | | | | | | | | Conflicts: src/gallium/state_trackers/python/p_context.i
| * gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencilRoland Scheidegger2010-06-031-14/+14
| | | | | | | | | | more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
| * i915g: adapt to clear interface changesRoland Scheidegger2010-05-297-29/+72
| | | | | | | | | | should in theory support separate depth/stencil clears (untested). Also fix some format omissions?
* | i915g: Move pci id to winsys structJakob Bornecrantz2010-05-293-7/+7
|/
* Merge branch 'gallium-msaa'Roland Scheidegger2010-05-215-24/+74
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
| * i915g: remove unused flip parameterRoland Scheidegger2010-05-193-3/+0
| |
| * gallium: implement set_sample_mask() in all driversRoland Scheidegger2010-05-181-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 changesRoland Scheidegger2010-05-172-21/+67
| |
* | Merge branch 'gallium-front-ccw'Keith Whitwell2010-05-211-7/+13
|\ \
| * | gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell2010-05-141-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öhlich2010-05-171-0/+2
|/ / | | | | | | Signed-off-by: Corbin Simpson <[email protected]>
* | gallium: Make PIPE_CAP_xxx enums.José Fonseca2010-05-121-2/+2
| |
* | gallium: rename draw() to draw_elements() in vbuf codeBrian Paul2010-05-051-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::usageBrian Paul2010-04-201-1/+1
|
* Merge branch 'gallium-index-bias'José Fonseca2010-04-201-6/+7
|\
| * i915: Implement index bias.José Fonseca2010-04-191-6/+7
| |
* | Merge branch '7.8'Brian Paul2010-04-192-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/linesBrian Paul2010-04-192-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 Lee2010-04-181-1/+0
| |/ |/|
* | i915g: Remove broken power of two functionJakob Bornecrantz2010-04-181-16/+8
| |
* | i915g: Add some helper functionsJakob Bornecrantz2010-04-181-7/+19
| | | | | | | | Mostly to make the lines not so long.
* | i915g: Fix cubemap layoutsJakob Bornecrantz2010-04-181-101/+121
| |