Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: free shader program data before deleting shader objects. | Brian | 2008-05-06 | 1 | -0/+16 |
| | | | | | Picked from master. Fixes mem corruption seen when glean/api2 test exits. | ||||
* | gallium: implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 11 | -74/+170 |
| | | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed... | ||||
* | mesa: comments, whitespace | Brian | 2008-05-06 | 1 | -24/+19 |
| | |||||
* | gallium: change calculate_first_last_level() to match gallium-tex-surfaces ↵ | Brian Paul | 2008-05-06 | 1 | -1/+1 |
| | | | | branch | ||||
* | fix _mesa_ffs for alternative compilers | Alan Hourihane | 2008-05-05 | 1 | -19/+17 |
| | |||||
* | declare atoms as extern | Alan Hourihane | 2008-05-05 | 1 | -14/+14 |
| | |||||
* | gallium: fix warnings | Brian Paul | 2008-05-03 | 1 | -1/+3 |
| | |||||
* | gallium: fix sampler->max_lod computation | Brian Paul | 2008-05-03 | 1 | -2/+3 |
| | |||||
* | gallium: fix computation of sampler->min_lod | Brian Paul | 2008-05-03 | 1 | -1/+1 |
| | | | | | The texture BaseLevel is accounted for in texture layout so it doesn't factor in here. May also need to adjust max_lod... | ||||
* | gallium: minor code, comments clean-up | Brian Paul | 2008-05-02 | 1 | -26/+16 |
| | |||||
* | gallium: in st_finalize_texture() check texture dimensions | Brian Paul | 2008-05-02 | 1 | -1/+4 |
| | | | | | | Check dimensions in addition to target, format, etc. Fixes a bug where we failed to detect a change in texture image sizes and wound up using the old texture data. | ||||
* | gallium: Reallocate pipe_texture in st_TexImage if the texture object was used. | Michel Dänzer | 2008-05-02 | 3 | -8/+10 |
| | | | | Fixes problems with interleaved glTexImage and rendering calls. | ||||
* | snprintf -> util_snprintf | Alan Hourihane | 2008-05-02 | 1 | -6/+6 |
| | |||||
* | revert mode change back to 644 | Alan Hourihane | 2008-05-02 | 3 | -0/+0 |
| | |||||
* | inline -> INLINE | Alan Hourihane | 2008-05-02 | 1 | -2/+2 |
| | |||||
* | Some changed for non-C99 compilers | Alan Hourihane | 2008-05-02 | 17 | -118/+94 |
| | |||||
* | gallium: Set sampler->min_lod instead of always reallocating pipe_textures. | Michel Dänzer | 2008-05-01 | 2 | -16/+3 |
| | |||||
* | mesa: squash harmless warning | Keith Whitwell | 2008-05-01 | 1 | -1/+1 |
| | |||||
* | Fix build problem with MSVC | Alan Hourihane | 2008-05-01 | 1 | -3/+7 |
| | |||||
* | gallium: remove old files | Brian Paul | 2008-04-30 | 2 | -143/+0 |
| | |||||
* | gallium: fix texture border removal bug | Brian Paul | 2008-04-30 | 1 | -0/+4 |
| | |||||
* | gallium: use the newer PIPE_FORMAT_x_UNORM format names | Brian Paul | 2008-04-30 | 2 | -18/+18 |
| | |||||
* | Add support for GL_REPLACE_EXT texture env mode. | Brian Paul | 2008-04-30 | 1 | -1/+6 |
| | | | | | | GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension. Found an old demo that actually uses it. The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately. | ||||
* | gallium: use new buffer wrapper functions in p_inlines.h | Brian Paul | 2008-04-30 | 10 | -89/+62 |
| | | | | This allows us to remove most of the direct references to winsys in the state tracker. | ||||
* | gallium: consolidate the bitmap->texel conversion code | Brian Paul | 2008-04-30 | 1 | -96/+67 |
| | |||||
* | gallium: create a new texture each time we init/flush the bitmap cache | Brian Paul | 2008-04-30 | 1 | -38/+42 |
| | |||||
* | gallium: simplify texture format selection | Brian Paul | 2008-04-30 | 2 | -40/+18 |
| | |||||
* | gallium: flush pipe before updating bitmap texture | Brian Paul | 2008-04-29 | 1 | -1/+5 |
| | | | | Fixes duplicated text bug in progs/tests/texwrap.c | ||||
* | gallium: added some assertions to st_render_texture() to check surface format | Brian Paul | 2008-04-29 | 1 | -0/+2 |
| | | | | Make sure we can really render to the texture surface given its format. | ||||
* | gallium: fix broken GL_DEPTH_COMPONENT case in fallback_copy_texsubimage() | Brian Paul | 2008-04-29 | 1 | -19/+40 |
| | | | | Also, make sure surfaces are suitable for blitting before calling util_blit_pixels(). | ||||
* | mesa: added _mesa_scale_and_bias_depth_uint() | Brian Paul | 2008-04-29 | 2 | -0/+18 |
| | |||||
* | gallium: set border color | Roland Scheidegger | 2008-04-29 | 1 | -0/+5 |
| | |||||
* | gallium: fix incorrect level param in copy_image_data_to_texture() | Brian Paul | 2008-04-28 | 1 | -1/+1 |
| | | | | | This fixes a weird conform test failure that depended on something that happened several tests earlier. This took waaaaaay too long to find/fix. | ||||
* | 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: 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 |
| | |||||
* | gallium: Use util_blit_pixels() for glCopyTexSubImage when appropriate. | Michel Dänzer | 2008-04-25 | 1 | -14/+23 |
| | |||||
* | gallium: Tell the driver the texture is updated when we finish rendering to it. | Michel Dänzer | 2008-04-25 | 1 | -0/+4 |
| | |||||
* | gallium: fix an edgeflags crash | Brian Paul | 2008-04-24 | 1 | -1/+5 |
| | |||||
* | gallium: initial edgeflags code | Brian Paul | 2008-04-24 | 1 | -1/+59 |
| |