summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-03-16st/xorg: fix up xorg state tracker to use cso changesRoland Scheidegger
use cso_set_fragment_sampler_views instead of cso_set_sampler_textures
2010-03-16libgl-xlib: Use a simple GALLIUM_DRIVER env var to select the pipe driver.José Fonseca
GALLIUM_DRIVER is being used in many other places, and it easier to memorizing and understand than all the GALLIUM_NO_XXX.
2010-03-16gallium: Silence warning.José Fonseca
2010-03-16gallium: change remaining util functions to use cso sampler viewsRoland Scheidegger
changes arguments of util_blit_pixels_tex and util_gen_mipmap to struct pipe_sampler_view * instead of struct pipe_texture *.
2010-03-16gallium/docs: Create a separate section for Sampler Views.Michal Krol
2010-03-16Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c
2010-03-16i965g: Fix use of an uninitialized variable.Chia-I Wu
2010-03-16Merge remote branch 'origin/gallium-st-api'Chia-I Wu
2010-03-16nv50: fix texturing from >=4GiB markBen Skeggs
2010-03-16llvmpipe: Fix rebase typoJakob Bornecrantz
2010-03-16winsys/sw: Add a software winsys layered on a pipeJakob Bornecrantz
2010-03-16i965g: Fix after context transfersJakob Bornecrantz
2010-03-15gallivm: checkpoint: stencil test codeBrian Paul
2010-03-15gallivm/llvmpipe: rename some constant building functionsBrian Paul
2010-03-15gallivm: fix up some #includesBrian Paul
2010-03-15gallivm/llvmpipe: rename os_llvm.h to lp_bld.hBrian Paul
The llvm wrapper wasn't really an OS thing. Use lp_bld.h for now but we eventually should rename/re-prefix all the files/functions in the gallivm/ directory.
2010-03-15libgl-xlib: Obey GALLIUM_SOFTPIPE define.José Fonseca
2010-03-16gallium: fix frontbuffer rendering with r300gDave Airlie
No idea if this is the correct fix, but it makes it work again at least. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-15llvmpipe: updated status in README fileBrian Paul
2010-03-15gallivm: fix typo/bug in lp_build_sgn()Brian Paul
We were never returning -1 as a result. This fixes some inverted/flipped faces with cube mapping.
2010-03-15cso: Do not hold references to bound textures.Keith Whitwell
Sampler views already hold references to those.
2010-03-15gallivm: add min_lod==max_lod special-case code in lp_build_lod_selector()Brian Paul
When min_lod==max_lod we don't need to go through all the work of computing the lod from partial derivatives. This is hit by the mipmap generation utility code.
2010-03-15gallivm: asst clean-ups, comments, etc.Brian Paul
2010-03-15gallivm: implement minification/magnification selectionBrian Paul
Use the LOD value to determine whether to use the minification vs. magnification filter. All mipmap sampling modes work now.
2010-03-15gallivm: fix incorrect clamp in lp_build_linear_mip_levels()Brian Paul
2010-03-15gallivm: fix incorrect floor(), itrunc()Brian Paul
LLVMBuildFPTrunc() should be used for double->float conversion, not float->int conversion. There should be a better way to compute floor(), ceil(), etc that doesn't involve float->int->float conversion.
2010-03-15util: Fix nil pointer reference.Michal Krol
2010-03-15nv40: remove leftover nv40_transfer.c from unification into nvfxLuca Barbieri
2010-03-15gallium: util_blit_pixels() takes source sampler view as argument.Michal Krol
2010-03-15nvfx: fix up after mergeKeith Whitwell
2010-03-15r300g: fix up after mergeKeith Whitwell
2010-03-15Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
Conflicts: src/gallium/drivers/nv30/nv30_context.h src/gallium/drivers/nv30/nv30_state.c src/gallium/drivers/nv40/nv40_context.h src/gallium/drivers/nv40/nv40_state.c src/gallium/drivers/r300/r300_emit.c
2010-03-15r300g: rebuild screen/winsys interfaceDave Airlie
This creates a cleaner winsys and drop the simple screen stuff. It makes r300g use pb_bufmgr structs. It also tries to avoid overheads from mapping too often. v5: clean warnings v6: break out of cache check on first buffer - since most likely the first busy one implies all after it are busy. v7: cleanup a bit v8-merged: drop cman for now to just get all the interface changes in first. rework to changes that happened upstream Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-15nv50: reset vbo_fifo before each validateBen Skeggs
2010-03-15nvfx: remove src_native_swz, which was a no-opLuca Barbieri
src_native_swz was used to translate 0/1 swizzles back when Gallium supported them. That support was later removed from Gallium, and the function currently always returns true. Remove it.
2010-03-15nvfx: clean up shader headerLuca Barbieri
Currently the behavior of shader.h depends on some constants that are defined differently in vertex and fragment programs. This patch cleans that up by splitting the relevant symbols in vertex program and fragment program variants
2010-03-15nvfx: draw: make swtnl draw_elements actually work.Luca Barbieri
It was totally broken: the index buffer was passed as NULL!
2010-03-15nvfx: draw: emit color as floating pointLuca Barbieri
Don't lose precision by converting to u8.
2010-03-15nvfx: draw: make perspective corrective texturing workLuca Barbieri
We must divide everything in the position by w, and emit position as a 4-component vector. Not sure why we must divide, but it works (see progs/redbook/checker).
2010-03-15nvfx: draw: create draw vp with uregLuca Barbieri
This avoids duplicating the vertex program generation logic and makes the same code work for both nv30 and nv40.
2010-03-15nvfx: add NOUVEAU_SWTNL to force swtnl at runtimeLuca Barbieri
Replace the FORCE_SWTNL macro with a NOUVEAU_SWTNL environment variable.
2010-03-15nvfx: move nv04_surface_2d.c into nvfx directoryLuca Barbieri
It is only used on pre-nv50 and nvfx is the only Gallium pre-nv50 driver.
2010-03-15nvfx: fix quads drawingLuca Barbieri
The primitive splitting code is totally broken and will be rewritten. Fix the most important bug now though.
2010-03-15nvfx: fix viewport state after bypass removal for swtnlLuca Barbieri
The adjustment of nv30/nv40 after the removal of bypass incorrectly removed the hardware viewport bypass code, which we still need for swtnl and also forgot to remove NVFX_NEW_RAST from pipe.
2010-03-15nv30, nv40: move last files to nvfx/ and rm -rf nv30 nv40Luca Barbieri
This is the last nvfx unification patch. nv[34]0_fragtex.c are moved to the common directory nv[34]0_shader.h are renamed to nv[34]0_vertprog.h and moved to the common directory The separate nv30 and nv40 directories are removed from the build system
2010-03-15nv30, nv40: partially non-trivially unify sampler state in nv[34]0_state.cLuca Barbieri
Many things, like texture wrap modes and min/mag filters are common. Some others, like annisotropy and lod settings, are not.
2010-03-15nv30, nv40: partially non-trivially unify nv[34]0_fragtex.cLuca Barbieri
The bulk files cannot be unified, but the frontend can and allows to share some code and simplify state_emit.c
2010-03-15nv30, nv40: unify nv[34]0_context.cLuca Barbieri
They are now almost identical, except for nv30 vs nv40 fragtex initialization.
2010-03-15nv30, nv40: fully unify nv[34]0_context.hLuca Barbieri
Move the remaining content to the common header.
2010-03-15nv30, nv40: non-trivially unify nv[34]0_screen.cLuca Barbieri
The files have the same structure but are substantially different. They are unified with appropriate conditionals.