Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-22 | gallium: remove temporary _screen suffix from function names | Brian | |
2008-03-20 | gallium: use new framebuffer width, height fields | Brian | |
2008-03-19 | gallium: added fb_width/height fields to softpipe context | Brian Paul | |
These are convenience fields. Otherwise, we have to check cbuf[0] or zsbuf in various places. | |||
2008-03-19 | gallium: 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-19 | gallium: set tc->surface_map = NULL after unmapping | Brian | |
2008-03-17 | gallium: improvements, or extensions at least, to the passthrough path | Keith Whitwell | |
Passthrough is actually more tricky than you'd think... | |||
2008-03-16 | gallium: finish remaining prim types for sp_vbuf_draw_arrays() | Brian | |
Not totally tested, but easily fixed if glitches are found. | |||
2008-03-14 | gallium: remove DOS carriage returns | Brian | |
2008-03-14 | gallium: remove DOS carriage returns | Brian | |
2008-03-14 | gallium: fix some compiler warnings | Keith Whitwell | |
2008-03-13 | gallium: need to all draw_flush() in softpipe_unmap_constant_buffers() | Brian | |
Otherwise, we won't have our constants when we run the fragment shader. Fixes crash in glsl tests when SP_VBUF=1. | |||
2008-03-13 | gallium: in softpipe_get_vertex_info() generate a vbuf vertex_info with real ↵ | Brian | |
attribs Can't use the EMIT_ALL shortcut/optimization anymore because of passthrough mode. | |||
2008-03-13 | gallium: plug in new sp_vbuf_draw_arrays() function | Brian | |
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(). | |||
2008-03-13 | gallium: set surface status to CLEAR or DEFINED in clearing/drawing code. | Brian | |
Otherwise, we were never setting these flags. This confused the state tracker. Fixes progs/demos/texenv.c, probably others. | |||
2008-03-12 | gallium: Add TEX_FILTER_ANISO img filter | Keith Whitwell | |
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. | |||
2008-03-11 | gallium: rework CSO-related code in state tracker | Brian | |
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-12 | gallium: Silence MSVC warnings. | José Fonseca | |
2008-03-10 | gallium: WinCE portability fixes. | José Fonseca | |
2008-03-05 | gallium: michel's patch to rework texture/sampler binding interface | Keith Whitwell | |
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand. | |||
2008-02-29 | scons: List sp_screen.c. | Michal Krol | |
2008-02-28 | Make sure struct pipe_screen is declared. | Michel Dänzer | |
2008-02-28 | gallium: Remove extra level of indirecttion. | José Fonseca | |
2008-02-27 | gallium: added draw_num_vs_outputs() to query number of post-transform ↵ | Brian | |
vertex attribs | |||
2008-02-27 | gallium: remove dependencies on pipe_shader_state's semantic info | Brian | |
2008-02-27 | gallium: remove unnecessary assignment | Brian | |
2008-02-27 | gallium: remove unnecessary tgsi_interp_coef decl | Brian | |
2008-02-27 | gallium: remove uses_kill field from softpipe_shader | Brian | |
2008-02-27 | gallium: remove pipe_context->texture_create/release/get_tex_surface() | Brian | |
These functions are now per-screen, not per-context. | |||
2008-02-27 | gallium: move is_format_supported() to pipe_screen struct | Brian | |
2008-02-27 | gallium: start removing pipe_context->get_name/vendor/param/paramf | Brian | |
These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled. | |||
2008-02-27 | gallium: implement pipe_screen for softpipe driver | Brian | |
2008-02-27 | gallium: softpipe_init_texture_funcs(), make texture func static | Brian | |
2008-02-26 | gallium: remove pipe parameter from pipe_texture_reference() | Brian | |
Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation... | |||
2008-02-26 | gallium: replace draw_convert_wide_points() with draw_wide_point_threshold() | Brian | |
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(). | |||
2008-02-26 | gallium: remove unused var | Brian | |
2008-02-26 | gallium: added tgsi_shader_field to sp_fragment_shader | Brian | |
Use the shader semantic info from there, instead of from pipe_shader_state. Carry this idea to draw module and other drivers... | |||
2008-02-25 | softpipe: use draw_find_vs_output() directly | Brian | |
2008-02-24 | Add new files. | José Fonseca | |
2008-02-23 | gallium: disable early Z test if fragment shader contains KIL instruction. | Brian | |
Use tgsi_scan_shader() to determine if the fragment shader uses KIL or writes fragment.z | |||
2008-02-24 | gallium: MSVC fixes. | José Fonseca | |
2008-02-23 | Bring in several forgotten MSVC fixes. | José Fonseca | |
2008-02-22 | gallium: fix a state validation bug found w/ pointblast.c | Brian | |
2008-02-22 | gallium: fix brokenb build | Brian | |
2008-02-23 | gallium: Fix build on Windows. | Michal Krol | |
2008-02-23 | gallium: Silence compiler warnings on Windows. | Michal Krol | |
2008-02-21 | gallium: 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-21 | gallium: new AA point drawing stage | Brian | |
AA points are drawn by converting the point to a quad, then modifying the user's fragment shader to compute a coverage value. The final fragment color's alpha is modulated by the coverage value. Fragments outside the point's radius are killed. | |||
2008-02-21 | [PATCH] softpipe: unbreak sp_setup_pos_vector on non-x86 systems | Keith Whitwell | |
2008-02-20 | gallium: replace some ordinary assignments with pipe_reference_texture() | Brian | |
This fixes at least one instance of dereferencing an invalid texture pointer. | |||
2008-02-20 | gallium: fix bad ptr comparison | Brian | |