summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* r300g: Use a macro to consolidate general state handling.Corbin Simpson2010-03-021-10/+11
| | | | My God, I've reinvented R300_STATECHANGE. Forgive me. :C
* 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-0239-295/+291
|\
| * 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
| |
| * 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
| |
| * 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
| |
| * 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: 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.
* | Merge branch 'gallium-no-rhw-position'Michal Krol2010-03-0215-331/+210
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c
| * | r300: Save viewport and clip states before invoking blitter.Michal Krol2010-03-013-0/+10
| | |
| * | gallium: Remove bypass_vs_clip_and_viewport from rasteriser state.Michal Krol2010-02-2214-331/+200
| | | | | | | | | | | | Needs testing.
* | | i915g: Add assert to check for null pointer dereference.Vinson Lee2010-03-021-0/+1
| |/ |/|
* | 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.
* | 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
| |
* | 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
| |
* | nv40: fix include of nv04_surface_2d.hChristoph Bumiller2010-02-261-1/+1
| |
* | gallium/nouveau: clean-up #includesBrian Paul2010-02-265-22/+22
| |
* | softpipe: fix up #includesBrian Paul2010-02-262-6/+8
| |
* | gallium/trace: remove unneeded path prefixes on #includesBrian Paul2010-02-261-5/+5
| |
* | gallium/identity: remove unneeded path prefixes on #includesBrian Paul2010-02-261-5/+5
| |
* | util: Code generate functions to pack and unpack a single pixel.José Fonseca2010-02-262-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should work correctly for all pixel formats except SRGB formats. Generated code made much simpler by defining the pixel format as a C structure. For example this is the generated structure for PIPE_FORMAT_B6UG5SR5S_NORM: union util_format_b6ug5sr5s_norm { uint16_t value; struct { int r:5; int g:5; unsigned b:6; } chan; }; Not used everywhere yet because it seems compiled code is slower than bitshift arithmetic by some misterious reason. So we should generate bitshift arithmetic at least for the simple UNORM pixel formats.
* | util: Factor some code into u_format_parse.pyJosé Fonseca2010-02-261-2/+2
| |
* | util: Use python names consistent with u_format.hJosé Fonseca2010-02-261-35/+35
| |
* | llvmpipe: Fix lp_tile_r5g6b5_unorm_write_4ub.José Fonseca2010-02-261-1/+2
| | | | | | | | Was using 32bit integer pointers instead of 16bits.
* | llvmpipe: Fix scons dependencies.José Fonseca2010-02-261-0/+6
| |
* | r300g: Atomize vertex shader.Corbin Simpson2010-02-248-60/+58
| |
* | r300g: Move CALLOCs to correct place.Corbin Simpson2010-02-241-8/+7
| |
* | r300g: prevent CS overflow when emitting the draw packetsMarek Olšák2010-02-243-18/+55
| | | | | | | | Signed-off-by: Corbin Simpson <[email protected]>