summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
Commit message (Collapse)AuthorAgeFilesLines
* gallium/util: quieten compilerKeith Whitwell2009-12-241-1/+1
|
* util: Define common dynamic library extensions.José Fonseca2009-12-231-0/+12
|
* Merge branch 'i965g-restart'Keith Whitwell2009-12-224-0/+44
|\ | | | | | | | | Conflicts: configure.ac
| * i965g: fixes to build after merge of masterKeith Whitwell2009-12-211-1/+1
| |
| * Merge commit 'origin/master' into i965g-restartKeith Whitwell2009-12-2116-384/+209
| |\ | | | | | | | | | | | | | | | | | | Conflicts: SConstruct configs/default configs/linux-dri
| * | i965g: more work on compilationKeith Whitwell2009-10-311-0/+13
| | |
| * | i965g: more work on compiling, particularly the brw_draw filesKeith Whitwell2009-10-253-0/+31
| | |
* | | util: draw cube mipmaps with TEX CUBEChristoph Bumiller2009-12-211-4/+7
| | |
* | | util: util_format_get_blocksizebits() returns bits per block.Christoph Bumiller2009-12-201-3/+3
| | |
* | | util: Add util_format_has_alpha(), enclose in extern C.Michal Krol2009-12-181-0/+49
| | |
* | | util/pack: Handle the remaining formats with generic u_format access functions.Michal Krol2009-12-181-12/+26
| | |
* | | util: Update blitter for u_format changes.Corbin Simpson2009-12-181-1/+2
| | | | | | | | | | | | :T
* | | Move the remaining format pf_get_* functions to u_format.h.Michal Krol2009-12-176-28/+108
| | | | | | | | | | | | | | | Previously they depended on format blocks, but after removing those they started depending on format encoding.
* | | util: Remove util_format_get_block().Michal Krol2009-12-171-23/+0
| | |
* | | Merge branch 'master' into pipe-format-simplifyMichal Krol2009-12-1724-223/+1587
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/auxiliary/draw/draw_pipe_pstipple.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/cell/ppu/cell_texture.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_tile_cache.c src/gallium/drivers/svga/svga_state_vs.c src/gallium/include/pipe/p_format.h src/gallium/state_trackers/dri/dri_drawable.c src/gallium/state_trackers/egl/egl_surface.c src/gallium/state_trackers/python/p_device.i src/gallium/state_trackers/python/st_softpipe_winsys.c src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/image.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/vg_tracker.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_buffer.c src/gallium/winsys/egl_xlib/sw_winsys.c src/gallium/winsys/g3dvl/xlib/xsp_winsys.c src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c src/gallium/winsys/gdi/gdi_softpipe_winsys.c src/gallium/winsys/xlib/xlib_cell.c src/gallium/winsys/xlib/xlib_llvmpipe.c src/gallium/winsys/xlib/xlib_softpipe.c src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_texture.c
| * | | util/blitter: kill the draw_quad callbackMarek Olšák2009-12-152-25/+6
| | | |
| * | | util/blitter: allocate most of the state objects on-demandMarek Olšák2009-12-151-75/+179
| | | |
| * | | util/blitter: use PIPE_MAX_* limits, and fix a memory leakMarek Olšák2009-12-151-13/+27
| | | |
| * | | util: add blitterMarek Olšák2009-12-154-0/+851
| | | |
| * | | util: add a function which converts 2D coordinates to cubemap coordinatesMarek Olšák2009-12-155-52/+161
| | | | | | | | | | | | | | | | The code was taken over from u_gen_mipmap.
| * | | util: add new fragment shaders to simple_shadersMarek Olšák2009-12-154-12/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New shaders: * Fragment shader which writes depth sampled from a texture * Fragment shader which copies COLOR[0] to multiple render targets Additional improvements: * The fragment 'tex' shaders now take a sampler type (TGSI_TEXTURE_*) so that they can sample from any type of texture, not only from a 2D one.
| * | | util: Fix unity value for swizzle 1.José Fonseca2009-12-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | It should be 255 for ubytes, and not 1. Thanks Michal for spotting this.
| * | | util: Add dl wrappers.José Fonseca2009-12-154-0/+142
| | | | | | | | | | | | | | | | Borrowed from Mesa, slightly changed for more type safety.
| * | | util: Document the meaning of util_format_layout.José Fonseca2009-12-091-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The util_format_layout name was unfortunate and there are as been a lot of confusion due to this. Hopefully this will shed some light on what it was meant for. Bottom line is: do not rely on these values unless you're automatically code generating pixel packing/unpacking routines. Suggestions for better names than util_format_layout are welcome!
| * | | Merge branch 'gallium-strict-aliasing'Roland Scheidegger2009-12-082-86/+69
| |\ \ \
| | * | | gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safeRoland Scheidegger2009-12-072-86/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use pointer to union instead of void pointer. gcc complained a lot, depending what the pointer originally actually was. Looks like it's in fact maybe legal to cast for instance uint pointers to union pointers as long as union contains a uint type, hence use this with some callers, other just use union util_color in the first place.
| * | | | util/tile: Support R8G8B8A8_UNORM format.Michal Krol2009-12-071-3/+53
| | | | |
| * | | | Merge branch 'gallium-noblocks'Roland Scheidegger2009-12-0410-61/+88
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
| | * | | | gallium: interface cleanups, remove nblocksx/y from pipe_texture and moreRoland Scheidegger2009-11-3010-61/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes nblocksx, nblocksy arrays from pipe_texture (can be recalculated if needed). Furthermore, pipe_format_block struct is gone completely (again, contains just derived state). nblocksx, nblocksy, block are also removed from pipe_transfer, together with the format enum (can be obtained from the texture associated with the transfer).
| * | | | | util: Fix generated swizzle comments.José Fonseca2009-12-031-10/+9
| | |/ / / | |/| | |
* | | | | util/format: Fix bogus assertion.Michal Krol2009-12-171-1/+1
| | | | |
* | | | | Revert "Simplify the redundant meaning of format layout."Michal Krol2009-12-092-9/+8
| | | | | | | | | | | | | | | | | | | | This reverts commit eb926ddf9eee1095c7fc12013f0b8375bbaeca6f.
* | | | | Simplify the redundant meaning of format layout.Michal Krol2009-12-082-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | We really just need to know whether the format is compressed or not. For more detailed information format colorspace should suffice.
* | | | | util/format: Take advantage of sequential nature of pipe_format enum.Michal Krol2009-12-083-21/+20
| | | | | | | | | | | | | | | | | | | | Make sure the format descriptor table can be indexed directly.
* | | | | util/format: Remove unreferenced local.Michal Krol2009-12-081-1/+0
| | | | |
* | | | | Remove remaining pipe format utility functions.Michal Krol2009-12-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2(). Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values: UNKNOWN = TYPE_VOID UNORM = TYPE_UNSIGNED + LAYOUT_ARITH SNORM = TYPE_SIGNED + LAYOUT_ARITH FIXED = TYPE_FIXED FLOAT = TYPE_FLOAT USCALED = TYPE_UNSIGNED + LAYOUT_ARRAY SSCALED = TYPE_SIGNED + LAYOUT_ARRAY SRGB = TYPE_COLORSPACE_SRGB
* | | | | Move pf_get_component_bits() to u_format auxiliary module.Michal Krol2009-12-031-0/+44
| | | | |
* | | | | Move pf_get_bits/size() to u_format auxiliary module.Michal Krol2009-12-032-2/+32
| | | | |
* | | | | Move pf_get_block() to u_format auxiliary module.Michal Krol2009-12-033-3/+29
| | | | |
* | | | | Move pf_is_depth_and_stencil() to u_format auxiliary module.Michal Krol2009-12-031-0/+18
| | | | |
* | | | | Move pf_is_depth_stencil() to u_format auxiliary module.Michal Krol2009-12-031-0/+13
| | | | |
* | | | | Move pf_is_compressed() to u_format auxiliary module.Michal Krol2009-12-031-0/+22
|/ / / /
* | | / gallium/util: __builtin_bswap32() is in only gcc 4.3 or laterBrian Paul2009-12-021-1/+1
| |_|/ |/| |
* | | Merge commit 'origin/mesa_7_7_branch'Keith Whitwell2009-12-011-0/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/svga/svga_screen_texture.c src/gallium/state_trackers/xorg/xorg_composite.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/main/texgetimage.c src/mesa/main/version.h
| * | | util: also print out memory statisticsZack Rusin2009-11-251-0/+7
| | | |
* | | | util: Fix bad code.Corbin Simpson2009-11-281-1/+1
| | | | | | | | | | | | | | | | Uf. How embarrassing.
* | | | util: Improve bitcount.Corbin Simpson2009-11-281-4/+8
| | | | | | | | | | | | | | | | Sorry for not pushing this before, it got lost in stashes.
* | | | gallium/util: added util_bswap32()Christoph Bumiller2009-11-271-0/+17
| |/ / |/| |
* | | Merge branch 'width0'Roland Scheidegger2009-11-274-34/+35
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
| * | | gallium: fix more statetrackers/drivers for not using texture ↵Roland Scheidegger2009-11-261-4/+4
| | | | | | | | | | | | | | | | width/height/depth arrays