summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Make sure the size of non-existent storage components is set to 0.Michel Dänzer2008-04-241-3/+3
| | | | | Before adding support for formats with unused storage components, the size of components swizzled to 0 or 1 was ignored, so this didn't matter.
* gallium: Initial support for pixel formats with unused storage components.Michel Dänzer2008-04-241-47/+61
| | | | | Also clarify that RGB formats with no (used) alpha component are treated as having alpha = 1.0.
* util: work around freaky win32 math.hKeith Whitwell2008-04-211-1/+3
|
* util: add wrappers for float math functions on windowsKeith Whitwell2008-04-211-0/+46
|
* gallium: Don't assume snprintf are always available.José Fonseca2008-04-152-10/+2
|
* gallium: Thread condition variables.José Fonseca2008-04-111-0/+34
|
* gallium: flags param to surface_alloc_storage() is unused and deprecatedBrian Paul2008-04-101-0/+1
|
* gallium: re-order, clean-up PIPE_MAX_* definitionsBrian2008-04-081-9/+8
|
* gallium: remove obsolete/unused PIPE_ATTRIB_MAXBrian2008-04-081-1/+0
|
* gallium: Allow to debug memory leaks in nested scopes.José Fonseca2008-04-081-3/+3
|
* gallium: Use the custom snprintf implementation everywhere (for Win32).José Fonseca2008-04-051-0/+9
| | | | Because winddk's implemenation does not handle floats.
* gallium: Handle client-supplied edgeflags.Keith Whitwell2008-04-041-0/+8
| | | | | | | | Also, implement support in the draw module. We were hardwiring these to one for quite a long time... Currently using a draw_set_edgeflags() function, may be better to push the argument into the draw_arrays() function. TBD.
* gallium: fix two-side stencil handlingRoland Scheidegger2008-04-041-1/+1
| | | | | | | | | | | Previously all drivers were in twosided mode since they checked for stencil.enable[1] flag which was a copy of stencil.enable[0]. Note that drivers should not reference stencil[1] state (other than the enable) if twosided stenciling is disabled (for now the stencil state is still copied but for instance clear_with_quads won't provide useful values in there). Also, use _TestTwoSide instead of TestTwoSide since results would be bogus otherwise if using APIs with implicit two side stencil enable (i.e. core ogl 2.0).
* gallium: add a flag to turn on gl rasterization rulesKeith Whitwell2008-04-021-0/+1
| | | | | | | Use this to set up hardware rasterization (if your hardware can do it) or otherwise turn on various tweaks in the draw module. Currently only hooked up to point biasing code.
* gallium: add temporary facility for rasterization-time clamping of point sizesKeith Whitwell2008-04-021-0/+2
|
* gallium: Compute YCBCR bit depth.José Fonseca2008-04-011-6/+7
|
* gallium: updated comment for bypass_vsBrian2008-03-311-1/+2
|
* gallium: Eliminate p_winsys::printfJosé Fonseca2008-03-311-4/+0
| | | | Not convenient and almost not used at all. Better replacements in p_debug.h
* gallium: Set vertex state/buffers en-mass.Brian Paul2008-03-291-6/+6
|
* gallium: remove redundant compare bit in sampler stateRoland Scheidegger2008-03-281-1/+0
|
* gallium: Bump PIPE_MAX_SAMPLERS to 16.Michal Krol2008-03-281-1/+1
| | | | We need it to fulfil D3D minimum requirements.
* gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian2008-03-271-1/+2
| | | | | The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
* gallium: updated/improved comments, minor re-formattingBrian Paul2008-03-271-31/+27
|
* gallium: silence unused var warningBrian2008-03-271-0/+2
|
* gallium: Change pipe->flush() interface to optionally return a fence.Michel Dänzer2008-03-262-4/+4
| | | | | The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
* gallium: Introduce flatshade_first field to rasterizer_state.Michal Krol2008-03-251-0/+1
| | | | | This bit tells us which vertex of the primitive is used to propagate color for the remaining vertices if flatshade mode.
* Fix typoJosé Fonseca2008-03-251-3/+3
|
* gallium: Use debug_get_option for GETENVJosé Fonseca2008-03-251-5/+2
|
* gallium: fix a few bugs, warnings in the p_debug codeBrian2008-03-241-3/+6
| | | | added missing _ to a _debug_printf() call.
* gallium: Simple cross platform get-opt system.José Fonseca2008-03-241-0/+27
| | | | | | Uses getenv on Linux, and a memory mapped text file on Windows. It supports boolean options, flags, and plain strings.
* gallium: cleanup p_debugJosé Fonseca2008-03-241-11/+106
| | | | | Now debug_printf is disabled on release builds. Use debug_error or _debug_printf to output messages on release versions.
* gallium: fix REALLOC() to copy smaller of old/new sizesBrian2008-03-241-3/+3
|
* gallium: Protect operator precedence in macro.José Fonseca2008-03-241-1/+1
|
* gallium: Remove the debug_mask_* stuff.José Fonseca2008-03-231-64/+0
| | | | Overcomplex and not much different from using a global variable...
* gallium: Memory debugging utilities.José Fonseca2008-03-232-2/+42
| | | | | | | There are no known tools for windows kernel memory debugging, so this is a simple set of malloc etc wrappers. Enabled by default on win32 debug builds
* gallium: added DXT formats (preliminary, will probably change)Brian Paul2008-03-211-1/+23
|
* gallium: document is_format_supported()'s type paramBrian Paul2008-03-211-0/+1
|
* gallium: PIPE_FORMAT_TYPE_ commentsBrian Paul2008-03-211-6/+6
|
* gallium: added sRGB formatsBrian Paul2008-03-211-1/+8
|
* gallium: additional comments, fix typos, etcBrian Paul2008-03-211-8/+23
|
* gallium: added width, height to pipe_framebuffer_stateBrian2008-03-201-0/+2
|
* gallium: add debug facility to dump random blobs as hexKeith Whitwell2008-03-201-0/+8
|
* gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul2008-03-191-4/+2
| | | | | This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
* gallium: Add generic enum and flags dumping utility functions.José Fonseca2008-03-191-0/+49
|
* gallium: make REALLOC a bit more like reallocKeith Whitwell2008-03-181-7/+9
|
* gallium: Convenience debug_warning function.José Fonseca2008-03-181-0/+10
|
* gallium: added bypass_vs flag to rasterizer state (may be temporary)Brian2008-03-131-0/+1
|
* gallium: remove dead code related to shader semantic input/output infoBrian Paul2008-03-131-9/+0
|
* gallium: remove semantic info from pipe_shader_stateBrian Paul2008-03-131-0/+2
| | | | Brian's patch to clean up the shader interfaces.
* tgsi: Drop pre-ps_2_0 opcodes.Michal Krol2008-03-131-82/+65
|