summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util
AgeCommit message (Collapse)Author
2011-03-16android: Fix build with bionic.Chia-I Wu
2011-03-15gallium/util: Use PIPE_TRANSFER_DISCARD_RANGE in pipe_buffer_write.Mathias Fröhlich
Additionally, to discarding the whole buffer, use PIPE_TRANSFER_DISCARD_RANGE in pipe_buffer_write when the write covers only part of the buffer. Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
2011-03-13util: Silence gcc unitialized member warningJosé Fonseca
2011-03-12gallium: Delay the creation of simple helper shadersJakob Bornecrantz
2011-03-12u_blitter: Do blits in linear color space.Henri Verbeet
Blits between sRGB and linear formats should happen in linear color space. This fixes piglit fbo/fbo-srgb-blit.
2011-03-11gallium: remove the geom_flags param from is_format_supportedMarek Olšák
2011-03-11gallium: kill is_resource_referencedMarek Olšák
Only st/xorg used it and even incorrectly with regards to pipelined transfers.
2011-03-11util: Fix typo in u_upload_flush().José Fonseca
upload->offset is how much we used. upload->size is the whole buffer size.
2011-03-11st/mesa: remove unnecessary flushesMarek Olšák
The framebuffer cache flush should be implicit when calling set_framebuffer_state. There is no need to flush the command stream either.
2011-03-10gallium/util: new polygon stipple utility helperBrian Paul
The polygon stipple fallback does not have to be implemented in the draw module (it doesn't need window coords, etc). Drivers can use this utility and avoid sw vertex fallbacks if pstipple is enabled. Note: this is WIP and not used by any driver yet.
2011-03-09util: Use PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE in pipe_buffer_write.José Fonseca
2011-03-09util: add ensure_sanity checks, fix a bugKeith Whitwell
Add ensure_sanity checks. Fix a bug which caused us to misplace entries adding to a full cache.
2011-03-09util: improve cache collision behaviourKeith Whitwell
Add linear probing on collisions. Expand entry array by a fixed scale (currently 2) to help avoid collisions. Use a LRU approach to ensure that the number of entries stored in the cache doesn't exceed the requested size.
2011-03-09util: Add remove to util_cacheAlex Corscadden
I need to be able to remove entries from util_cache caches. This change enables that functionality.
2011-03-09util: Allow util_draw_texquad to draw quads with non-integer coordinates.Alex Corscadden
2011-03-08gallium: add timeout parameter to fence_finishMarek Olšák
This is a follow-up to the ARB_sync patch for st/mesa and completes the ARB_sync implementation.
2011-03-08gallium/util: add LATC supportMarek Olšák
Again, a lot of code is shared with RGTC. The layout is UTIL_FORMAT_LAYOUT_RGTC, because LATC is just swizzled RGTC.
2011-03-02gallium: add RGTC UNORM support to u_format.Dave Airlie
SNORM needs a bit of work in the state tracker in order for mipmap generation to work I believe. I'm also not sure that having unorm fetches for an snorm format is sane.
2011-03-01u_vbuf_mgr: compute user buffer size for instance data from instance_countMarek Olšák
2011-02-28st/mesa & v_bug_mgr: two small instanced drawing fixesChristian König
2011-02-26util: Don't destroy shaders null shadersJakob Bornecrantz
Fixes regression from a08e612fd8e7ca2ac2fef8961e56e5b094033717
2011-02-26util: Don't create array texture shaders if the driver doesn't support itJakob Bornecrantz
2011-02-25gallium/util: add 1d/2d mipmap generation supportDave Airlie
so far only hw mipmap generation is testing on softpipe, passes test added to piglit. this requires another patch to mesa to let array textures mipmaps even start to happen.
2011-02-24gallium/utils: Fix vertex element setupFabian Bieler
Check if element was translated per element instead of per buffer.
2011-02-18util: Make refcnt and symbol debuggers work on windowsJakob Bornecrantz
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2011-02-18u_vbuf_mgr: initialize flag indicating that buffers have been updatedMarek Olšák
This fixes r300g errors: r300: Cannot get a relocation in radeon_drm_cs_write_reloc.
2011-02-17util: Fix typo in last commit.José Fonseca
2011-02-17util: Cleanup symbol name resolution on Windows.José Fonseca
- Support symbol name resolution on MinGW. - Use dbghelp.dll (which should allow 64bit support), but untested yet. - Cleanup.
2011-02-16gallium/util: init key with memset()Brian Paul
To silence missing initializers warning.
2011-02-16Revert "util: fix DXT1 RGBA texture compression if the source color is (0, ↵Dave Airlie
0, 0, 0)" This reverts commit 6e7d782da506da233b2ac695b022ac393e1c719e. Oops, I just had this locally for testing and forgot to remove it before pushing.
2011-02-16util: fix DXT1 RGBA texture compression if the source color is (0, 0, 0, 0)Marek Olšák
This is a workaround for a bug in libtxc_dxtn. Fixes: - piglit/GL_EXT_texture_compression_s3tc/fbo-generatemipmap-formats Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-15gallium: add usage parameter to pipe_buffer_createMarek Olšák
And set a reasonable buffer usage flag everywhere instead of just PIPE_USAGE_DEFAULT.
2011-02-14gallium: notify drivers about possible changes in user buffer contentsMarek Olšák
Also implement the redefine_user_buffer hook in the drivers.
2011-02-14gallium: remove pipe_vertex_buffer::max_indexMarek Olšák
This is redundant to pipe_draw_info::max_index and doesn't really fit in the optimizations I plan.
2011-02-14gallium: always save and restore vertex buffers using cso_cacheMarek Olšák
2011-02-14u_index_modify: map buffers with PIPE_TRANSFER_UNSYNCHRONIZEDMarek Olšák
2011-02-12u_vbuf_mgr: fix segfaultMarek Olšák
max_index could have been less than min_index, which later caused integer underflow followed by a segfault in memcpy.
2011-02-11util: Define round and roundf on MSVC.José Fonseca
2011-02-10u_upload_mgr: Use PIPE_TRANSFER_FLUSH_EXPLICIT.José Fonseca
This can avoid DMAing the whole buffer when just a fraction was changed.
2011-02-10u_blitter: let the driver check whether there's a recursionMarek Olšák
2011-02-08u_vbuf_mgr: add a way to specify the BIND flag for the upload bufferMarek Olšák
2011-02-08u_vbuf_mgr: remove tabsMarek Olšák
2011-02-08u_vbuf_mgr: make the uploader publicMarek Olšák
2011-02-07util: import a new vertex buffer managerMarek Olšák
This code has originally matured in r300g and was ported to r600g several times. It was obvious it's a code duplication. See also comments in the header file.
2011-02-03util: Change u_get_transfer_vtbl usage argument type to match prototype.Vinson Lee
The type of u_get_transfer_vtbl of the usage argument in u_transfer.h is unsigned and not enum pipe_transfer_usage. This patch changes the type of usage to unsigned to match the prototype in the header file.
2011-02-03util: Prevent transfer dangling pointer on map failure.José Fonseca
2011-01-30util: Call tables should be const.Henri Verbeet
2011-01-29u_blitter: use user buffers instead of real buffersMarek Olšák
User buffers may be the fastest way to upload data.
2011-01-28util: Fix leak of transfers in upload managerJakob Bornecrantz
2011-01-27util: fix parsing debug optionsMarek Olšák
So that 'foo' can be found in: OPTION=prefixfoosuffix,foo Also allow that debug options can be separated by a non-alphanumeric characters instead of just commas.