Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | st: st_equal_formats() function to compare gallium/GL pixel formats | Brian Paul | 2009-04-15 | 2 | -0/+24 | |
| | | | ||||||
| * | | st: decompress_with_blit() path for glGetTexImage(). | Brian Paul | 2009-04-15 | 1 | -2/+81 | |
| | | | | | | | | | | | | Decompress a texture by rendering a textured quad. | |||||
| * | | st: If the hw supports it do hw conversion of texture uploads | Jakob Bornecrantz | 2009-04-09 | 1 | -4/+160 | |
| | | | ||||||
* | | | gallium: Make sure we flush before some texture / buffer operations. | Thomas Hellstrom | 2009-04-15 | 8 | -11/+112 | |
| | | | | | | | | | | | | | | | | | | | | | Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||||
* | | | mesa: TGSI translation of multiple render targets. | José Fonseca | 2009-04-15 | 1 | -3/+3 | |
| |/ |/| | ||||||
* | | mesa: Fix gcc assembly enable logic. | José Fonseca | 2009-04-14 | 1 | -1/+1 | |
|/ | | | | The i386 symbol is defined on WINDDK. | |||||
* | gallium: remove pipe_texture::compressed field | Brian Paul | 2009-04-10 | 1 | -1/+0 | |
| | | | | | The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format). | |||||
* | st: remove another unneeded 'is compressed' comparison | Brian Paul | 2009-04-09 | 1 | -2/+3 | |
| | ||||||
* | st: remove unneeded "is compressed" check | Brian Paul | 2009-04-09 | 1 | -2/+1 | |
| | | | | The format indicates compressed vs. uncompressed. | |||||
* | st: rearrange some code to be a little more clear | Brian Paul | 2009-04-09 | 1 | -9/+7 | |
| | ||||||
* | gallium: remove unneeded compressed=0 assignment | Brian Paul | 2009-04-09 | 1 | -1/+0 | |
| | ||||||
* | st: remove comp_byte parameter to st_texture_create() | Brian Paul | 2009-04-09 | 6 | -20/+9 | |
| | | | | We can determine if the texture is compressed by checking the format. | |||||
* | st: consolidate format->usage computation | Brian Paul | 2009-04-09 | 1 | -9/+23 | |
| | ||||||
* | st: add const qualifiers, use GL types | Brian Paul | 2009-04-09 | 1 | -13/+10 | |
| | ||||||
* | st: make loops over 3D texture slices a litte more intuitive | Brian Paul | 2009-04-09 | 1 | -10/+16 | |
| | ||||||
* | st: reformatting and clean-ups in texture code | Brian Paul | 2009-04-09 | 1 | -95/+67 | |
| | ||||||
* | gallium: when using gl_PointCoord ensure we use the correct attribute. | Alan Hourihane | 2009-04-08 | 1 | -3/+5 | |
| | ||||||
* | st: implement glCopyTexImage() for GL_DEPTH24_STENCIL8 internal format | Brian Paul | 2009-04-07 | 1 | -2/+4 | |
| | ||||||
* | st: implement GL_DEPTH_STENCIL format for glReadPixels and DrawPixels() | Brian Paul | 2009-04-07 | 3 | -43/+96 | |
| | ||||||
* | st: as with swrast, interpret texture border color according to texture format | Brian Paul | 2009-04-06 | 1 | -4/+37 | |
| | | | | | Depending on the hardware driver this might not be needed, but it will cause no harm. | |||||
* | st: rename a helper function | Brian Paul | 2009-04-06 | 1 | -4/+4 | |
| | ||||||
* | mesa: Fix orientation adjustment for reading stencil pixels. | José Fonseca | 2009-04-06 | 1 | -1/+1 | |
| | | | | Fixes conform spcorner.c & spclear.c failure. | |||||
* | gallium: Clean up driver clear() interface. | Michel Dänzer | 2009-04-04 | 1 | -119/+64 | |
| | | | | | Only allows clearing currently bound buffers, but colour and depth/stencil in a single call. | |||||
* | gallium: Add utility helper for packing combined depth/stencil values. | Michel Dänzer | 2009-04-04 | 1 | -13/+3 | |
| | ||||||
* | mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new file | Brian Paul | 2009-04-03 | 1 | -0/+1 | |
| | ||||||
* | mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float() | Brian Paul | 2009-04-03 | 1 | -1/+1 | |
| | | | | | It was only set to GL_TRUE in one place where it isn't really needed (glGetTexImage(sRGB format)). | |||||
* | mesa: ensure pbo stencil buffers are mapped before use | Alan Hourihane | 2009-04-03 | 1 | -0/+5 | |
| | ||||||
* | gallium: Move pf_is_depth_stencil to p_format.h. | José Fonseca | 2009-03-31 | 1 | -6/+0 | |
| | ||||||
* | mesa: add new signed rgba texture format | Roland Scheidegger | 2009-03-28 | 1 | -1/+1 | |
| | | | | | This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own. | |||||
* | mesa: Support Z24S8 wherever S8Z24 is supported. | José Fonseca | 2009-03-27 | 2 | -0/+48 | |
| | ||||||
* | st: init the default texture to (0,0,0,1) | Brian Paul | 2009-03-26 | 1 | -2/+12 | |
| | | | | | The default texture is used when a sampler uses an incomplete texture. This change fixes the piglit fp-incomplete test. | |||||
* | gallium: Remove some little-used fields from struct pipe_surface. | Michel Dänzer | 2009-03-26 | 3 | -44/+0 | |
| | ||||||
* | mesa/st: bump gallium version to 0.3 | Keith Whitwell | 2009-03-24 | 1 | -13/+2 | |
| | | | | | | | | | To distinguish from the -0.2 version still being maintained on the gallium-mesa-7.4 branch. There are already greater interface changes between these two branches than there were between -0.2 and -0.1. Also stop injecting Tungsten into the vendor string - the Gallium in the renderer string should be sufficient. | |||||
* | gallium: Remove remnants of reference counting internals outside of p_refcnt.h. | Michel Dänzer | 2009-03-23 | 1 | -1/+1 | |
| | ||||||
* | gallium: remove remaining references to origin_lower_left | Keith Whitwell | 2009-03-21 | 1 | -3/+0 | |
| | ||||||
* | st: Silence compiler warnings. | Michal Krol | 2009-03-21 | 1 | -2/+2 | |
| | ||||||
* | gallium: remove use of origin_lower_left | Brian Paul | 2009-03-20 | 4 | -24/+197 | |
| | | | | | | | | | | | | | | This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it. | |||||
* | mesa: check renderbuffer is defined before use. | Alan Hourihane | 2009-03-19 | 1 | -8/+10 | |
| | ||||||
* | st/gl: Only transfer needed parts in st_TexSubimage | Jakob Bornecrantz | 2009-03-19 | 1 | -4/+2 | |
| | ||||||
* | st: call _glapi_check_multithread from st_make_current | Keith Whitwell | 2009-03-18 | 1 | -0/+5 | |
| | | | | | | | This function is called from many OS-dependent versions of MakeCurrent. Move the check for multithreading to this central location to avoid having to make this check from all the callers. | |||||
* | st: need to free/realloc pipe texture when we're handed image level > last_level | Brian Paul | 2009-03-18 | 1 | -0/+1 | |
| | | | | Fixes progs/tests/tri-fbo-tex-mip.c | |||||
* | st: clean up some if-statment code | Brian Paul | 2009-03-18 | 1 | -12/+11 | |
| | ||||||
* | st: update texture comments | Brian Paul | 2009-03-18 | 1 | -7/+5 | |
| | ||||||
* | gallium: Use struct pipe_atomic for pipe refcounts. | Thomas Hellstrom | 2009-03-16 | 1 | -1/+1 | |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||||
* | gallium: consolidate bypass_vs and bypass_clipping flags | Keith Whitwell | 2009-03-13 | 2 | -18/+6 | |
| | | | | | | | | | The draw module provides a similar interface to the driver which is retained as various bits of hardware may be able to take on incremental parts of the vertex pipeline. However, there's no need to advertise all this complexity to the state tracker. There are basically two modes now - normal and passthrough/screen-coords. | |||||
* | gallium: no need to keep a copy of shader tokens in state tracker | Keith Whitwell | 2009-03-13 | 4 | -25/+4 | |
| | | | | | | | | Any driver who needs a copy of the shader tokens must organize to do so itself. This has been the case for a long time, but there was still defensive code in the state tracker, which is now removed. Any bugs resulting from this need to be fixed in the offending driver... | |||||
* | mesa/st: add check for null front renderbuffer | Keith Whitwell | 2009-03-13 | 1 | -9/+12 | |
| | | | | | | Not sure if this indicates a problem elsewhere, but without this check trivial/tri-fbo.c segfaults on resize. With the patch, it renders correctly. | |||||
* | mesa/st: don't call finish in st_glFlush() | Keith Whitwell | 2009-03-13 | 1 | -4/+7 | |
| | | | | | | | | | It is not the state tracker's responsibilty to inject sleeps and pessimize performance in the hope of avoiding buffer synchronization issues in buggy drivers. Calling finish() here will just hide problems that need to be fixed elsewhere. | |||||
* | gallium: Remove do_flip argument from surface_copy | Jakob Bornecrantz | 2009-03-13 | 4 | -9/+3 | |
| | | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me. | |||||
* | st: silence warning | Brian Paul | 2009-03-09 | 1 | -0/+2 | |
| |