summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe
AgeCommit message (Collapse)Author
2007-12-10Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵Brian
surface, etc. Additional types may be added in the future.
2007-12-10disable assertion in sp_tile_cache_set_surface() for nowBrian
2007-12-10Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.Michel Dänzer
intel_winsys works again.
2007-12-09use quadColor local varBrian
2007-12-09Fix looping for multi-color buffer writing.Brian
2007-12-09Adapt for winsys interface changes.José Fonseca
2007-12-09gallium: use SSE by defaultJosé Fonseca
2007-12-09gallium: add draw_stage::destroy().Michal
2007-12-07Try to reduce the frequency of calls to pipe->get_tex_surface()Brian
Save the surface info in the tile cache and re-use whenever possible.
2007-12-07shorten loops over color bufsBrian
2007-12-07code re-org in softpipe_clear()Brian
2007-12-07clean-upsBrian
2007-12-07Tile clearing optimizations.Brian
Clear using int values rather than floats when possible. Better performance now.
2007-12-07Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
2007-12-07Get rid of "duplicate" formats.Brian
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
2007-12-07Enable the tile clear "optimization"Brian
Not really faster yet because we're using the float-valued put/get_tile() functions so we're doing quite a bit of float/int conversion. That can be fixed though...
2007-12-07Make sp_tile_cache_flush_clear() static.Brian
Also, misc clean-ups, comments.
2007-12-07Convert the clearValue back to floats for sp_tile_cache_clear()Brian
It might be nice if sp->clear() took the color/value as floats...
2007-12-07Some tile cache improvements, clean-ups.Brian
Code for optimized clears (per-tile flag indicating clear status) in place but not enabled yet.
2007-12-07don't dereference pt after realloc - fixes valgrind errorBrian
2007-12-07add some whitespaceBrian
2007-12-07Move struct softpipe_texture definition into sp_texture.hBrian
Also, added softpipe_texture() cast wrapper.
2007-12-07minor code movementBrian
2007-12-07Eliminate struct pipe_region.Michel Dänzer
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
2007-12-06Hide texture layout details from the state tracker.Michel Dänzer
pipe->get_tex_surface() has to be used for access to texture image data.
2007-12-05added tile funcs for B8G8R8A8 formatBrian
2007-11-29Move dimensions from struct pipe_region to struct pipe_surface.Michel Dänzer
2007-11-23gallium: remove sp_headers.h references.Michal Krol
2007-11-23gallium: reorg tgsi directories.Michal Krol
2007-11-21Replace draw_set_vertex_attributes() with simpler draw_set_vertex_info().Brian
Just pass in the vertex_info object and make a copy of it.
2007-11-20add PIPE_FORMAT_Z24_S8 support to softpipe patshBrian
2007-11-19optimize earlyz_quad(), add comments, remove unneeded #includesBrian
2007-11-18Implement early depth test.Michal Krol
Early depth test is enabled when depth test is enabled and alpha test is disabled and fragment shader does not write depth. The early-z is implemented by moving the depth test stage just before the fragment shader stage and prepending it with an earlyz stage, introduced with this commit. The earlyz stage prepares the quad->outputs.depth for the following depth test stage by interpolating Z position, just as the fragment shader would do.
2007-11-16note problem with fragment coord Y orientationBrian
2007-11-08Implement shadow comparisons.Brian
2007-11-08use pipe_surface_reference() in sp_tile_cache_set_surface()Brian
2007-11-08fix bad width/height code in softpipe_clear()Brian
2007-11-08Added pipe->get_paramf() to query float limits.Brian
So far max point size, line width, texture anistopy and lod bias.
2007-11-07Reset temporary vertices ids.José Fonseca
2007-11-07Use a consistent number to identify undefined vertices.José Fonseca
2007-11-06remove dead code in softpipe_is_format_supported()Brian
2007-11-06Remove pipe->max_texture_size(), use get_param() instead.Brian
Also, in st_init_limits(), clamp driver's values against Mesa's internal limits.
2007-11-05Determine GL extensions/limits by making pipe queries.Brian
The state tracker calls pipe->get_param() to determine the GL limits and which OpenGL extensions are supported. This is an initial implementation that'll probably change...
2007-11-02Cleanups.Zack Rusin
Remove some debugging output and try to make sure that Mesa compiles when configured without LLVM
2007-11-02Implement COS and CMP opcode.Zack Rusin
There's some weird rounding issue with COS that I can't figure out.
2007-11-02Add debugging ifdefs to make it less verboseZack Rusin
2007-11-02Get fragment shaders working on top of LLVM.Zack Rusin
Redo the entry points, get the output propagation correctly, interpolate the inputs before feeding into llvm for now.
2007-11-02Change the fragment shader signature to better match actualZack Rusin
arguments that we need there.
2007-11-02Add basic entry points for fragment shaders.Zack Rusin
2007-11-02Renaming llvmtgsi to gallivm. Taking first steps on the way to supportingZack Rusin
fragment shaders through llvm.