summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Make pipe thread say if it has condvars or notJakob Bornecrantz2009-06-051-0/+2
|
* gallium: remove redundant cube face #definesBrian Paul2009-05-051-8/+1
|
* gallium: Add a dri1 apiThomas Hellstrom2009-04-281-0/+82
| | | | | | 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>
* gallium: Update the drm_api.Thomas Hellstrom2009-04-281-1/+18
| | | | | | | | 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>
* pipe: Get the p_atomic_dec_zero logic right this time.José Fonseca2009-04-171-3/+2
|
* gallium: Fix PIPE_ATOMIC_GCC_INTRINSIC build.Michel Dänzer2009-04-171-2/+2
|
* pipe: Fix InterlockedDecrement usage.José Fonseca2009-04-171-1/+1
|
* gallium: simplify further the logic for selecting mutex implementationKeith Whitwell2009-04-171-53/+24
| | | | Cleaner than the previous cleanup...
* gallium: add #warning to mutex-based atomic implementationKeith Whitwell2009-04-171-0/+1
| | | | Some builds end up picking this up.
* gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom2009-04-152-1/+35
| | | | | | | Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* gallium: remove pipe_texture::compressed fieldBrian Paul2009-04-101-1/+0
| | | | | The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format).
* gallium: comments for surface_copy(), surface_fill() in p_context.hBrian Paul2009-04-091-2/+9
|
* gallium: change // comment to /* */ styleBrian Paul2009-04-091-1/+1
|
* gallium: updated comments in p_screen.hBrian Paul2009-04-091-4/+6
|
* gallium: Use "flags" consistently.José Fonseca2009-04-091-2/+2
|
* gallium: Clean up driver clear() interface.Michel Dänzer2009-04-042-4/+21
| | | | | Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
* gallium: Move pf_is_depth_stencil to p_format.h.José Fonseca2009-03-311-0/+7
|
* gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer2009-03-262-10/+0
|
* Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun ccAlan Coopersmith2009-03-253-9/+32
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* gallium: Remove remnants of reference counting internals outside of p_refcnt.h.Michel Dänzer2009-03-231-2/+10
|
* gallium: remove remaining references to origin_lower_leftKeith Whitwell2009-03-211-1/+0
|
* gallium: Explain what happens if buffer_flush_mapped_range isn't called.José Fonseca2009-03-201-0/+7
|
* pipe/atomic: dont use ms interlock calls from gccKeith Whitwell2009-03-181-1/+2
|
* pipe/atomic: clean up #ifdef mazeKeith Whitwell2009-03-181-17/+135
|
* gallium: Use `_new' name, `new' is a reserved keyword in C++.Michal Krol2009-03-171-9/+9
|
* gallium: Provide unprotected atomic implementation for display and miniport ↵Michal Krol2009-03-171-1/+15
| | | | interfaces.
* gallium: Implement atomic for MSVC on x86.Michal Krol2009-03-161-1/+65
|
* gallium: Implement atomic interface for windows user mode subsystem.Michal Krol2009-03-161-1/+35
|
* gallium: Use macro parameter names consistently.Michal Krol2009-03-161-10/+10
|
* gallium: pipe_mutex_init() is of type void.Michal Krol2009-03-162-5/+2
| | | | Both the windows and fallback versions are void already.
* gallium: Include p_compiler.h for integer types.Michal Krol2009-03-161-1/+1
|
* gallium: Use struct pipe_atomic for pipe refcounts.Thomas Hellstrom2009-03-161-6/+7
| | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* gallium: Add simple atomic class api.Thomas Hellstrom2009-03-161-0/+154
| | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* gallium: consolidate bypass_vs and bypass_clipping flagsKeith Whitwell2009-03-131-3/+9
| | | | | | | | | 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.
* gallium: Remove do_flip argument from surface_copyJakob Bornecrantz2009-03-131-1/+0
| | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
* tgsi: Consider INDEX, NEGATE, MULTIPLYMATRIX opcodes for removal.Michal Krol2009-03-101-3/+3
|
* gallium: Fix p_refcnt.h for C++ compilers.Michel Dänzer2009-03-091-0/+3
|
* gallium: Use consistent semantics for map ranges in gallium.José Fonseca2009-03-042-12/+20
| | | | | Which are slightly different from ARB_map_buffer_range semantics, since gallium still supports more than one mapping of the same buffer.
* gallium: Ensure map ranges are valid.José Fonseca2009-03-041-0/+4
|
* Merge commit 'origin/master' into gallium-map-rangeJosé Fonseca2009-03-046-139/+126
|\
| * gallium: Unify reference counting.Michel Dänzer2009-03-045-138/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
| * st/drm: s/hocks/hooks/Jakob Bornecrantz2009-03-031-1/+1
| |
* | gallium: Massage the interface to more closely resemble ARB_map_buffer_rangeJosé Fonseca2009-03-032-71/+36
| |
* | Merge commit 'origin/master' into gallium-map-rangeJosé Fonseca2009-03-031-0/+1
|\|
| * Merge commit 'origin/gallium-0.1'Keith Whitwell2009-03-031-0/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * gallium: New PIPE_BUFFER_USAGE_DONTBLOCK flag.José Fonseca2009-03-021-0/+2
| | | | | | | | | | | | To prevent blocking when mapping a buffer.
| | * tgsi: add tgsi_declaration fields for centroid sampling, invariant optimizationBrian Paul2009-01-061-1/+3
| | | | | | | | | | | | (cherry picked from commit 434e255eae90b0f3d836d452b7d3b0c5aadf78b8)
| | * gallium: Fix PIPE_FORMAT_X8B8G8R8_SNORM definition.Michal Krol2008-12-151-1/+1
| | |
* | | Merge commit 'origin/master' into gallium-map-rangeJosé Fonseca2009-03-023-11/+29
|\| |
| * | Include p_compiler.h in drm_api.h for boolean typedef.Corbin Simpson2009-02-271-0/+2
| | |