summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util
AgeCommit message (Collapse)Author
2010-03-10gallium: pipe_get_tile_swizzle() accepts format parameter.Michal Krol
Enables casting of texture data.
2010-03-10Merge branch 'master' into gallium-sampler-viewMichal Krol
Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript src/gallium/auxiliary/tgsi/tgsi_exec.c src/gallium/auxiliary/util/u_blitter.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_context.h src/gallium/drivers/llvmpipe/lp_context.h src/gallium/drivers/nv50/nv50_context.h src/gallium/drivers/nv50/nv50_state_validate.c src/gallium/drivers/nv50/nv50_tex.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state.c src/gallium/drivers/softpipe/sp_context.h src/gallium/drivers/svga/svga_context.h src/gallium/drivers/svga/svga_pipe_sampler.c
2010-03-09util: simplify util_format_get_nr_components helperRoland Scheidegger
since the number of components is now stored in the pipe format description, we obviously no longer need to figure this out ourselves.
2010-03-09util: Use bitshift arithmetic for pack too.José Fonseca
2010-03-09Merge branch 'gallium-vertexelementcso'Roland Scheidegger
Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_draw_upload.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state_derived.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_clear.c
2010-03-09Squashed commit of gallium-no-texture-blanketKeith Whitwell
commit f90b3f01af82b9522067b1824e21709a6fb2d3af Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:39:44 2010 +0000 gallium: remove p_screen::surface_buffer_create This isn't very useful without texture_blanket(), which has also been removed. Note that this function hasn't been removed from the old pipe_winsys (u_simple_screen) still used internally by some drivers (eg softpipe). commit 6c462de39a4b9980a5f034a95e580efdfcb8173b Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:27:40 2010 +0000 egl/x11: disable texture_blanket usage commit b42da9160df9f47224e5b3291b972f41767aa6e5 Merge: 4be2436 3ca9336 Author: Keith Whitwell <keithw@vmware.com> Date: Mon Mar 8 14:27:24 2010 +0000 Merge commit 'origin/master' into gallium-no-texture-blanket Conflicts: src/gallium/drivers/svga/svga_screen_texture.c commit 4be2436316929e3dfc55bc34d810920c06556b66 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 4 14:59:26 2010 +0000 gallium: remove texture blanket call No longer needed, except for nouveau and egl/xll/native_ximage.c. Fix for nouveau is to keep the call, but move it to an internal function within nouveau. Fix for that egl/x11 relies on gallium-sw-api branch or its successor. commit 69b6764330367d63c237d0bde9fb96435d0e0257 Author: Keith Whitwell <keithw@vmware.com> Date: Thu Mar 4 13:35:16 2010 +0000 drm_api: wrap comment
2010-03-06util: Use bitshift arithmetic to unpack pixels.José Fonseca
All test cases pass now.
2010-03-06util: Move the format tests cases here so that they can be easily shared.José Fonseca
2010-03-06util: Several fixes to clamping and test.José Fonseca
All tests pass here except util_format_b5g5r5a1_unorm_unpack_4ub, due to apparently a gcc 4.4.3 bug.
2010-03-06util: Fix the maximum value computation for SSCALED channels.José Fonseca
2010-03-06util: Add a new flag, for formats that can be described as a bitmask.José Fonseca
2010-03-06util: Add the shortened format name to the description.José Fonseca
2010-03-03util: Remove PIPE_FORMAT_R8G8B8X8_SNORM information.José Fonseca
2010-03-02Merge branch 'gallium-format-cleanup'José Fonseca
2010-03-02Merge branch 'gallium-no-rhw-position'Michal Krol
Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c
2010-03-02util: Tweak comment for D3D10-like formats.José Fonseca
2010-03-02util: Add pipe_get_tile_swizzle().Michal Krol
2010-03-02util/blitter: Fix the viewport transformation for Z coordinatesMarek Olšák
When clearing buffers, the depth is specified in the range [0, 1] and should be passed through blitter "as is".
2010-03-01util: Rename pipe formats.José Fonseca
2010-03-01util: Remove PIPE_FORMAT_A8B8G8R8_SNORM.José Fonseca
2010-03-01util: Generate linear<->sRGB conversion tables.Michal Krol
2010-03-01util: adapt blitter code to new vertex element csoRoland Scheidegger
The interface of util_draw_vertex_buffer looks a bit odd (calling code has to set vertex elements but not vertex buffers) but due to the way cso state handling generally works (can't re-bind original vertex element state easily there) I guess that's ok for now.
2010-03-01util: Fix PIPE_FORMAT_R8G8B8_SRGB swizzles.José Fonseca
The only user of PIPE_FORMAT_R8G8B8_SRGB is mesa, which per src/mesa/main/texstore.c interprets it as R8 G8 B8 and not the other way around.
2010-03-01util: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.José Fonseca
2010-03-01util: Fix PIPE_FORMAT_R8G8B8_UNORM description and notes.José Fonseca
There is actually no ambiguity in use -- it is always used as R8 G8 B8
2010-03-01util: Fix u_blitter setup code after bypass_vs_clip_and_viewport removal.Michal Krol
Not tested.
2010-03-01util: Remove inexisting formats.José Fonseca
Can't find these formats used in any state tracker or any API. For some of these probably the reverse notation was meant, for which formats already exist.
2010-03-01util: A few more links for D3D formats.José Fonseca
2010-03-01util: A few more todo marks.José Fonseca
2010-03-01util: More documentation for u_format.csvJosé Fonseca
2010-03-01util: Tweak comments regarding R8G8B8A8/X8_UNORM.José Fonseca
2010-03-01python: Don't mention deprecated drivers=trace option.José Fonseca
Now trace always built.
2010-02-27util: Fix X8/A8B8G8R8_SNORM's swizzle.José Fonseca
2010-02-26util: Define SRGB's channels as normalized.José Fonseca
A better approximation than uscaled...
2010-02-26util: Code generate functions to pack and unpack a single pixel.José Fonseca
Should work correctly for all pixel formats except SRGB formats. Generated code made much simpler by defining the pixel format as a C structure. For example this is the generated structure for PIPE_FORMAT_B6UG5SR5S_NORM: union util_format_b6ug5sr5s_norm { uint16_t value; struct { int r:5; int g:5; unsigned b:6; } chan; }; Not used everywhere yet because it seems compiled code is slower than bitshift arithmetic by some misterious reason. So we should generate bitshift arithmetic at least for the simple UNORM pixel formats.
2010-02-26util: Factor some code into u_format_parse.pyJosé Fonseca
2010-02-26util: Add util_bswap16.José Fonseca
2010-02-26util: Use python names consistent with u_format.hJosé Fonseca
2010-02-26util: Add is_pot() method to formats.José Fonseca
2010-02-25util: remove a trailing semicolon in format table codeBrian Paul
2010-02-25util: Remove import of unused sys module.Vinson Lee
2010-02-25gallium/util: rewrap comment to fit in 80 columnsBrian Paul
2010-02-25util: Assert that pointer is not null before dereferencing.Vinson Lee
2010-02-25util: Fix blitter vertex and viewport setup.Michal Krol
2010-02-24util: Kill array vs arith layouts. Revamp UTIL_FORMAT_LAYOUT_xxx.José Fonseca
Too confusing. I now can get the same information through other means.
2010-02-24util: Refactor some code.José Fonseca
2010-02-24util: Cope with the fact that formats in u_format.csv are not ordered.José Fonseca
2010-02-24util: Factor out the code to shorten a format name.José Fonseca
2010-02-24util: Handle correctly 24bit formats.José Fonseca
2010-02-24util: Minor tweaks to ambigous/unused format descriptions.José Fonseca