Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-13 | gallium: added draw_need_pipeline() predicate function | Brian | |
To test if we need any pipeline stage, or whether we can go into passthrough mode. | |||
2008-03-13 | gallium: added draw_enable_line_stipple() function | Brian | |
Allows drivers that implement line stipple to turn off this drawing stage. | |||
2008-03-13 | gallium: remove dead code related to shader semantic input/output info | Brian Paul | |
2008-03-13 | gallium: fix bug in stip_first_tri() | Brian Paul | |
Need to compute num_samplers after binding/creating the fragment shader. | |||
2008-03-13 | gallium: remove semantic info from pipe_shader_state | Brian Paul | |
Brian's patch to clean up the shader interfaces. | |||
2008-03-12 | gallium: fix polygon stipple | Brian | |
Was broken by commit 4528287e040415c2071012d02f20979ff995c754 (bind all samplers/texures at once). | |||
2008-03-12 | gallium: change draw_vertex_shader->state from pointer to struct | Brian | |
We were sometimes keeping a pointer to a stack-allocated object. Now make a copy of the pipe_shader_state object. This should fix some seemingly random memory errors/crashes. | |||
2008-03-12 | gallium: reduce signed/unsigned warnings | Keith Whitwell | |
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-11 | draw: don't free our copy of the render stage -- just borrowing it from vbuf ↵ | Keith Whitwell | |
stage | |||
2008-03-11 | gallium: missing file | Keith Whitwell | |
2008-03-10 | fix compilation | Zack Rusin | |
2008-03-10 | draw: placeholder/prototype code for a passthrough draw path | Keith Whitwell | |
2008-03-10 | gallium: fix compiler warning | Keith Whitwell | |
2008-03-10 | gallium: use the same bypass_clipping logic on all vs paths | Keith Whitwell | |
2008-03-10 | gallium: enable bug workaround in draw_vertex_cache_invalidate | Keith Whitwell | |
2008-03-10 | gallium: WinCE portability fixes. | José Fonseca | |
2008-03-09 | draw: cope with binding NULL vertex shader (on context delete, for instance) | Keith Whitwell | |
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-03-04 | draw: dont' compute clipmask or apply viewport when not clipping (rename ↵ | Keith Whitwell | |
bypass_clipping to coords_in_window_space? | |||
2008-03-03 | draw: add fetch for bgra ubyte surfaces | Keith Whitwell | |
2008-02-29 | gallium: fix line emit order for unfilled tris | Brian Paul | |
A tri drawn with GL_LINE_LOOP and GL_POLYGON w/ fillmode=GL_LINE should produce the same results when line stipple is enabled. Results are correct now. | |||
2008-02-29 | gallium: point rast coord tweak | Brian Paul | |
2008-02-29 | gallium: need precalc_flat=1 for wide lines | Brian Paul | |
2008-02-29 | gallium: tweak coords for wide lines | Brian Paul | |
2008-02-29 | gallium: 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-28 | gallium: new wide point/line stages (missed in prev commit) | Brian Paul | |
2008-02-28 | gallium: split draw_wide_prim stage into separate point/line stages. | Brian Paul | |
This fixes a validation/code-path problem. Enabling the stage for the sake of wide points also inadvertantly caused wide lines to be converted to tris when we actually want them passed through, such as for the AA line stage. This is just cleaner now. Also, replace draw_convert_wide_lines() with draw_wide_line_threshold() as was done for points. Allows for 1-pixel lines to be converted too if needed. | |||
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 | |
Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead. | |||
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-26 | gallium: updated prototype (missed in prev commit) | Brian | |
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: disable debug code | Brian | |
2008-02-25 | gallium: rewrite AA point fragment shader to use a CMP instruction instead ↵ | Brian | |
of IF/ELSE/ENDIF Allows the shader to work on i915 hardware. | |||
2008-02-25 | gallium: fix bad ptr assignment | Brian | |
2008-02-25 | gallium: modify draw_find_vs_output() to search vertex shader outputs | Brian | |
This simplifies drivers using the draw module and removes the last dependency on vertex-shader "internals". Since the draw module is producing the post-transformed vertices, it makes sense to ask it where specific vertex attributes are located. This could also simplify some things in the state tracker code for selection, feedback, rasterpos... | |||
2008-02-24 | Add new files. | José Fonseca | |
2008-02-24 | gallium: Fix MSVC warnings. | José Fonseca | |
2008-02-24 | gallium: MSVC fixes. | José Fonseca | |
2008-02-22 | gallium: fix bug in which wide point stage overrode the aapoint stage | Brian | |
Also, simplify the logic a bit. | |||
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 | draw: vertex cache rework | Keith Whitwell | |
Take a baby step to straightening out vertex paths. | |||
2008-02-20 | gallium: re-fix some msvc warnings | Brian | |
2008-02-19 | Remove src/mesa and src/mesa/main from gallium source include paths. | José Fonseca | |
2008-02-19 | Add run-time cpu capabilities detection stubs. | José Fonseca | |
2008-02-19 | Simplify makefile boilerplate code. | José Fonseca | |
Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES. | |||
2008-02-19 | Use gallium's rtasm module. | José Fonseca | |
2008-02-18 | gallium: remove the prototype/unused wide_line_aa() function | Brian | |