summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* 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_R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_FORMAT_YCBCR_REV\>/PIPE_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
|
* 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.
* util: A few more todo marks.José Fonseca2010-03-011-0/+3
|
* util: More documentation for u_format.csvJosé Fonseca2010-03-011-0/+57
|
* util: Tweak comments regarding R8G8B8A8/X8_UNORM.José Fonseca2010-03-011-2/+2
|
* python: Don't mention deprecated drivers=trace option.José Fonseca2010-03-011-0/+4
| | | | Now trace always built.
* python: Don't mention deprecated drivers=trace option.José Fonseca2010-03-011-1/+1
| | | | Now trace always built.
* llvmpipe: Don't mention deprecated drivers=trace option.José Fonseca2010-03-011-2/+2
| | | | Now trace always built.
* r300g: atomize texture and sampler statesMarek Olšák2010-02-289-135/+153
|
* r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT)Marek Olšák2010-02-287-66/+101
| | | | | | | | | | | Formerly known as vertex_format_state. These two are completely unrelated when using HWTCL and decoupling them makes the design less SWTCL-centric. When bypass_vs_clip_and_viewport gets removed, the PSC setup will no longer be a derived state. This change shouldn't make unbreaking SWTCL harder.
* i965g: Fix texture creationJakob Bornecrantz2010-02-281-1/+1
|
* r300g: put validating buffers after flushingMarek Olšák2010-02-283-53/+37
| | | | Also cleaning up the nasty validation process.
* r300g: use the atom size directly during emissionMarek Olšák2010-02-284-30/+31
|
* r300g: atomize invalidation of texture cachesMarek Olšák2010-02-285-8/+11
|
* r300g: atomize PVS flushMarek Olšák2010-02-285-27/+29
| | | | The first non-state atom. It's better and cleaner to have it.
* r300g: add size parameter to the atom emit functionsMarek Olšák2010-02-285-28/+47
| | | | | Maintaining a closer relationship between the atom size and what's passed in BEGIN_CS.
* util: Fix X8/A8B8G8R8_SNORM's swizzle.José Fonseca2010-02-271-2/+2
|
* r300g: move the emission of GA_POINT_MINMAX into emit_fb_stateMarek Olšák2010-02-273-23/+7
| | | | | The only practical limits are the ones derived from the currently-set framebuffer state.
* r300g: put the emission of R300_US_OUT_FMT_UNUSED backMarek Olšák2010-02-272-2/+7
| | | | It wasn't such a good idea to remove it. :/
* r300g: mark rasterizer_state as dirty only when it's not NULLMarek Olšák2010-02-271-1/+1
|
* radeong: clean up includesMarek Olšák2010-02-276-37/+18
|
* r300g: always emit the correct max vertex index to avoid DRM errorsMarek Olšák2010-02-273-2/+13
| | | | Fixing bizarre reports that a vertex buffer is not large enough.
* r300g: remove pointless "while"Marek Olšák2010-02-271-1/+1
|
* st/dri: Assert pointer is not null before dereferencing.Vinson Lee2010-02-271-2/+4
|
* st/xorg: Re-enable crtc on resizeJakob Bornecrantz2010-02-271-3/+21
|
* st/xorg: Fix copy-topyJakob Bornecrantz2010-02-271-1/+1
|
* vmware/xorg: Bump to match vmware driverJakob Bornecrantz2010-02-271-3/+3
|
* st/xorg: Make resize fail gracefullyJakob Bornecrantz2010-02-271-14/+55
|
* st/xorg: Obey max {width|height} from kernel and GalliumJakob Bornecrantz2010-02-271-2/+23
|
* st/xorg: Encapsulate all customizable stuff in a separate class.Thomas Hellstrom2010-02-276-91/+121
| | | | | | | | | This avoids exposing the ms driver structure to the winsys, and nicely encapsulates driver customizable stuff. In the future more things might be customizable by the winsys, like throttling, 3D readback etc. Signed-off-by: Thomas Hellstrom <[email protected]>
* vmware/xorg: Export modinfo just as the other vmware X drivers doesJakob Bornecrantz2010-02-271-3/+42
|
* st/xorg: A bit more debugging infoJakob Bornecrantz2010-02-271-0/+6
|
* st/xorg: Make default of debugging fallbacks smartJakob Bornecrantz2010-02-271-1/+1
| | | | Set it to the same as 2d acceleration
* drm/vmware: Latest interface changes are backwards incopatibleJakob Bornecrantz2010-02-271-1/+1
| | | | | | Since the execbuffer change actually changed size off the ioctl struct and not just a reuse of padded bits, we can't support old kernels as easily as the scanout change was.