summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2009-03-16tgsi: Begin documenting NV_gpu_program4 instruction set operations.Michal Krol
2009-03-16tgsi: Document NV_vertex_program3 instruction set operations.`Michal Krol
2009-03-13gallium: consolidate bypass_vs and bypass_clipping flagsKeith Whitwell
The draw module provides a similar interface to the driver which is retained as various bits of hardware may be able to take on incremental parts of the vertex pipeline. However, there's no need to advertise all this complexity to the state tracker. There are basically two modes now - normal and passthrough/screen-coords.
2009-03-13gallium: no need to keep a copy of shader tokens in state trackerKeith Whitwell
Any driver who needs a copy of the shader tokens must organize to do so itself. This has been the case for a long time, but there was still defensive code in the state tracker, which is now removed. Any bugs resulting from this need to be fixed in the offending driver...
2009-03-13gallium: Remove do_flip argument from surface_copyJakob Bornecrantz
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
2009-03-12tgsi: Localise SCS code.Michal Krol
2009-03-12tgsi: Rewrite NRM opcode, store 1.0 in W component.Michal Krol
2009-03-12tgsi: Begin documenting NV_fragment_program2 instruction set operations.Michal Krol
2009-03-12tgsi: Begin documenting ARB_fragment_program instruction set operations.Michal Krol
2009-03-12tgsi: Document ARB_vertex_program instruction set operations.Michal Krol
2009-03-12tgsi: Begin documenting NV_vertex_program2 instruction set operations.Michal Krol
2009-03-12util: fix debug_assert() to avoid unused variable warnings in release buildsKeith Whitwell
2009-03-11tgsi: Implement RFL, SFL, STR, X2D opcodes.Michal Krol
2009-03-11tgsi: Begin documenting NV_fragment_program instruction set operations.Michal Krol
2009-03-11tgsi: Implement RCC opcode.Michal Krol
2009-03-11tgsi: Document NV_vertex_program1_1 instruction set operations.Michal Krol
2009-03-10tgsi: Untabify.Michal Krol
2009-03-10tgsi: Implement CLAMP opcode.Michal Krol
2009-03-10tgsi: Consider INDEX, NEGATE, MULTIPLYMATRIX opcodes for removal.Michal Krol
2009-03-10tgsi: ARL and FLOOR opcodes have the same implementation.Michal Krol
2009-03-10tgsi: ARL is a vector instruction.Michal Krol
2009-03-10tgsi: Note that LOG and EXP are approximations.Michal Krol
2009-03-10tgsi: Document EXT_vertex_shader instruction set operations.Michal Krol
2009-03-09tgsi: Implement CND, CND0 opcodes.Michal Krol
2009-03-09tgsi: Remove redundant micro_ge() -- use micro_le().Michal Krol
2009-03-09tgsi: Document ATI_fragment_shader instruction set operations.Michal Krol
2009-03-08tgsi: Document NV_vertex_program instruction set operations.Michal Krol
2009-03-05gallium: added null ptr check in align_free()Brian Paul
2009-03-04indices: add translate/generate functions for unfilled modesKeith Whitwell
Most of the time unfilled rendering requires a lot more thought than just translating triangles to lines or points. But sometimes, you can do exactly that, and it can be quite a bit quicker. Add code to do the translation. The caller has to determine whether it's a legal thing to do in the current state, in particular you'd need: - culling disabled - offset disabled - same front and back fill modes - possibly other stuff I can't think of.
2009-03-04gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-03-03Merge commit 'origin/gallium-0.1'José Fonseca
Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
2009-03-03pipebuffer: Cleanup merge.José Fonseca
2009-03-03pb: fix up merge mistakesKeith Whitwell
2009-03-03pipebuffer: Fix copy'n'paste typo.José Fonseca
2009-03-03Merge commit 'origin/gallium-0.1'Keith Whitwell
Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/include/pipe/p_defines.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c
2009-03-02pipebuffer: Cleanup code & comments.José Fonseca
2009-03-02pipebuffer: Handle PIPE_BUFFER_USAGE_DONTBLOCK flag.José Fonseca
Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
2009-03-02pipebuffer: Wait for the GPU to finish reading too.José Fonseca
No real change, as we're not tracking relocations read/write access yet.
2009-03-02pipebuffer: Remove unused var.José Fonseca
2009-02-28tgsi: More descriptive sanity diagnostic messages.Michal Krol
2009-02-28tgsi: More descriptive sanity diagnostic messages.Michal Krol
2009-02-27tgsi: don't dump interpolation info except for fragment shader inputsKeith Whitwell
Don't print the meaningless and confusing CONSTANT interpolation attribute after everything else.
2009-02-27util: set vbuf.max_index in draw_vertex_buffer()Keith Whitwell
(cherry picked from commit 1350f2efba5eeceebe0e711db6152c29e9889ce7)
2009-02-25gallium: Add support for BSD operating systems, tested with FreeBSDBenjamin Close
BSD supports pipe in the same way as linux hence options which are safe for linux are also safe for BSD. Define PIPE_OS_BSD in include/pipe/p_config.h and adjust the defines to make use of it. Also define MAP_ANONYMOUS for BSD systems which use MAP_ANON Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
2009-02-24pipebuffer: Allow asymmetric guard sizes for under/overflow detection.José Fonseca
2009-02-24util: Don't use 0-sized arrays.José Fonseca
Not supported by MSVC.
2009-02-24gallium: Add pipe_buffer_write/read inlines.José Fonseca
Saves code, and will simplify future interface changes.
2009-02-24pipebuffer: Remove unused var.José Fonseca
2009-02-23Merge commit 'origin/gallium-0.1'José Fonseca
Conflicts: src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c src/gallium/auxiliary/util/u_tile.c