summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* translate: Fix translate_key_compare().Michal Krol2009-12-291-2/+7
| | | | Sizes of translate keys must also match.
* util: Define common dynamic library extensions.José Fonseca2009-12-231-0/+12
|
* Merge branch 'gallium-edgeflags'Roland Scheidegger2009-12-2213-74/+85
|\ | | | | | | | | Conflicts: src/mesa/state_tracker/st_draw.c
| * gallium: store edgflag info in tgsi_shader_infoRoland Scheidegger2009-12-182-7/+12
| | | | | | | | provides easier access for drivers which may base fallback decision on this
| * gallium: edgeflags change fixesRoland Scheidegger2009-12-162-5/+9
| | | | | | | | | | | | use correct number of vertex inputs fix not running pipeline in case of edgeflags changes to mesa to tgsi translation still very broken
| * gallium: more work for edgeflags changesRoland Scheidegger2009-12-148-30/+15
| | | | | | | | | | fixes, cleanups, etc. not working yet
| * gallium: first steps to treat edgeflags as regular vertex elementKeith Whitwell2009-12-098-46/+63
| | | | | | | | | | | | | | | | | | | | The idea here is to eliminate the set_edgeflags() call in pipe_context by treating edgeflags as a regular vertex element. Edgeflags provoke special treatment in hardware, which means we need to label them in some way, in this case we'll be passing them through the vertex shader and labelling the vertex shader output with a new TGSI semantic (TGSI_SEMANTIC_EDGEFLAG).
* | tgsi: Implement BREAKC in interpreter.Michal Krol2009-12-221-0/+19
| |
* | 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
| | |
| * | i965g: remove half-finished change to tgsi_parseKeith Whitwell2009-12-211-3/+0
| | |
| * | Merge commit 'origin/master' into i965g-restartKeith Whitwell2009-12-2157-2966/+2525
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: SConstruct configs/default configs/linux-dri
| * | | i965g: more work on compilationKeith Whitwell2009-10-311-0/+13
| | | |
| * | | i965g: still working on compilationKeith Whitwell2009-10-261-0/+3
| | | |
| * | | 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-177-30/+110
| | | | | | | | | | | | | | | | | | | | 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-1750-249/+2095
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | tgsi/text: Don't use strncasecmp(), it breaks windows build.Michal Krol2009-12-151-2/+16
| | | | | | | | | | | | | | | | | | | | Also, break out of the for-loop when a matching property is found.
| * | | | tgsi: add properties and system value registerZack Rusin2009-12-1417-11/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adds support for properties to all parts of the tgsi framework, plus introduces a new register which will be used for system generated values.
| * | | | tgsi/ureg: Add ureg_DECL_gs_input().Michal Krol2009-12-142-2/+33
| | | | | | | | | | | | | | | | | | | | Allows one to declare GS input registers.
| * | | | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-111-0/+1
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c
| | * | | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-111-0/+1
| | |\ \ \
| | | * | | rbug: Initialize variable in rbug_get_message.Vinson Lee2009-12-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Silences uninitialized variable warning.
| | | * | | draw: Initialize variable in draw_pt.c.Vinson Lee2009-12-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit ea98e9820d7117f7a187f355445796b1ef5d9e0c)
| | | * | | gallium/util: Initialize variables in u_pack_color.h.Vinson Lee2009-12-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 36e2074b63e3e5bc489eb74cad0cd97eafcedb40)
| | | * | | draw: Fix memory leak.Vinson Lee2009-10-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | This would only be hit if we got and invalid index_size.
| * | | | | 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-085-89/+76
| |\ \ \ \ \
| | * | | | | 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.
| | * | | | | gallium: fix ref counting bug in pb_bufmgrJosé Fonseca2009-12-031-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This was discovered by the pipe_reference api change.
| | * | | | | gallium: fix reference counting functions to be strict-aliasing compliantRoland Scheidegger2009-12-033-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Historically, parts of mesa code are not strict-aliasing safe, hence -fno-strict-aliasing is needed to compile (this got forgotten for scons builds for gallium, which indeed not only caused compiler warnings but also unexplicable crashes in non-debug builds). However, we should try to eliminate code not complying with strict-aliasing code at least for gallium. Hence change pipe_reference functions to make them strict-aliasing compliant. This adds a bit more complexity (especially for derived classes) but is the right thing to do, and it does in fact fix a segfault.
| * | | | | | tgsi: fix some off-by-one errors in shader length, instruction lengthBrian Paul2009-12-083-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ureg and/or tgsi-simplification work introduced some inconsistencies between the ureg and traditional TGSI construction code. Now the tgsi_instruction::NrTokens field is consistant and the tgsi_header::BodySize field isn't off by one. Fixes bug 25455.
| * | | | | | util/tile: Support R8G8B8A8_UNORM format.Michal Krol2009-12-071-3/+53
| | | | | | |
| * | | | | | Merge branch 'gallium-noblocks'Roland Scheidegger2009-12-0413-66/+90
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
| | * | | | | | fixups for interface changes (mostly state trackers)Roland Scheidegger2009-11-301-2/+2
| | | | | | | |
| | * | | | | | gallium: interface cleanups, remove nblocksx/y from pipe_texture and moreRoland Scheidegger2009-11-3013-64/+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).