summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
Commit message (Collapse)AuthorAgeFilesLines
* gallium: keep track of num_vertex_attribs/buffers for shorter loopsBrian2008-04-083-13/+13
|
* gallium: get rid of bufloop quad stageBrian2008-04-075-6/+0
|
* gallium: begin reworking quad stages for multiple color outputsBrian2008-04-0711-671/+734
|
* gallium: Set vertex state/buffers en-mass.Brian Paul2008-03-293-20/+27
|
* gallium: Fix computation of Z values when not using early Z.Brian2008-03-281-9/+12
| | | | This fixes the missing bitmaps in the engine and fogcoord demos.
* gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian2008-03-274-9/+9
| | | | | The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
* gallium: Change pipe->flush() interface to optionally return a fence.Michel Dänzer2008-03-262-6/+8
| | | | | The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
* gallium: added fragment emit/write debug countersBrian2008-03-251-0/+30
|
* gallium: wrap decls in extern "C"José Fonseca2008-03-231-0/+10
|
* gallium: remove temporary _screen suffix from function namesBrian2008-03-221-10/+10
|
* gallium: use new framebuffer width, height fieldsBrian2008-03-205-22/+7
|
* gallium: added fb_width/height fields to softpipe contextBrian Paul2008-03-195-13/+18
| | | | | These are convenience fields. Otherwise, we have to check cbuf[0] or zsbuf in various places.
* gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul2008-03-191-1/+2
| | | | | This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
* gallium: set tc->surface_map = NULL after unmappingBrian2008-03-191-0/+1
|
* gallium: improvements, or extensions at least, to the passthrough pathKeith Whitwell2008-03-171-2/+11
| | | | Passthrough is actually more tricky than you'd think...
* gallium: finish remaining prim types for sp_vbuf_draw_arrays()Brian2008-03-161-0/+73
| | | | Not totally tested, but easily fixed if glitches are found.
* gallium: remove DOS carriage returnsBrian2008-03-143-654/+654
|
* gallium: remove DOS carriage returnsBrian2008-03-141-195/+195
|
* gallium: fix some compiler warningsKeith Whitwell2008-03-142-2/+4
|
* gallium: need to all draw_flush() in softpipe_unmap_constant_buffers()Brian2008-03-131-0/+8
| | | | | Otherwise, we won't have our constants when we run the fragment shader. Fixes crash in glsl tests when SP_VBUF=1.
* gallium: in softpipe_get_vertex_info() generate a vbuf vertex_info with real ↵Brian2008-03-131-0/+12
| | | | | | attribs Can't use the EMIT_ALL shortcut/optimization anymore because of passthrough mode.
* gallium: plug in new sp_vbuf_draw_arrays() functionBrian2008-03-131-0/+57
| | | | | | Will be used for pass-through mode. Also, call draw_set_render() to register the vbuf stage. Should probably rename that function to something like draw_set_vbuf_stage().
* gallium: set surface status to CLEAR or DEFINED in clearing/drawing code.Brian2008-03-132-0/+13
| | | | | Otherwise, we were never setting these flags. This confused the state tracker. Fixes progs/demos/texenv.c, probably others.
* gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell2008-03-121-0/+3
| | | | | | Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code.
* gallium: rework CSO-related code in state trackerBrian2008-03-111-1/+2
| | | | | | | | | | Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
* gallium: Silence MSVC warnings.José Fonseca2008-03-121-3/+5
|
* gallium: WinCE portability fixes.José Fonseca2008-03-103-5/+5
|
* gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell2008-03-056-865/+891
| | | | | Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
* scons: List sp_screen.c.Michal Krol2008-02-291-0/+1
|
* Make sure struct pipe_screen is declared.Michel Dänzer2008-02-281-0/+1
|
* gallium: Remove extra level of indirecttion.José Fonseca2008-02-281-1/+1
|
* gallium: added draw_num_vs_outputs() to query number of post-transform ↵Brian2008-02-271-2/+2
| | | | vertex attribs
* gallium: remove dependencies on pipe_shader_state's semantic infoBrian2008-02-272-3/+3
|
* gallium: remove unnecessary assignmentBrian2008-02-271-1/+0
|
* gallium: remove unnecessary tgsi_interp_coef declBrian2008-02-271-1/+0
|
* gallium: remove uses_kill field from softpipe_shaderBrian2008-02-273-6/+1
|
* gallium: remove pipe_context->texture_create/release/get_tex_surface()Brian2008-02-272-48/+15
| | | | These functions are now per-screen, not per-context.
* gallium: move is_format_supported() to pipe_screen structBrian2008-02-272-26/+24
|
* gallium: start removing pipe_context->get_name/vendor/param/paramfBrian2008-02-271-25/+0
| | | | | These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled.
* gallium: implement pipe_screen for softpipe driverBrian2008-02-276-64/+216
|
* gallium: softpipe_init_texture_funcs(), make texture func staticBrian2008-02-273-25/+17
|
* gallium: remove pipe parameter from pipe_texture_reference()Brian2008-02-263-2/+3
| | | | | Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation...
* gallium: replace draw_convert_wide_points() with draw_wide_point_threshold()Brian2008-02-261-3/+0
| | | | | | | Specifying a threshold size is a bit more flexible, and allows the option of converting even 1-pixel points to triangles (set threshold=0). Also, remove 0.25 pixel bias in wide_point().
* gallium: remove unused varBrian2008-02-261-1/+0
|
* gallium: added tgsi_shader_field to sp_fragment_shaderBrian2008-02-267-25/+32
| | | | | Use the shader semantic info from there, instead of from pipe_shader_state. Carry this idea to draw module and other drivers...
* softpipe: use draw_find_vs_output() directlyBrian2008-02-251-32/+7
|
* Add new files.José Fonseca2008-02-241-0/+3
|
* gallium: disable early Z test if fragment shader contains KIL instruction.Brian2008-02-233-11/+19
| | | | | Use tgsi_scan_shader() to determine if the fragment shader uses KIL or writes fragment.z
* gallium: MSVC fixes.José Fonseca2008-02-241-2/+2
|
* Bring in several forgotten MSVC fixes.José Fonseca2008-02-232-3/+3
|