summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'gallium-embedded'José Fonseca2010-02-035-0/+6
|\
| * gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca2010-02-021-0/+1
| | | | | | | | Into os/os_thread.h and util/u_atomic.h respectively.
| * gallium: Make pipe_atomic a regular int32_t.José Fonseca2010-02-021-0/+1
| |
| * gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca2010-02-022-0/+2
| |
| * draw: Add missing includes.José Fonseca2010-02-011-0/+2
| |
* | draw: remove old hard-coded shader length limitsBrian Paul2010-02-023-12/+20
| |
* | draw: re-implement free_bit() with ffs()Brian Paul2010-02-022-12/+2
| |
* | draw: comments and var renamingBrian Paul2010-02-021-10/+13
| |
* | draw: add const qualifiers, fix return typesBrian Paul2010-02-022-4/+6
| |
* | draw: new, updated commentsBrian Paul2010-02-021-4/+20
|/ | | | Try to avoid future confusion between different, but similar functions.
* gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol2010-01-2812-19/+19
|
* gallium: Enable multiple constant buffers for vertex and geometry shaders.Michal Krol2010-01-2816-68/+106
|
* gallium: Implement 2D constant buffers for fragment shader in softpipe.Michal Krol2010-01-282-2/+2
|
* gallium/draw: Remove unnecessary headers.Vinson Lee2010-01-272-3/+0
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-227-17/+33
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
| * gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elementsBrian Paul2010-01-221-3/+3
| | | | | | | | | | | | | | | | | | Depending on first/last provoking vertex either the first or last element/index may have the extra DRAW_PIPE_x flags. Mask off those bits for all vertex elements to be safe (esp. for the quad case). This may be overly cautious, but it's a cheap operation. Fixes a segfault caused by large/bogus vertex indexes otherwise.
| * gallium/draw: added comments, whitespace fixesBrian Paul2010-01-221-8/+30
| |
| * draw: Remove unnecessary headers.Vinson Lee2010-01-217-9/+0
| |
* | gallium/draw: fix-up comments, whitespaceBrian Paul2010-01-221-6/+5
| |
* | gallium/draw: replace int with booleanBrian Paul2010-01-221-8/+8
| |
* | gallium: Fix uninitialized instance divisor and index.Chia-I Wu2010-01-161-1/+1
| |
* | draw: Fix memory leak in gs codeJakob Bornecrantz2010-01-163-0/+11
| |
* | draw: Add missing header include.Michal Krol2010-01-151-1/+1
| |
* | draw: Add GALLIUM_DUMP_VS environment variable.Luca Barbieri2010-01-152-0/+8
| | | | | | | | | | Add GALLIUM_DUMP_VS to dump the vertex shader to the console like GALLIUM_DUMP_FS in softpipe.
* | Merge branch 'instanced-arrays'Michal Krol2010-01-1411-23/+106
|\ \ | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c
| * | gallium: Handle InstanceID as a true 32-bit uint.Michal Krol2010-01-051-4/+9
| | |
| * | Merge branch 'master' into instanced-arraysMichal Krol2010-01-0520-154/+612
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/tgsi/tgsi_dump.c src/gallium/include/pipe/p_shader_tokens.h
| * | | Add lame support for instanceID to draw module.Michal Krol2009-12-307-13/+46
| | | | | | | | | | | | | | | | It's all screaming for integer support -- fake it with float for now.
| * | | draw: Implement draw_arrays() in terms of draw_arrays_instanced().Michal Krol2009-12-301-26/+18
| | | |
| * | | Implement instanced indexed draw.Michal Krol2009-12-303-0/+3
| | | |
| * | | Implement draw_arrays_instanced() in softpipe.Michal Krol2009-12-299-1/+51
| | | | | | | | | | | | | | | | | | | | Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset.
* | | | gallium/draw: s/clipper/clip_stage/ to be consistant with other stagesBrian Paul2010-01-131-9/+9
| | | |
* | | | gallium/draw: whitespace and commentsBrian Paul2010-01-131-7/+9
| | | |
* | | | gallium/draw: remove always-true conditionalBrian Paul2010-01-131-3/+1
| | | |
* | | | gallium: Simplify PIPE_ALIGN_VAR.José Fonseca2010-01-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | gcc allows pre-fix variable attributes. Suggested by Ian Romanick.
* | | | gallium: Generalize the alignment macros to other compilers and any alignment.José Fonseca2010-01-121-3/+3
| |/ / |/| |
* | | gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-011-47/+0
| | |
* | | scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-011-47/+0
| | | | | | | | | | | | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* | | gallium: remove TGSI_SEMANTIC_VERTICESZack Rusin2009-12-251-7/+6
| | | | | | | | | | | | | | | | | | it's a leftover from an early version of geometry shading support. geometry shaders now encode the primitive size in the PROPERTY token and don't need special input with their size.
* | | draw: disable some debugging output coming from the geometry shadersZack Rusin2009-12-251-5/+5
| | |
* | | draw/tgsi: fix geometry shader input/output swizzlingZack Rusin2009-12-251-0/+1
| | |
* | | gallium: add geometry shader support to galliumZack Rusin2009-12-2520-63/+615
|/ /
* | Merge branch 'gallium-edgeflags'Roland Scheidegger2009-12-2210-66/+71
|\ \ | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_draw.c
| * | gallium: edgeflags change fixesRoland Scheidegger2009-12-161-4/+7
| | | | | | | | | | | | | | | | | | use correct number of vertex inputs fix not running pipeline in case of edgeflags changes to mesa to tgsi translation still very broken
| * | gallium: more work for edgeflags changesRoland Scheidegger2009-12-148-30/+15
| | | | | | | | | | | | | | | fixes, cleanups, etc. not working yet
| * | gallium: first steps to treat edgeflags as regular vertex elementKeith Whitwell2009-12-098-46/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The idea here is to eliminate the set_edgeflags() call in pipe_context by treating edgeflags as a regular vertex element. Edgeflags provoke special treatment in hardware, which means we need to label them in some way, in this case we'll be passing them through the vertex shader and labelling the vertex shader output with a new TGSI semantic (TGSI_SEMANTIC_EDGEFLAG).
* | | Merge branch 'master' into pipe-format-simplifyMichal Krol2009-12-172-2/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/auxiliary/draw/draw_pipe_pstipple.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/cell/ppu/cell_texture.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_tile_cache.c src/gallium/drivers/svga/svga_state_vs.c src/gallium/include/pipe/p_format.h src/gallium/state_trackers/dri/dri_drawable.c src/gallium/state_trackers/egl/egl_surface.c src/gallium/state_trackers/python/p_device.i src/gallium/state_trackers/python/st_softpipe_winsys.c src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/image.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/vg_tracker.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_buffer.c src/gallium/winsys/egl_xlib/sw_winsys.c src/gallium/winsys/g3dvl/xlib/xsp_winsys.c src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c src/gallium/winsys/gdi/gdi_softpipe_winsys.c src/gallium/winsys/xlib/xlib_cell.c src/gallium/winsys/xlib/xlib_llvmpipe.c src/gallium/winsys/xlib/xlib_softpipe.c src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_texture.c
| * | Merge branch 'gallium-noblocks'Roland Scheidegger2009-12-042-2/+0
| |\ \ | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
| | * | gallium: interface cleanups, remove nblocksx/y from pipe_texture and moreRoland Scheidegger2009-11-302-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes nblocksx, nblocksy arrays from pipe_texture (can be recalculated if needed). Furthermore, pipe_format_block struct is gone completely (again, contains just derived state). nblocksx, nblocksy, block are also removed from pipe_transfer, together with the format enum (can be obtained from the texture associated with the transfer).
* | | | Move pf_get_block() to u_format auxiliary module.Michal Krol2009-12-032-2/+5
|/ / /