Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs. | Michal Krol | 2008-04-28 | 7 | -15/+204 |
| | | | | Change SSE_SWIZZLES #define to 0 to disable it. | ||||
* | gallium: check for PIPE_FORMAT_X8Z24_UNORM format | Brian Paul | 2008-04-28 | 1 | -1/+2 |
| | |||||
* | gallium: replace some code with a call to st_choose_format() | Brian Paul | 2008-04-28 | 1 | -16/+2 |
| | |||||
* | gallium: return enum pipe_format, not uint, for a few functions | Brian Paul | 2008-04-28 | 1 | -3/+3 |
| | |||||
* | gallium: add cases for PIPE_FORMAT_X8Z24_UNORM | Brian Paul | 2008-04-28 | 1 | -0/+4 |
| | |||||
* | pipebuffer: Be extra cautious with the incoming buffers. | José Fonseca | 2008-04-27 | 1 | -3/+17 |
| | | | | | A common mistake is trying to fence user or malloc buffers. So don't let the crash happen inside pipebuffer lib. | ||||
* | rtasm: Implement x86_retw. | José Fonseca | 2008-04-27 | 2 | -0/+7 |
| | |||||
* | gallium: fix broken SGT, SLE | Brian | 2008-04-25 | 1 | -2/+16 |
| | |||||
* | use PIPE_ARCH_X86 | Brian | 2008-04-25 | 1 | -2/+2 |
| | |||||
* | gallium: tweak comments, minor var renaming | Brian Paul | 2008-04-25 | 1 | -7/+15 |
| | |||||
* | gallium: tweak comments, minor var renaming | Brian Paul | 2008-04-25 | 1 | -21/+16 |
| | |||||
* | gallium: remove unneeded st->bitmap_texcoord_bias | Brian Paul | 2008-04-25 | 4 | -16/+6 |
| | |||||
* | gallium: use simple color pass-through fragment shader if textures don't exist | Brian Paul | 2008-04-25 | 2 | -2/+30 |
| | | | | | | | If we run out of texture memory we may not have the texture needed by the fragment shader. If this happens, plug in a color passthrough shader. So instead of crashing, we just don't see the texture. GL_OUT_OF_MEMORY is raised, of course. | ||||
* | gallium: added null ptr check | Brian Paul | 2008-04-25 | 1 | -1/+1 |
| | |||||
* | gallium: added a null ptr check | Brian Paul | 2008-04-25 | 1 | -1/+7 |
| | |||||
* | gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/ | Brian Paul | 2008-04-25 | 4 | -7/+7 |
| | |||||
* | gallium: consolidate quad drawing code | Brian Paul | 2008-04-25 | 1 | -142/+90 |
| | |||||
* | gallium: remove unused st_draw_vertices() | Brian Paul | 2008-04-25 | 2 | -77/+0 |
| | |||||
* | gallium: use util_draw_vertex_buffer() instead of st_draw_vertices() | Brian Paul | 2008-04-25 | 1 | -24/+70 |
| | |||||
* | gallium: fix the compressed texture hack in st_texture_image_copy() | Brian Paul | 2008-04-25 | 1 | -3/+2 |
| | | | | | Actually, the hack is still there and needs to be revisited, but I get a bit further with compressed textures now. | ||||
* | scons: A few fixes for building mesa on windows. | José Fonseca | 2008-04-26 | 1 | -4/+14 |
| | |||||
* | draw: emit extra flags whenever pipeline is active | Keith Whitwell | 2008-04-25 | 2 | -10/+5 |
| | | | | | | The assert was in fact over-sensitive, but emitting the extra flags is pretty trivial & we may as well just do it whenever we know the pipeline is running. | ||||
* | gallium: Use util_blit_pixels() for glCopyTexSubImage when appropriate. | Michel Dänzer | 2008-04-25 | 1 | -14/+23 |
| | |||||
* | gallium: Add draw_pt_varray.c to scons build. | Michel Dänzer | 2008-04-25 | 1 | -0/+1 |
| | |||||
* | tgsi: fix compile when HIGH_PRECISION not defined | Keith Whitwell | 2008-04-25 | 1 | -1/+1 |
| | |||||
* | draw: no need to special-case elts/get_elts for varray frontend | Keith Whitwell | 2008-04-25 | 1 | -7/+5 |
| | |||||
* | draw: remove unused vars | Keith Whitwell | 2008-04-25 | 2 | -4/+0 |
| | |||||
* | frontend for rendering without elts | Zack Rusin | 2008-04-25 | 6 | -7/+421 |
| | |||||
* | gallium: Tell the driver the texture is updated when we finish rendering to it. | Michel Dänzer | 2008-04-25 | 1 | -0/+4 |
| | |||||
* | gallium: Windows user mode portability fixes. | José Fonseca | 2008-04-25 | 6 | -33/+53 |
| | |||||
* | gallium: New configuration header. | José Fonseca | 2008-04-25 | 2 | -0/+114 |
| | | | | | | To abstract all those weird #ifdef (__???__) checks. It should typically be the first included header. | ||||
* | gallium: fix an edgeflags crash | Brian Paul | 2008-04-24 | 1 | -1/+5 |
| | |||||
* | draw: remove old assignment of edgeflag value | Keith Whitwell | 2008-04-24 | 1 | -1/+0 |
| | |||||
* | gallium: initial edgeflags code | Brian Paul | 2008-04-24 | 1 | -1/+59 |
| | |||||
* | gallium: plug in softpipe_set_edgeflags() function | Brian Paul | 2008-04-24 | 3 | -0/+14 |
| | |||||
* | gallium: comments | Brian Paul | 2008-04-24 | 1 | -2/+2 |
| | |||||
* | draw: default edgeflag should be one | Keith Whitwell | 2008-04-24 | 1 | -1/+1 |
| | |||||
* | gallium: disable the bitmap/texcoord bias | Brian Paul | 2008-04-24 | 1 | -1/+1 |
| | | | | Doesn't seem to be needed after fixing the float->int conversion problem. | ||||
* | mesa: adjust glBitmap coords by a small epsilon | Brian Paul | 2008-04-24 | 1 | -2/+3 |
| | | | | | | Fixes problem with bitmaps jumping around by one pixel depending on window size. The rasterpos is often X.9999 instead of X+1. Run progs/redbook/drawf and resize window to check. | ||||
* | gallium: use cso_destroy_vertex/fragment_shader() functions | Brian Paul | 2008-04-24 | 5 | -13/+18 |
| | | | | | Also, rearrange the st_destroy_context() code a bit to prevent some invalid/NULL ptr derefs during tear-down. | ||||
* | gallium: make cso_release_all() public | Brian Paul | 2008-04-24 | 2 | -2/+4 |
| | |||||
* | gallium: minor clean-ups, comments | Brian Paul | 2008-04-24 | 1 | -5/+9 |
| | |||||
* | gallium: tweak the new shader delete funcs | Brian Paul | 2008-04-24 | 1 | -4/+8 |
| | |||||
* | gallium: added cso_delete_vertex_fragment_shader() functions | Brian Paul | 2008-04-24 | 2 | -0/+23 |
| | | | | | | | | | | The state tracker now uses these functions to free shaders, rather than the pipe->delete_vs/fs-state() functions. Before, we could get in a situation where we free() a shader and happen to alloc() a new one at the same address. The cso_set_vertex/fragment_shader() function would no-op the state change since the pointers were the same. This led to problems elsewhere, of course. The new delete functions null-out the CSO's current shader pointers. | ||||
* | gallium: Make sure the size of non-existent storage components is set to 0. | Michel Dänzer | 2008-04-24 | 1 | -3/+3 |
| | | | | | Before adding support for formats with unused storage components, the size of components swizzled to 0 or 1 was ignored, so this didn't matter. | ||||
* | i915: Fix for wrong texture in texobj with VBUF | Jakob Bornecrantz | 2008-04-24 | 1 | -0/+3 |
| | |||||
* | translate: Actually return a value from translate_cache_create(). | Michal Krol | 2008-04-24 | 1 | -0/+1 |
| | |||||
* | draw: handle edgeflags and reset-line-stipple again | Keith Whitwell | 2008-04-24 | 13 | -374/+348 |
| | |||||
* | xlib: only shortcircuit makecurrent if NO_RAST set, otherwise window size ↵ | Keith Whitwell | 2008-04-24 | 1 | -1/+9 |
| | | | | updates fail | ||||
* | gallium: Initial support for pixel formats with unused storage components. | Michel Dänzer | 2008-04-24 | 5 | -47/+157 |
| | | | | | Also clarify that RGB formats with no (used) alpha component are treated as having alpha = 1.0. |