Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Propagate tex_usage flags down to winsys. | José Fonseca | 2008-05-07 | 6 | -6/+12 |
| | |||||
* | gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces. | José Fonseca | 2008-05-07 | 1 | -2/+3 |
| | |||||
* | gallium: re-enable temporarily disabled code in do_copy_texsubimage() | Brian Paul | 2008-05-06 | 1 | -1/+1 |
| | |||||
* | gallium: create drawing surfaces as GPU_READ/WRITE only | Brian Paul | 2008-05-06 | 6 | -49/+129 |
| | | | | | Create different temporary surfaces for CPU_READ/WRITE when needed (such as for glReadPixels, glAccum, some glCopy/DrawPixels, glCopyTexSubImage, etc). | ||||
* | gallium: create renderbuffer surface w/out CPU_READ/WRITE flags | Michal Danzer | 2008-05-06 | 1 | -2/+0 |
| | |||||
* | gallium: move setup of dest_surface in do_copy_texsubimage() | Michal Danzer | 2008-05-06 | 1 | -11/+10 |
| | |||||
* | gallium: Simple facility to dump and view images for debugging. | José Fonseca | 2008-05-07 | 2 | -0/+58 |
| | |||||
* | gallium: sync up texture/sampler changes with master | Brian Paul | 2008-05-06 | 2 | -12/+14 |
| | |||||
* | gallium: Make sure to release texture surfaces (at the right time). | Michel Dänzer | 2008-05-06 | 2 | -1/+4 |
| | |||||
* | gallium: glCopyTexSubImage improvement. | Michel Dänzer | 2008-05-06 | 1 | -10/+11 |
| | | | | | Only get a texture surface for attempting an accelerated copy, and mark it for GPU use only. | ||||
* | gallium: Define util_sprintf for non-WIN32. | Michel Dänzer | 2008-05-06 | 1 | -0/+1 |
| | |||||
* | Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | 2008-05-06 | 15 | -248/+257 |
|\ | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_atom_sampler.c src/mesa/state_tracker/st_cb_texture.c | ||||
| * | 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 | 2 | -2/+4 |
| | | |||||
| * | 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: remove 0.5 vertex biases in set_vertex_data() | Brian Paul | 2008-05-02 | 1 | -10/+10 |
| | | | | | | | | | | These should not be needed and were causing garbage to appear along the edges of the mipmap images. | ||||
| * | gallium: remove obsolete PIPE_CAP_BITMAP_TEXCOORD_BIAS | Brian Paul | 2008-05-02 | 1 | -1/+1 |
| | | |||||
| * | 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: new debug code (disabled) | Brian Paul | 2008-05-02 | 1 | -0/+14 |
| | | |||||
| * | gallium: fix typos, comments, whitespace | Brian Paul | 2008-05-02 | 1 | -6/+6 |
| | | |||||
| * | gallium: remove ^M (CR) chars | Brian Paul | 2008-05-02 | 1 | -23/+23 |
| | | |||||
| * | gallium: code movement (XSHM code) | Brian Paul | 2008-05-02 | 1 | -127/+125 |
| | | |||||
| * | gallium: comments, clean-ups | Brian Paul | 2008-05-02 | 1 | -1/+9 |
| | | |||||
| * | 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 |
| | | |||||
| * | tgsi: Enable fast high precision rsqrt. | Michal Krol | 2008-05-02 | 1 | -22/+0 |
| | | |||||
| * | tgsi: Implement fast rsqrtf. Not tested, inactive. | Keith Whitwell | 2008-05-02 | 3 | -19/+40 |
| | | |||||
* | | gallium: New pipe_screen interface to overlay a texture on existing memory. | José Fonseca | 2008-05-06 | 1 | -0/+12 |
| | | |||||
* | | util: Alternative implementation for standard c library string functions. | José Fonseca | 2008-05-05 | 1 | -0/+112 |
| | | |||||
* | | gallium: fix some BaseLevel, lastLevel bugs | Brian Paul | 2008-05-03 | 2 | -3/+7 |
| | | |||||
* | | gallium: add pipe surface layout value (Roland Scheidegger) | Keith Whitwell | 2008-05-03 | 2 | -0/+7 |
| | | |||||
* | | gallium: set template.target = PIPE_TEXTURE_2D | Brian Paul | 2008-05-02 | 1 | -0/+1 |
| | | |||||
* | | gallium: identify depth-stencil textures | Keith Whitwell | 2008-05-02 | 2 | -3/+16 |
| | | | | | | | | And don't use the display-target path to allocate them. | ||||
* | | brw: remove dead code | Keith Whitwell | 2008-05-02 | 1 | -8/+0 |
| | | |||||
* | | i915: update to new display target allocation | Keith Whitwell | 2008-05-02 | 1 | -16/+75 |
| | | |||||
* | | gallium: Add texture usage flags, special-case allocation of display targets | Keith Whitwell | 2008-05-02 | 10 | -53/+111 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | gallium: remove usage of winsys->surface_alloc_storage from state tracker | Keith Whitwell | 2008-05-02 | 2 | -76/+64 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | gallium: fix build after merge | Keith Whitwell | 2008-05-02 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Keith Whitwell | 2008-05-02 | 46 | -409/+413 |
|\| | |||||
| * | 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 |
| | | |||||
| * | tgsi: Do not assume IN and OUT registers are declared sequentially. | Michal Krol | 2008-05-02 | 1 | -8/+7 |
| | | |||||
| * | tgsi: Fix build on Win32. | Michal Krol | 2008-05-02 | 1 | -2/+2 |
| | | |||||
| * | tgsi: Dump destination register modulate modifier. | Michal Krol | 2008-05-02 | 1 | -0/+25 |
| | | |||||
| * | gallium: temporarily disable broken SSE2 code for ARL opcode | Brian | 2008-05-01 | 1 | -0/+5 |
| | | |||||
| * | gallium: implement TGSI_OPCODE_EXP | Brian | 2008-05-01 | 1 | -14/+15 |
| | |