summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2008-05-20gallium: fix mem leaksBrian Paul
2008-05-20gallium: clean-up glDraw/CopyPixels shaders when destroying contextBrian Paul
2008-05-19gallium: remove dead codeBrian Paul
2008-05-19fix program delete/refcount bugBrian Paul
cherry-picked from gallium-tex-surfaces
2008-05-17s/PIPE_FORMAT_U_S8/PIPE_FORMAT_S8_UNORM/Brian Paul
2008-05-16gallium: release textures during context tear-down (fix mem leak)Brian Paul
2008-05-16gallium: ref counting clean-upsBrian Paul
2008-05-06gallium: implement full reference counting for vertex/fragment programsBrian
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...
2008-05-06gallium: change calculate_first_last_level() to match gallium-tex-surfaces ↵Brian Paul
branch
2008-05-05declare atoms as externAlan Hourihane
2008-05-03gallium: fix warningsBrian Paul
2008-05-03gallium: fix sampler->max_lod computationBrian Paul
2008-05-03gallium: fix computation of sampler->min_lodBrian Paul
The texture BaseLevel is accounted for in texture layout so it doesn't factor in here. May also need to adjust max_lod...
2008-05-02gallium: minor code, comments clean-upBrian Paul
2008-05-02gallium: in st_finalize_texture() check texture dimensionsBrian Paul
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.
2008-05-02gallium: Reallocate pipe_texture in st_TexImage if the texture object was used.Michel Dänzer
Fixes problems with interleaved glTexImage and rendering calls.
2008-05-02snprintf -> util_snprintfAlan Hourihane
2008-05-02revert mode change back to 644Alan Hourihane
2008-05-02inline -> INLINEAlan Hourihane
2008-05-02Some changed for non-C99 compilersAlan Hourihane
2008-05-01gallium: Set sampler->min_lod instead of always reallocating pipe_textures.Michel Dänzer
2008-05-01mesa: squash harmless warningKeith Whitwell
2008-04-30gallium: remove old filesBrian Paul
2008-04-30gallium: fix texture border removal bugBrian Paul
2008-04-30gallium: use the newer PIPE_FORMAT_x_UNORM format namesBrian Paul
2008-04-30gallium: use new buffer wrapper functions in p_inlines.hBrian Paul
This allows us to remove most of the direct references to winsys in the state tracker.
2008-04-30gallium: consolidate the bitmap->texel conversion codeBrian Paul
2008-04-30gallium: create a new texture each time we init/flush the bitmap cacheBrian Paul
2008-04-30gallium: simplify texture format selectionBrian Paul
2008-04-29gallium: flush pipe before updating bitmap textureBrian Paul
Fixes duplicated text bug in progs/tests/texwrap.c
2008-04-29gallium: added some assertions to st_render_texture() to check surface formatBrian Paul
Make sure we can really render to the texture surface given its format.
2008-04-29gallium: fix broken GL_DEPTH_COMPONENT case in fallback_copy_texsubimage()Brian Paul
Also, make sure surfaces are suitable for blitting before calling util_blit_pixels().
2008-04-29gallium: set border colorRoland Scheidegger
2008-04-28gallium: fix incorrect level param in copy_image_data_to_texture()Brian Paul
This fixes a weird conform test failure that depended on something that happened several tests earlier. This took waaaaaay too long to find/fix.
2008-04-28gallium: check for PIPE_FORMAT_X8Z24_UNORM formatBrian Paul
2008-04-28gallium: replace some code with a call to st_choose_format()Brian Paul
2008-04-28gallium: return enum pipe_format, not uint, for a few functionsBrian Paul
2008-04-25gallium: remove unneeded st->bitmap_texcoord_biasBrian Paul
2008-04-25gallium: use simple color pass-through fragment shader if textures don't existBrian Paul
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.
2008-04-25gallium: added null ptr checkBrian Paul
2008-04-25gallium: added a null ptr checkBrian Paul
2008-04-25gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/Brian Paul
2008-04-25gallium: consolidate quad drawing codeBrian Paul
2008-04-25gallium: remove unused st_draw_vertices()Brian Paul
2008-04-25gallium: use util_draw_vertex_buffer() instead of st_draw_vertices()Brian Paul
2008-04-25gallium: fix the compressed texture hack in st_texture_image_copy()Brian Paul
Actually, the hack is still there and needs to be revisited, but I get a bit further with compressed textures now.
2008-04-25gallium: Use util_blit_pixels() for glCopyTexSubImage when appropriate.Michel Dänzer
2008-04-25gallium: Tell the driver the texture is updated when we finish rendering to it.Michel Dänzer
2008-04-24gallium: fix an edgeflags crashBrian Paul
2008-04-24gallium: initial edgeflags codeBrian Paul