summaryrefslogtreecommitdiff
path: root/src/gallium/include
AgeCommit message (Collapse)Author
2009-07-01gallium: fix the front face semanticsZack Rusin
mesa allocates both frontface and pointcoord registers within the fog coordinate register, by using swizzling. to make it cleaner and easier for drivers we want each of them in its own register. so when doing compilation from the mesa IR to tgsi allocate new registers for both and add new semantics to the respective declarations.
2009-06-30gallium: New PIPE_BUFFER_USAGE_FLUSH_EXPLICIT flag for ↵José Fonseca
buffer_flush_mapped_range. When a buffer was mapped for write and no explicit flush range was provided the existing semantics were that the whole buffer would be flushed, mostly for backwards compatability with non map-buffer-range aware code. However if the buffer was mapped/unmapped with nothing really written -- something that often happens with the vbo -- we were unnecessarily assuming that the whole buffer was written. The new PIPE_BUFFER_USAGE_FLUSH_EXPLICIT flag (based from ARB_map_buffer_range 's GL_MAP_FLUSH_EXPLICIT_BIT flag) allows to clearly distinguish the legacy usage from the nothing written usage.
2009-06-26gallium: added PIPE_CAP_TGSI_CONT_SUPPORTEDBrian Paul
2009-06-16gallium: Avoid atomic ops / locking when src is dst.José Fonseca
2009-06-15gallium: Ensure assert macro is defined before being used in p_thread.hJosé Fonseca
2009-06-15gallium: Fix segfault and valgrind error introduced with commit ↵Thomas Hellstrom
3f2e006b759705abd7c409d30f9aeb1f2a75b83f Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-06-11gallium: New pf_is_depth_and_stencil / pf_is_depth_or_stencil inlines.José Fonseca
2009-06-10gallium: Shorthand functions for computing stride and sizes for a rect.José Fonseca
2009-04-28gallium: Add a dri1 apiThomas Hellstrom
that a driver needs to implement on top of the drm api to support dri1. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-28gallium: Update the drm_api.Thomas Hellstrom
Make it possible to pass state-tracker-specific data to the init_screen function, and even open the door for device-specific state-tracker screen initialization. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-17pipe: Get the p_atomic_dec_zero logic right this time.José Fonseca
2009-04-17gallium: Fix PIPE_ATOMIC_GCC_INTRINSIC build.Michel Dänzer
2009-04-17pipe: Fix InterlockedDecrement usage.José Fonseca
2009-04-17gallium: simplify further the logic for selecting mutex implementationKeith Whitwell
Cleaner than the previous cleanup...
2009-04-17gallium: add #warning to mutex-based atomic implementationKeith Whitwell
Some builds end up picking this up.
2009-04-15gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom
Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-10gallium: remove pipe_texture::compressed fieldBrian Paul
The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format).
2009-04-09gallium: comments for surface_copy(), surface_fill() in p_context.hBrian Paul
2009-04-09gallium: change // comment to /* */ styleBrian Paul
2009-04-09gallium: updated comments in p_screen.hBrian Paul
2009-04-09gallium: Use "flags" consistently.José Fonseca
2009-04-04gallium: Clean up driver clear() interface.Michel Dänzer
Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
2009-03-31gallium: Move pf_is_depth_stencil to p_format.h.José Fonseca
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-03-25Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun ccAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-23gallium: Remove remnants of reference counting internals outside of p_refcnt.h.Michel Dänzer
2009-03-21gallium: remove remaining references to origin_lower_leftKeith Whitwell
2009-03-20gallium: Explain what happens if buffer_flush_mapped_range isn't called.José Fonseca
2009-03-18pipe/atomic: dont use ms interlock calls from gccKeith Whitwell
2009-03-18pipe/atomic: clean up #ifdef mazeKeith Whitwell
2009-03-17gallium: Use `_new' name, `new' is a reserved keyword in C++.Michal Krol
2009-03-17gallium: Provide unprotected atomic implementation for display and miniport ↵Michal Krol
interfaces.
2009-03-16gallium: Implement atomic for MSVC on x86.Michal Krol
2009-03-16gallium: Implement atomic interface for windows user mode subsystem.Michal Krol
2009-03-16gallium: Use macro parameter names consistently.Michal Krol
2009-03-16gallium: pipe_mutex_init() is of type void.Michal Krol
Both the windows and fallback versions are void already.
2009-03-16gallium: Include p_compiler.h for integer types.Michal Krol
2009-03-16gallium: Use struct pipe_atomic for pipe refcounts.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-16gallium: Add simple atomic class api.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
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: 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-10tgsi: Consider INDEX, NEGATE, MULTIPLYMATRIX opcodes for removal.Michal Krol
2009-03-09gallium: Fix p_refcnt.h for C++ compilers.Michel Dänzer
2009-03-04gallium: Use consistent semantics for map ranges in gallium.José Fonseca
Which are slightly different from ARB_map_buffer_range semantics, since gallium still supports more than one mapping of the same buffer.
2009-03-04gallium: Ensure map ranges are valid.José Fonseca
2009-03-04Merge commit 'origin/master' into gallium-map-rangeJosé Fonseca
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-03st/drm: s/hocks/hooks/Jakob Bornecrantz
2009-03-03gallium: Massage the interface to more closely resemble ARB_map_buffer_rangeJosé Fonseca
2009-03-03Merge commit 'origin/master' into gallium-map-rangeJosé Fonseca