Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-12 | mesa: use new ST_CALLOC_STRUCT() macro in gallium state tracker | Brian Paul | |
2009-02-10 | mesa: Compare formats using nominal bytes per pixel. | José Fonseca | |
This is a temporary fix which works for the formats we care so far. The real fix would be abandon the concept "nominal bytes per pixel" entirely in Mesa, and use macropixels instead, as done in gallium interfaces already. | |||
2008-10-17 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | |
Conflicts: progs/trivial/tri.c | |||
2008-10-17 | gallium: fix mis-matched malloc/free vs. aligned malloc/free | Brian Paul | |
Use aligned malloc/free for teximage data everywhere to be consistant. The mismatch didn't make any difference when HAVE_POSIX_MEMALIGN was defined. | |||
2008-10-10 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | |
Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c | |||
2008-10-06 | mesa: fix convolve/convolution mix-ups | Brian | |
2008-09-26 | mesa: remove const qualifiers to match device driver interface function | Brian Paul | |
2008-09-18 | gallium: if we run out of memory in st_TexImage, flush and try again. | Brian Paul | |
If the driver buffers a scene flushing should release old textures and make space for new ones. Fixes problem with texdown.c test. | |||
2008-09-17 | gallium: need to finish, not flush, in st_copy_texsubimage() | Brian Paul | |
2008-09-16 | gallium: fix glTexImage(width=height=depth=0) case | Brian Paul | |
Free old teximage/level data, then stop. | |||
2008-09-01 | gallium: move st_texture_image() cast wrapper to header file | Brian Paul | |
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-08-18 | gallium: fix do_flip bug on glCopyTexImage / surface_copy() path | Brian Paul | |
2008-08-14 | gallium: init default texture image to gray | Brian Paul | |
2008-08-14 | gallium: use a default texture in update_textures(), update_samplers() when ↵ | Brian Paul | |
needed The default texture is used when the current fragment shader has texture sample instructions but the user has not provided/bound a texture. | |||
2008-08-13 | gallium: in fallback_copy_texsubimage() create new tex surface for CPU read ↵ | Brian Paul | |
access Was trying to use the strb->surface but it's made for GPU read/write only. | |||
2008-08-08 | gallium: fix additional glCopyTex[Sub]Image issues | Brian Paul | |
Use the TexFormat->StoreImage() routine for fallbacks. This handles the case of copying RGBA framebuffer data into an RGBA texture when the base format is GL_RGB (or GL_LUMINANCE, etc). In that case, we need to set the texture's alpha=1 and override the framebuffer's alpha. | |||
2008-08-07 | gallium: clean-up, remove dead code, update comments | Brian Paul | |
2008-08-07 | gallium: fix a few bugs on the fallback CopyTex[Sub]Image() path. | Brian Paul | |
2008-07-19 | gallium: Finer grained is_format_supported. | José Fonseca | |
2008-07-15 | st: Silence compiler warnings on Windows. | Michal Krol | |
2008-07-13 | util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions. | José Fonseca | |
You don't need a pipe_context * for this, and all other necessary info is already inside pipe_surface. | |||
2008-06-27 | gallium: Drop pipe_texture->cpp and pipe_surface->cpp. | José Fonseca | |
The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block. | |||
2008-06-23 | gallium: added support for fixed-point formats, drawing | Brian Paul | |
2008-06-23 | gallium: fix-up inverted do_copy_texsubimage() | Brian Paul | |
The logic/arithmetic for inverting the src image is a bit simpler now. | |||
2008-06-23 | gallium: remove dead/prototype code | Brian Paul | |
2008-06-12 | gallium: add some #if FEATURE_x tests | Brian Paul | |
2008-06-12 | gallium: test for FEATURE_convolution | Brian Paul | |
2008-05-18 | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Brian Paul | |
2008-05-16 | gallium: ref counting clean-ups | Brian Paul | |
2008-05-09 | gallium: depth textures have usage depth_stencil instead of render_target | Roland Scheidegger | |
2008-05-08 | gallium: fix out of tex memory crashes | Brian Paul | |
2008-05-07 | gallium: fix some render to texture bugs | Brian Paul | |
Before, we were sometimes rendering into a stale texture because st_finalize_texture() would discard the old texture and create a new one. Moved st_update_framebuffer atom after texture validation so that we can create a new renderbuffer surface if the texture changes. Also, split texture validation into two parts: finalize_textures and update_textures. Do finalize_textures first to avoid getting into the situtation where we're doing a pipe->surface_copy() mid-way through state validation. Some debug code still in place, but disabled... | |||
2008-05-07 | Revert "gallium: move setup of dest_surface in do_copy_texsubimage()" | Michel Dänzer | |
This reverts commit f7dbd18371f9cb6686b6a97642b3ca5577e83472. Looks like an accidental revert of commit 650c57f19398800dfdcf357b6e9ec7b68bfa34f1. | |||
2008-05-06 | gallium: re-enable temporarily disabled code in do_copy_texsubimage() | Brian Paul | |
2008-05-06 | gallium: create drawing surfaces as GPU_READ/WRITE only | Brian Paul | |
Create different temporary surfaces for CPU_READ/WRITE when needed (such as for glReadPixels, glAccum, some glCopy/DrawPixels, glCopyTexSubImage, etc). | |||
2008-05-06 | gallium: move setup of dest_surface in do_copy_texsubimage() | Michal Danzer | |
2008-05-06 | gallium: change calculate_first_last_level() to match gallium-tex-surfaces ↵ | Brian Paul | |
branch | |||
2008-05-06 | gallium: sync up texture/sampler changes with master | Brian Paul | |
2008-05-06 | gallium: Make sure to release texture surfaces (at the right time). | Michel Dänzer | |
2008-05-06 | gallium: glCopyTexSubImage improvement. | Michel Dänzer | |
Only get a texture surface for attempting an accelerated copy, and mark it for GPU use only. | |||
2008-05-06 | Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | |
Conflicts: src/mesa/state_tracker/st_atom_sampler.c src/mesa/state_tracker/st_cb_texture.c | |||
2008-05-03 | gallium: fix some BaseLevel, lastLevel bugs | Brian Paul | |
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 | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | |
2008-05-01 | gallium: Set sampler->min_lod instead of always reallocating pipe_textures. | Michel Dänzer | |
2008-05-01 | gallium: tex surface checkpoint | Keith Whitwell | |