summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* nv50: fix RT formats after format rename fixesChristoph Bumiller2010-03-021-18/+36
| | | | | Getting rid of the evil pre-processor magic, but not changing our internal format naming convention (at least for now).
* nouveau: Rename pipe formats.José Fonseca2010-03-024-29/+29
| | | | | These format uses were being hiden by pre-processor magic and were missed in the previous search'n'replace.
* Merge branch 'gallium-format-cleanup'José Fonseca2010-03-0279-665/+663
|\
| * util: Tweak comment for D3D10-like formats.José Fonseca2010-03-021-1/+3
| |
| * gdi: Rename pipe formats.José Fonseca2010-03-021-2/+2
| |
| * drm/nouveau: Rename pipe formats.José Fonseca2010-03-021-2/+2
| |
| * svga: Rename pipe formats.José Fonseca2010-03-027-35/+35
| |
| * softpipe: Rename pipe formats.José Fonseca2010-03-024-20/+20
| |
| * r300: Rename pipe formats.José Fonseca2010-03-024-48/+48
| |
| * nouveau: Rename pipe formats.José Fonseca2010-03-0110-74/+74
| |
| * llvmpipe: Rename pipe formats.José Fonseca2010-03-011-24/+24
| |
| * i965: Rename pipe formats.José Fonseca2010-03-015-37/+37
| |
| * i915g: Rename pipe formats.José Fonseca2010-03-013-24/+24
| |
| * cell: Rename pipe formats.José Fonseca2010-03-015-29/+29
| |
| * python: Rename pipe formats.José Fonseca2010-03-012-2/+2
| |
| * vega: Rename pipe formats.José Fonseca2010-03-015-13/+13
| |
| * wgl: Rename pipe formats.José Fonseca2010-03-011-11/+11
| |
| * xorg: Rename pipe formats.José Fonseca2010-03-014-11/+11
| |
| * glx: Rename pipe formats.José Fonseca2010-03-011-7/+7
| |
| * egl: Rename pipe formats.José Fonseca2010-03-014-19/+19
| |
| * dri: Rename pipe formats.José Fonseca2010-03-012-14/+14
| |
| * mesa: Rename pipe formats.José Fonseca2010-03-016-101/+101
| |
| * translate: Rename pipe formats.José Fonseca2010-03-012-6/+6
| |
| * draw: Rename pipe formats.José Fonseca2010-03-013-3/+3
| |
| * util: Rename pipe formats.José Fonseca2010-03-016-127/+126
| |
| * gallium: Standardize on the LSB->MSB notation.José Fonseca2010-03-011-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Less confusing, and seems to gather more consensus. Below are the sed commands used. This and following commits are the result of applying this too to the whole tree, plus manual whitespaces fixes. s/\<PIPE_FORMAT_A8R8G8B8_UNORM\>/ASDGFSJKDGSDFGSJDFGREKT/g s/\<PIPE_FORMAT_B8G8R8A8_UNORM\>/PIPE_FORMAT_A8R8G8B8_UNORM/g s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_B8G8R8A8_UNORM/g s/\<PIPE_FORMAT_X8R8G8B8_UNORM\>/ASDGFSJKDGSDFGSJDFGREKT/g s/\<PIPE_FORMAT_B8G8R8X8_UNORM\>/PIPE_FORMAT_X8R8G8B8_UNORM/g s/\<ASDGFSJKDGSDFGSJDFGREKT\>/PIPE_FORMAT_B8G8R8X8_UNORM/g s/\<PIPE_FORMAT_R8G8B8A8_UNORM_REV\>/PIPE_FORMAT_A8B8G8R8_UNORM/g s/\<PIPE_FORMAT_R8G8B8X8_UNORM\>/PIPE_FORMAT_X8B8G8R8_UNORM/g s/\<PIPE_FORMAT_A1R5G5B5_UNORM\>/PIPE_FORMAT_B5G5R5A1_UNORM/g s/\<PIPE_FORMAT_A4R4G4B4_UNORM\>/PIPE_FORMAT_B4G4R4A4_UNORM/g s/\<PIPE_FORMAT_R5G6B5_UNORM\>/PIPE_FORMAT_B5G6R5_UNORM/g s/\<PIPE_FORMAT_A2B10G10R10_UNORM\>/PIPE_FORMAT_R10G10B10A2_UNORM/g s/\<PIPE_FORMAT_A8L8_UNORM\>/PIPE_FORMAT_L8A8_UNORM/g s/\<PIPE_FORMAT_A8L8_SRGB\>/PIPE_FORMAT_L8A8_SRGB/g s/\<PIPE_FORMAT_R8G8B8A8_SRGB\>/PIPE_F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E_FORMAT_YUYV/g
| * r300: Remove PIPE_FORMAT_A8B8G8R8_SNORM.José Fonseca2010-03-011-2/+0
| | | | | | | | PIPE_FORMAT_R8G8B8A8_SNORM already listed.
| * softpipe: Advertise PIPE_FORMAT_R8G8B8A8_SNORM instead.José Fonseca2010-03-011-1/+1
| |
| * util: Remove PIPE_FORMAT_A8B8G8R8_SNORM.José Fonseca2010-03-011-1/+0
| |
| * gallium: Remove PIPE_FORMAT_A8B8G8R8_SNORM.José Fonseca2010-03-011-1/+0
| | | | | | | | Its actually an alias for PIPE_FORMAT_R8G8B8A8_SNORM.
| * util: Generate linear<->sRGB conversion tables.Michal Krol2010-03-011-0/+17
| |
| * util: Fix PIPE_FORMAT_R8G8B8_SRGB swizzles.José Fonseca2010-03-011-1/+1
| | | | | | | | | | | | | | | | | | The only user of PIPE_FORMAT_R8G8B8_SRGB is mesa, which per src/mesa/main/texstore.c interprets it as R8 G8 B8 and not the other way around.
| * xlib: Use PIPE_FORMAT_R8G8B8A8_UNORM(_REV) as appropriate.José Fonseca2010-03-011-2/+2
| |
| * r300: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.José Fonseca2010-03-011-2/+2
| |
| * i915g: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.José Fonseca2010-03-011-1/+1
| |
| * mesa: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.José Fonseca2010-03-011-3/+3
| |
| * util: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.José Fonseca2010-03-014-13/+9
| |
| * gallium: Introduce a new format to disambiguate PIPE_FORMAT_R8G8B8A8_UNORM.José Fonseca2010-03-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PIPE_FORMAT_R8G8B8A8_UNORM now means just R8 G8 B8 A8 PIPE_FORMAT_R8G8B8A8_UNORM_REV means A8 B8 G8 R8 And the thumb rule is vertex buffers refer to PIPE_FORMAT_R8G8B8A8_UNORM, while textures refer to PIPE_FORMAT_R8G8B8A8_UNORM_REV. PIPE_FORMAT_R8G8B8A8_UNORM_REV is just a temporary name.
| * util: Fix PIPE_FORMAT_R8G8B8_UNORM description and notes.José Fonseca2010-03-011-3/+1
| | | | | | | | | | | | There is actually no ambiguity in use -- it is always used as R8 G8 B8
| * gallium: Remove inexisting formats.José Fonseca2010-03-011-4/+0
| | | | | | | | | | | | | | Can't find these formats used in any state tracker or any API. For some of these probably the reverse notation was meant, for which formats already exist.
| * util: Remove inexisting formats.José Fonseca2010-03-011-7/+0
| | | | | | | | | | | | | | Can't find these formats used in any state tracker or any API. For some of these probably the reverse notation was meant, for which formats already exist.
| * util: A few more links for D3D formats.José Fonseca2010-03-011-2/+3
| |
| * r300: Don't implement PIPE_FORMAT_R8G8B8X8_SNORM.José Fonseca2010-03-011-2/+0
| | | | | | | | | | | | This format is not actually used by any state tracker. Probably the reverse notation was mean, which would make it identical to PIPE_FORMAT_X8B8G8R8_SNORM.
* | llvmpipe: improve based on review from Jose and fix else clausesZack Rusin2010-03-021-8/+9
| | | | | | | | | | | | else was broken in the outter most else statemants, plus the code didn't need an inverted mask to compute the inverse of the current condition.
* | llvmpipe: remove some ifdefsKeith Whitwell2010-03-021-5/+0
| | | | | | | | No longer any need to protect expensive asserts with #ifdef DEBUG.
* | llvmpipe: reorganize transfer usageKeith Whitwell2010-03-028-324/+379
| | | | | | | | | | | | | | | | | | Move transfer creation and mapping to the "scene" object, and out of the rasterizer. The rasterizer operates on already-mapped framebuffers only, and no longer needs a screen or context pointer. The scene object has access to a pipe_context, and this reorg prepares for moving transfer functionality from the screen to the context.
* | intel: passs correct context type to intel_prepare_render() callBrian Paul2010-03-021-1/+1
| |
* | i965: include macros.h to get CLAMP macroBrian Paul2010-03-021-0/+1
| |
* | glx: replace assertion with conditionalBrian Paul2010-03-021-2/+2
| | | | | | | | See fd.o bug 26832.
* | Merge branch 'gallium-no-rhw-position'Michal Krol2010-03-0231-430/+438
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c