summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pstipple.c
AgeCommit message (Collapse)Author
2008-03-24gallium: be smarter about picking the sampler unit for pstipple, aaalinesBrian
Also, if the app really uses all available sampler/texture units, don't just die. Just use the last sampler for the pstipple or aaline texture.
2008-03-24gallium: move sampler_unit field to pstip_fragment_shader since it's per-shaderBrian
Also, fix another texture refcounting bug.
2008-03-24gallium: use pipe_texture_reference() in a few places (fixes refcounting bugs)Brian
2008-03-22gallium: free samplers, textures in destroy()Brian
2008-03-19gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul
This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
2008-03-13gallium: remove dead code related to shader semantic input/output infoBrian Paul
2008-03-13gallium: fix bug in stip_first_tri()Brian Paul
Need to compute num_samplers after binding/creating the fragment shader.
2008-03-13gallium: remove semantic info from pipe_shader_stateBrian Paul
Brian's patch to clean up the shader interfaces.
2008-03-12gallium: fix polygon stippleBrian
Was broken by commit 4528287e040415c2071012d02f20979ff995c754 (bind all samplers/texures at once).
2008-03-11gallium: rework CSO-related code in state trackerBrian
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...
2008-03-10gallium: fix compiler warningKeith Whitwell
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-29gallium: remove the ugly pipe->draw stage lookup code in ↵Brian
aaline/point/pstipple stages Added a void *draw ptr to pipe_context. Probably look for a better solution someday.
2008-02-27gallium: remove dependencies on pipe_shader_state's semantic infoBrian
Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead.
2008-02-27gallium: remove pipe_context->texture_create/release/get_tex_surface()Brian
These functions are now per-screen, not per-context.
2008-02-24gallium: Fix MSVC warnings.José Fonseca
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.