summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
Commit message (Collapse)AuthorAgeFilesLines
* gallium: add geometry shader support to galliumZack Rusin2009-12-258-13/+98
|
* Merge branch 'gallium-edgeflags'Roland Scheidegger2009-12-223-14/+0
|\ | | | | | | | | Conflicts: src/mesa/state_tracker/st_draw.c
| * gallium: more work for edgeflags changesRoland Scheidegger2009-12-143-14/+0
| | | | | | | | | | fixes, cleanups, etc. not working yet
* | Move the remaining format pf_get_* functions to u_format.h.Michal Krol2009-12-172-8/+8
| | | | | | | | | | Previously they depended on format blocks, but after removing those they started depending on format encoding.
* | Merge branch 'master' into pipe-format-simplifyMichal Krol2009-12-175-27/+26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-strict-aliasing'Roland Scheidegger2009-12-081-3/+4
| |\
| | * gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safeRoland Scheidegger2009-12-071-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | use pointer to union instead of void pointer. gcc complained a lot, depending what the pointer originally actually was. Looks like it's in fact maybe legal to cast for instance uint pointers to union pointers as long as union contains a uint type, hence use this with some callers, other just use union util_color in the first place.
| * | softpipe: sp_winsys.h should define/include what it needs.Corbin Simpson2009-12-061-1/+3
| | |
| * | softpipe: dont claim to support PIPE_FORMAT_NONEKeith Whitwell2009-12-041-0/+1
| | |
| * | softpipe: fix double-minify in texture layoutKeith Whitwell2009-12-041-1/+1
| | |
| * | Merge branch 'gallium-noblocks'Roland Scheidegger2009-12-042-24/+19
| |\ \ | | |/ | |/| | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
| | * gallium: interface cleanups, remove nblocksx/y from pipe_texture and moreRoland Scheidegger2009-11-302-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | 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_component_bits() to u_format auxiliary module.Michal Krol2009-12-031-2/+5
| | |
* | | Move pf_get_bits/size() to u_format auxiliary module.Michal Krol2009-12-031-1/+2
| | |
* | | Move pf_get_block() to u_format auxiliary module.Michal Krol2009-12-031-1/+3
|/ /
* | softpipe: setup machine->Face without a conditionalBrian Paul2009-12-011-5/+2
| |
* | sp: Do not falsely advertise support for some SNORM formats.Michal Krol2009-12-011-0/+4
| |
* | sp: Implement separate vertex sampler state.Michal Krol2009-12-017-11/+116
|/
* Merge branch 'width0'Roland Scheidegger2009-11-273-56/+58
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
| * gallium: don't use arrays for texture width,height,depthKeith Whitwell2009-11-193-56/+58
| |
* | softpipe: Initialise TGSI machine's Face.Michal Krol2009-11-231-1/+7
| |
* | Fix indentation.Alan Hourihane2009-11-201-3/+4
| |
* | Fix memory leak.Alan Hourihane2009-11-201-0/+1
| |
* | softpipe: whitespace/indentation fixesBrian Paul2009-11-191-5/+3
| |
* | softpipe: add missing check in softpipe_is_texture_referenced()Brian Paul2009-11-191-2/+8
|/ | | | Check if the named texture is referenced by the texture cache.
* softpipe: Implement PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE for destination.José Fonseca2009-11-051-2/+10
| | | | It is a valid and tested combination on D3D9.
* softpipe: Sanitise shader semantic and interpolator handling.Michal Krol2009-11-021-24/+10
| | | | | Handle the remaining semantic names and indices. Respect color interpolator when not flatshading.
* softpipe: Respect gl_rasterization_rules in primitive setup.Michal Krol2009-10-301-14/+26
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-10-101-1/+6
|\
| * softpipe: revert 564df9dc5f6335eb8dc68f3c69cf054d2142663cBrian Paul2009-10-101-1/+6
| | | | | | | | | | | | | | | | | | | | This change silenced valgrind warnings but broke progs/tests/drawbuffers. The problem is we don't know the surface's state when we start caching it (it may or may not be initialized/cleared/etc). So "clearing" it here was presumptuous. Leaving the code in place (but disabled) for reference and when using valgrind. Fixes bug 24401
* | softpipe: fix multi-drawbuffers regressionBrian Paul2009-10-101-3/+3
| | | | | | | | This is part of the fix for bug 24401.
* | softpipe: restore/fix print_vertex() debug helperBrian Paul2009-10-091-2/+6
| |
* | softpipe: new commentsBrian Paul2009-10-071-0/+39
| |
* | softpipe: whitespace and comment fixesBrian Paul2009-10-071-11/+8
| |
* | softpipe: prefix non-static functions with sp_Brian Paul2009-10-073-55/+55
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-10-051-1/+1
|\| | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
| * gallium: replace // comments with /* */Brian Paul2009-10-021-1/+1
| |
* | gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer2009-10-021-12/+3
| | | | | | | | | | | | Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them.
* | g3dvl: Copyright blocks.Younes Manton2009-10-012-0/+54
| |
* | g3dvl: Color space conv interface & vl impl.Younes Manton2009-10-011-0/+10
| | | | | | | | | | | | | | | | Interface is pipe_video_context::set_csc_matrix(). vl_csc.h defines some helpers to generate CSC matrices based on one of the color standard and a user defined ProcAmp (brightness, contrast, saturation, hue).
* | gallium: remove depth.occlusion_count flagKeith Whitwell2009-10-011-1/+0
| | | | | | | | | | | | | | This was redundant as drivers can just keep track of whether they are inside a begin/end query pair. We want to add more query types later and also support nested queries, none of which map well onto a flag like this. No driver appeared to be using the flag.
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-291-0/+5
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile configs/default docs/relnotes.html src/gallium/drivers/softpipe/sp_context.c src/gallium/drivers/softpipe/sp_tile_cache.c src/mesa/main/version.h
| * softpipe: initialize the clear_flags bitvector in sp_create_tile_cache()Brian Paul2009-09-291-0/+5
| | | | | | | | | | This silences tons of valgrind warnings in programs that don't call glClear(), such as progs/demos/gamma.
| * softpipe: Grab a ref when the fb is set.Brian Paul2009-09-292-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture. (cherry picked from commit a77226071f6814a53358a5d6caff685889d0e4ec) Conflicts: src/gallium/drivers/softpipe/sp_context.c
* | softpipe: Fix MSVC build.José Fonseca2009-09-281-1/+2
| |
* | g3dvl: Formatting and cleanups.Younes Manton2009-09-273-179/+172
| |
* | g3dvl: pipe_video_context interface, softpipe impl, auxiliary libsYounes Manton2009-09-276-2/+379
| |
* | softpipe: Grab a ref when the fb is set.Younes Manton2009-09-272-4/+9
| | | | | | | | | | | | | | Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture.
* | softpipe: Grab fs output z from the correct file.Michal Krol2009-09-251-1/+1
| |
* | softpipe: Do not advertise support for L16 and YCBCR formats.Michal Krol2009-09-251-0/+3
| |