Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-03 | gallium: fix sampler->max_lod computation | Brian Paul | |
2008-05-03 | gallium: fix computation of sampler->min_lod | Brian 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-02 | gallium: set template.target = PIPE_TEXTURE_2D | Brian Paul | |
2008-05-02 | gallium: identify depth-stencil textures | Keith Whitwell | |
And don't use the display-target path to allocate them. | |||
2008-05-02 | gallium: minor code, comments clean-up | Brian Paul | |
2008-05-02 | gallium: in st_finalize_texture() check texture dimensions | Brian 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-02 | gallium: Add texture usage flags, special-case allocation of display targets | Keith Whitwell | |
For many envirionments it's necessary to allocate display targets in a window-system friendly manner. Add facilities so that a driver can tell if a texture is likely to be used to generate a display surface and if use special allocation paths if necessary. Hook up softpipe to call into the winsys->surface_alloc_storage() routine in this case, though we probably want to change that interface slightly also. | |||
2008-05-02 | gallium: 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-02 | snprintf -> util_snprintf | Alan Hourihane | |
2008-05-02 | gallium: remove usage of winsys->surface_alloc_storage from state tracker | Keith Whitwell | |
Allocate a texture containing storage instead. Also clean up ACCUM buffer allocation slightly -- drivers will need some changes to texture allocation logic to accomodate the concept of a texture that will only as image storage by the CPU, but it's cleaner than it was. | |||
2008-05-02 | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | |
2008-05-02 | revert mode change back to 644 | Alan Hourihane | |
2008-05-02 | inline -> INLINE | Alan Hourihane | |
2008-05-02 | Some changed for non-C99 compilers | Alan Hourihane | |
2008-05-01 | gallium: use screen->tex_surface_release() | Brian Paul | |
2008-05-01 | gallium: Set sampler->min_lod instead of always reallocating pipe_textures. | Michel Dänzer | |
2008-05-01 | mesa: squash harmless warning | Keith Whitwell | |
2008-05-01 | gallium: tex surface checkpoint | Keith Whitwell | |
2008-04-30 | gallium: remove old files | Brian Paul | |
2008-04-30 | gallium: fix texture border removal bug | Brian Paul | |
2008-04-30 | gallium: use the newer PIPE_FORMAT_x_UNORM format names | Brian Paul | |
2008-04-30 | gallium: use new buffer wrapper functions in p_inlines.h | Brian Paul | |
This allows us to remove most of the direct references to winsys in the state tracker. | |||
2008-04-30 | gallium: consolidate the bitmap->texel conversion code | Brian Paul | |
2008-04-30 | gallium: create a new texture each time we init/flush the bitmap cache | Brian Paul | |
2008-04-30 | gallium: simplify texture format selection | Brian Paul | |
2008-04-29 | gallium: flush pipe before updating bitmap texture | Brian Paul | |
Fixes duplicated text bug in progs/tests/texwrap.c | |||
2008-04-29 | gallium: added some assertions to st_render_texture() to check surface format | Brian Paul | |
Make sure we can really render to the texture surface given its format. | |||
2008-04-29 | gallium: 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-29 | gallium: set border color | Roland Scheidegger | |
2008-04-28 | gallium: 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-28 | gallium: check for PIPE_FORMAT_X8Z24_UNORM format | Brian Paul | |
2008-04-28 | gallium: replace some code with a call to st_choose_format() | Brian Paul | |
2008-04-28 | gallium: return enum pipe_format, not uint, for a few functions | Brian Paul | |
2008-04-25 | gallium: remove unneeded st->bitmap_texcoord_bias | Brian Paul | |
2008-04-25 | gallium: use simple color pass-through fragment shader if textures don't exist | Brian 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-25 | gallium: added null ptr check | Brian Paul | |
2008-04-25 | gallium: added a null ptr check | Brian Paul | |
2008-04-25 | gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/ | Brian Paul | |
2008-04-25 | gallium: consolidate quad drawing code | Brian Paul | |
2008-04-25 | gallium: remove unused st_draw_vertices() | Brian Paul | |
2008-04-25 | gallium: use util_draw_vertex_buffer() instead of st_draw_vertices() | Brian Paul | |
2008-04-25 | gallium: 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-25 | gallium: Use util_blit_pixels() for glCopyTexSubImage when appropriate. | Michel Dänzer | |
2008-04-25 | gallium: Tell the driver the texture is updated when we finish rendering to it. | Michel Dänzer | |
2008-04-24 | gallium: fix an edgeflags crash | Brian Paul | |
2008-04-24 | gallium: initial edgeflags code | Brian Paul | |
2008-04-24 | gallium: disable the bitmap/texcoord bias | Brian Paul | |
Doesn't seem to be needed after fixing the float->int conversion problem. | |||
2008-04-24 | gallium: use cso_destroy_vertex/fragment_shader() functions | Brian Paul | |
Also, rearrange the st_destroy_context() code a bit to prevent some invalid/NULL ptr derefs during tear-down. | |||
2008-04-24 | gallium: Initial support for pixel formats with unused storage components. | Michel Dänzer | |
Also clarify that RGB formats with no (used) alpha component are treated as having alpha = 1.0. | |||
2008-04-22 | gallium: fix some bitmap frag shader issues | Brian Paul | |
If texturing happens to be enabled when glBitmap() is called, need to be careful about choosing a sampler unit, etc. |