summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_context.h
AgeCommit message (Collapse)Author
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.