summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_context.h
AgeCommit message (Collapse)Author
2010-01-28gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol
2010-01-28gallium: Implement 2D constant buffers for fragment shader in softpipe.Michal Krol
2010-01-15Merge branch 'gallium-noconstbuf'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c src/mesa/state_tracker/st_draw_feedback.c
2009-12-31softpipe: implement conditional renderingBrian Paul
2009-12-25softpipe: make it possible to dump geometry shader from the softpipeZack Rusin
2009-12-25gallium: add geometry shader support to galliumZack Rusin
2009-12-24gallium: adapt drivers to pipe_constant_buffer removalRoland Scheidegger
2009-12-01sp: Implement separate vertex sampler state.Michal Krol
2009-10-07softpipe: whitespace and comment fixesBrian Paul
2009-08-23softpipe: remove old prim_setup draw stageKeith Whitwell
Everything now goes through the draw_vbuf handler, the same as regular drivers.
2009-08-23Merge branch 'tex-tilecache' into softpipe-optKeith Whitwell
Conflicts: src/gallium/drivers/softpipe/sp_state_derived.c src/gallium/drivers/softpipe/sp_state_sampler.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_tex_sample.h src/gallium/drivers/softpipe/sp_tile_cache.c
2009-08-21softpipe: rework texture sampling codeKeith Whitwell
Split into component pieces, stitch together at runtime using function pointers. Make it possible to utilize the existing fastpaths as image-level filters for generic mip-filtering routines. Remove special case for rectangle filtering, as it can now be handled by the 2d path. As most of the mesa demo texturing was already covered by fast paths, its harder to find examples of speedups, but tunnel gets a boost as mip-nearest filtering is now able to access the img_2d_linear_wrap_POT functions for sampling within a mipmap level.
2009-08-18softpipe: split texture and surface tile cachesKeith Whitwell
These do similar jobs but with largely disjoint code. Will want to evolve them separately going forward.
2009-07-27softpipe: move all depth/stencil/alpha pixel processing into one stageKeith Whitwell
2009-07-24softpipe: move all color-combine code into sp_quad_blend.cKeith Whitwell
Consolidate the read-modify-write color combining code from the blend, colormask and output stages.
2009-07-24softpipe: actually pass >1 quad from triangle routineKeith Whitwell
First attempt
2009-07-24softpipe: rip out old mulithread supportKeith Whitwell
2009-07-22softpipe: make some small steps to flush texture cache less frequentlyKeith Whitwell
No performance gain yet, but the code is a bit cleaner.
2009-06-16Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/api_validate.c
2009-06-15softpipe: Fix softpipe_is_texture_referenced.José Fonseca
Render results are only visible when the render cache is flushed. softpipe_is_texture_referenced must reflect that or transfers to/from the textures bound in the framebuffer won't be proceeded of the necessary flush, causing transfer data to be outdated/clobbered. This fixes conform drawpix test with softpipe.
2009-05-30Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON"Brian Paul
This reverts commit 5d75124db480b37977c353511b4e228905b7cc95. This fixed unclipped polygons, but broke clipped polygons. A better fix from the mesa 7.5 branch will be merged next...
2009-05-27softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGONBrian Paul
Use the first vertex, not the last.
2009-05-16gallium: remove occlusion_count flag from depth-stencil stateKeith Whitwell
Drivers can just keep track of whether they are within a query by monitoring the begin/end query callbacks. The flag adds no information beyond that. Only softpipe was examining this flag -- it has been fixed up and retested with demos/arbocclude.
2009-02-11softpipe: remove unneeded #includeBrian Paul
2009-02-11softpipe: asst comments, clean-upsBrian Paul
2009-02-11softpipe: remove some old polygon stipple stuff and do some clean-upsBrian Paul
2009-02-11softpipe: rename sp_quad.[ch] -> sp_quad_pipe.[ch]Brian
Be more consistant with 'draw' module.
2009-01-08gallium: Replace uint64 by standard uint64_t.José Fonseca
uint64 is not (so?) standard, and often redefined by third parties, causing name clashes.
2008-12-17softpipe: fix vertex shader texture samplingBrian Paul
Need to disable/bypass lambda calculation since derivatives of texcoords are meaningless for adjacent vertices.
2008-12-04softpipe: plug in softpipe's texture samplers into draw module.Brian
2008-09-08softpipe: Set SP_NUM_QUAD_THREADS 1 effectively disabling multithreaded ↵Michal Krol
softpipe. We want to make it env variable, or even better, autodetect as the feature makes softpipe run slower on a single CPU.
2008-09-08softpipe: First attempts at multithreaded softpipe.Michal Krol
Configured for 2 cores.
2008-06-20gallium: fix invalid call to draw_set_mapped_constant_buffer()Brian Paul
We were indexing sp_constants[i] outside the loop so i was 2. Replace i with PIPE_SHADER_VERTEX. Also, replace magic '2' with PIPE_SHADER_TYPES in a few places.
2008-05-01gallium: remove the unused softpipe_winsys codeBrian Paul
The struct is still there though until all winsys layers are updated
2008-04-22softpipe: implement SP_NO_RAST env varKeith Whitwell
2008-04-14gallium: take reduced prim, fill modes into account when cullingBrian Paul
2008-04-08gallium: keep track of num_vertex_attribs/buffers for shorter loopsBrian
2008-04-07gallium: get rid of bufloop quad stageBrian
2008-04-07gallium: begin reworking quad stages for multiple color outputsBrian
2008-03-27gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
2008-03-20gallium: use new framebuffer width, height fieldsBrian
2008-03-19gallium: added fb_width/height fields to softpipe contextBrian Paul
These are convenience fields. Otherwise, we have to check cbuf[0] or zsbuf in various places.
2008-03-05gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
2008-02-21gallium: new draw stage for polygon stipple.Brian
For hardware without native polygon stipple. Create a 32x32 alpha texture that encodes the stipple pattern. Modify the user's fragment program to sample the texture (with gl_FragCoord) and kill the fragment according to the texel value. Temporarily enabled in softpipe driver, replacing the sp_quad_stipple.c step.
2008-02-20gallium: replace some ordinary assignments with pipe_reference_texture()Brian
This fixes at least one instance of dereferencing an invalid texture pointer.
2008-02-15Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell
Conflicts: src/gallium/drivers/softpipe/sp_quad_fs.c src/gallium/drivers/softpipe/sp_state.h src/gallium/drivers/softpipe/sp_state_fs.c
2008-02-15Code reorganization: update build.José Fonseca
Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.