summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_defines.h
AgeCommit message (Collapse)Author
2009-11-06gallium: Add UNSYNCHRONIZED cpu access flag. Document others.José Fonseca
2009-11-02gallium: Cleanup predicate and condition code TGSI tokens.Michal Krol
There is little point in having a special TGSI token just to handle predicate register updates. Remove tgsi_dst_register_ext_predicate token and instead use a new PREDICATE register file to update predicates. Actually, the contents of the obsolete token are being moved to tgsi_instruction_ext_predicate, where they should be from the very beginning. Remove the NVIDIA-specific condition code tokens -- nobody uses them and they can be emulated with predicates if needed. Introduce PIPE_CAP_SM3 that indicates whether a driver supports SM3-level instructions, and in particular predicates. Add PIPE_CAP_MAX_PREDICATE_REGISTERS that can be used to query the driver how many predicate registers it supports (currently it would be 1).
2009-10-25gallium: Move enum pipe_error into p_defines.h.José Fonseca
It's really just another define. No need for its own header.
2009-10-02gallium: Add PIPE_TRANSFER_MAP_DIRECTLY usage flag.Michel Dänzer
Asks the driver to map the texture storage directly or return NULL if that's not possible.
2009-09-29g3dvl: Define PIPE_VIDEO_CODEC_UNKNOWN for failures.José Fonseca
gcc 4.4 seems particularly picky with int -> enum conversions.
2009-09-27g3dvl: pipe_video_context interface, softpipe impl, auxiliary libsYounes Manton
2009-09-16gallium: Deprecate PIPE_CAP_S3TC.José Fonseca
No longer used. S3TC support is queried via pipe_screen::is_format_supported.
2009-08-17gallium: Make PIPE_TRANSFER_{READ,WRITE,READ_WRITE} bitmask friendly.Maarten Maathuis
2009-07-14gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵Patrice Mandin
default extension list
2009-06-30Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/vbo/vbo_exec_draw.c
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-26Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h
2009-06-10gallium: updated PIPE_CAP_x commentsBrian Paul
2009-05-05gallium: remove redundant cube face #definesBrian Paul
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-09gallium: change // comment to /* */ styleBrian Paul
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-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
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-02gallium: New PIPE_BUFFER_USAGE_DONTBLOCK flag.José Fonseca
To prevent blocking when mapping a buffer.
2009-02-23gallium: Define PIPE_PRIM_MAX.José Fonseca
2009-02-05gallium: No longer allow CPU mapping surfaces directly.Michel Dänzer
Instead, a new pipe_transfer object has to be created and mapped for transferring data between the CPU and a texture. This gives the driver more flexibility for textures in address spaces that aren't CPU accessible. This is a first pass; softpipe/xlib builds and runs glxgears, but it only shows a black window. Looks like something's off related to the Z buffer, so the depth test always fails.
2009-01-18gallium: Add PIPE_BUFFER_USAGE_DISCARD.Younes Manton
When passed to map() signals that the buffer's previous contents are not required, allowing the driver to allocate a new buffer if the current buffer can not be mapped immediately.
2009-01-10gallium: Define PIPE_TEXTURE_USAGE_DYNAMIC.Younes Manton
Knowing how the client intends to use the texture will give the driver the opportunity to optimize for such cases.
2008-12-04gallium: added PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS queryBrian
2008-12-02gallium: Make room for custom PIPE_TEXTURE_USAGE_* flags.Younes Manton
2008-11-24gallium: Define convenience shortcuts for CPU/GPU READ/WRITE flag combinations.José Fonseca
2008-08-15gallium: New PIPE_FLUSH_FRAME flag to signal the end of a frame.José Fonseca
2008-08-06gallium: added PIPE_CAP_TEXTURE_MIRROR_CLAMP, PIPE_CAP_TEXTURE_MIRROR_REPEATBrian Paul
Check for these caps in state tracker and enable corresponding GL extensions if supported.
2008-07-19gallium: Finer grained is_format_supported.José Fonseca
2008-07-19gallium: Move PIPE_TEXTURE_USAGE* to p_defines.hJosé Fonseca
2008-06-04gallium: Define PIPE_CAP_GUARD_BAND_* capabilities.Michal Krol
2008-05-06Merge commit 'origin/gallium-0.1' into gallium-tex-surfacesKeith Whitwell
Conflicts: src/mesa/state_tracker/st_atom_sampler.c src/mesa/state_tracker/st_cb_texture.c
2008-05-03gallium: add pipe surface layout value (Roland Scheidegger)Keith Whitwell
2008-05-02gallium: remove obsolete PIPE_CAP_BITMAP_TEXCOORD_BIASBrian Paul
2008-04-30gallium: fix typo: s/custam/custom/Brian Paul
2008-03-26gallium: Change pipe->flush() interface to optionally return a fence.Michel Dänzer
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
2008-03-12gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell
Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code.
2008-02-27gallium: Remove // comments.José Fonseca
2008-02-25Make the pipe headers C++ friendly.José Fonseca
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.