summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-videoYounes Manton2010-04-3041-1742/+4030
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript src/gallium/auxiliary/util/u_format.csv src/gallium/auxiliary/vl/vl_compositor.c src/gallium/auxiliary/vl/vl_compositor.h src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h src/gallium/drivers/identity/id_objects.c src/gallium/drivers/identity/id_objects.h src/gallium/drivers/identity/id_screen.c src/gallium/drivers/nv40/Makefile src/gallium/drivers/nv40/nv40_screen.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_texture.h src/gallium/drivers/softpipe/sp_video_context.c src/gallium/drivers/softpipe/sp_video_context.h src/gallium/include/pipe/p_format.h src/gallium/include/pipe/p_screen.h src/gallium/include/pipe/p_video_context.h src/gallium/include/pipe/p_video_state.h src/gallium/include/state_tracker/dri1_api.h src/gallium/include/state_tracker/drm_api.h src/gallium/state_trackers/dri/common/dri_context.c src/gallium/state_trackers/xorg/xvmc/attributes.c src/gallium/state_trackers/xorg/xvmc/block.c src/gallium/state_trackers/xorg/xvmc/context.c src/gallium/state_trackers/xorg/xvmc/subpicture.c src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/state_trackers/xorg/xvmc/tests/.gitignore src/gallium/state_trackers/xorg/xvmc/tests/Makefile src/gallium/state_trackers/xorg/xvmc/xvmc_private.h src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/g3dvl/vl_winsys.h src/gallium/winsys/g3dvl/xlib/xsp_winsys.c src/gallium/winsys/sw/Makefile
| * r300g: move ZTOP to separate fileMarek Olšák2010-04-286-73/+142
| | | | | | | | Ideally, HiZ should go in r300_hyperz.c next to ZTOP.
| * r300: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.José Fonseca2010-04-271-2/+0
| |
| * r300g: fix mipmapped texture3D size calculationMarek Olšák2010-04-271-1/+1
| | | | | | | | | | | | I accidentally inverted the condition. :( Broken since the commit 2579fe4044012a552c8be222ffae76b48de13592. FDO bug #27851.
| * r300g: compensate for non-atomized emit_query_end in the CSMarek Olšák2010-04-272-4/+11
| | | | | | | | And reserve a little more space just in case.
| * r300g: reserve CS space for index offsetMarek Olšák2010-04-271-1/+1
| | | | | | | | | | | | | | This has caused CS overflow since the commit 671f1e1229877d459cfd76e2cf5ea89c8d881036. TA3D works here again.
| * r300g: add support for more unaligned vertex formatsMarek Olšák2010-04-271-1/+33
| | | | | | | | | | | | An aligned stride is still needed for it to work. I am slowly approaching the Sauerbraten milestone!
| * r300g: setup PSC first, then align vertex formatsMarek Olšák2010-04-271-3/+5
| | | | | | | | This allows us to put correct swizzles for undefined components in PSC.
| * r300g: set undefined vertex swizzles to (0,0,0,1) respectivelyMarek Olšák2010-04-271-1/+8
| |
| * r300g: disable point sprites (again)Marek Olšák2010-04-261-1/+4
| | | | | | | | They cause lockups. The users doesn't seem to like them.
| * r300g: fix warnings when printing uint64_tMarek Olšák2010-04-261-2/+4
| | | | | | | | Though not nice, this is the correct way.
| * r300g: fix warnings by using the const qualifierMarek Olšák2010-04-261-1/+1
| | | | | | | | See also the libdrm commit af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.
| * r300g: use CS_OUT_TABLE betterMatt Turner2010-04-261-13/+3
| | | | | | | | | | | | Reviewed-by: Corbin Simpson <[email protected]> Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
| * r300g: Rudimentary stats, printed on exit.Corbin Simpson2010-04-264-0/+22
| | | | | | | | Whoo!
| * r300g: Add stats debug flag.Corbin Simpson2010-04-262-0/+2
| |
| * r300g: Use table CS writing when applicable.Corbin Simpson2010-04-261-35/+13
| | | | | | | | I just broke the 2000 fps barrier on glxgears. Yay?
| * r300g: Add CS table writing.Corbin Simpson2010-04-262-0/+11
| |
| * r300g: support index bias on r500 and DRM 2.3.0Marek Olšák2010-04-261-13/+40
| |
| * r300g: support rendering more than 65535 vertices in one batch on r500Marek Olšák2010-04-261-21/+4
| | | | | | | | and disable batch splitting on these chipsets.
| * r300g: emit MSPOS regsMarek Olšák2010-04-263-9/+11
| |
| * r300g: force prefetch for non-indexed verticesMarek Olšák2010-04-264-8/+8
| |
| * r300g: use the dummy FS shader for shaders with zero instructionsMarek Olšák2010-04-261-0/+8
| |
| * r300g: allow unaligned vertex formats if the stride is dword-alignedMarek Olšák2010-04-262-7/+43
| |
| * r300g: abort on unsupported vertex formatsMarek Olšák2010-04-261-0/+4
| |
| * r300g: abort if a vertex buffer offset is not dword-alignedMarek Olšák2010-04-261-0/+9
| |
| * r300g: fix vertex unit setupAlex Deucher2010-04-221-3/+7
| | | | | | | | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
| * r300g: raise the max index for generic varyings to 32Marek Olšák2010-04-211-1/+1
| | | | | | | | | | This should fix an assertion failure in the game Heroes of Newearth. Yes, the game seems to generate semantic indices greater than 15.
| * r300g: Spill a bit more info about implementation errors in surface_copy.Corbin Simpson2010-04-201-1/+7
| | | | | | | | compiz appears to hit this. Weird.
| * gallium: replace pipe_resource::_usage with pipe_resource::usageBrian Paul2010-04-202-2/+2
| |
| * Merge branch 'gallium-index-bias'José Fonseca2010-04-203-19/+32
| |\
| | * r300g: Adapt for index bias interface change.José Fonseca2010-04-193-19/+32
| | |
| * | r300g: add is_rv350 flagMarek Olšák2010-04-204-14/+25
| | |
| * | Merge branch '7.8'Brian Paul2010-04-192-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c
| | * | gallium/draw: use correct rasterization state for wide/AA points/linesBrian Paul2010-04-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution.
| | * | r300g: remove hacks from translate_vertex_data_swizzleMarek Olšák2010-03-191-20/+4
| | | | | | | | | | | | | | | | Fixing RGBA 4ub vertex colors.
| * | | r300c/r300g: add 3155 rv380 pci idDave Airlie2010-04-191-0/+1
| | | |
| * | | r300g: Remove unnecessary headers.Vinson Lee2010-04-182-3/+0
| | | |
| * | | r300g: implement TRUNC as floorMarek Olšák2010-04-191-1/+1
| | | |
| * | | r300/compiler: lower CEILMarek Olšák2010-04-191-1/+1
| | | |
| * | | r300g: more solid is_buffer_referenced implementationMarek Olšák2010-04-183-11/+19
| | | | | | | | | | | | | | | | | | | | This fixes crash from 7a1b5c937fa32968a04a11649e456a1ef8c5b442, and also removes the unused "map" pointer.
| * | | Revert "r300g: save vertex buffers around u_blitter calls"Marek Olšák2010-04-181-1/+3
| | | | | | | | | | | | | | | | Not sure why it crashes.
| * | | r300g: do not tell st that a buffer is referenced by hwMarek Olšák2010-04-184-8/+12
| | | | | | | | | | | | | | | | It saves a few libdrm calls and unnecessary flushes.
| * | | r300g: save vertex buffers around u_blitter callsLuca Barbieri2010-04-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Not strictly needed by the Mesa state tracker, but needed in general. Only compile tested.
| * | | r300g: fixup 0 stride buffer properly.Dave Airlie2010-04-181-8/+7
| | |/ | |/| | | | | | | | | | | | | | | | Just set the max index to 1, this lets doom3 run and seems correct, though it would be better to just emit a constant like SVGA does. Signed-off-by: Dave Airlie <[email protected]>
| * | r300g: Cast rbuf->user_buffer to 'uint8_t *' before arithmetic.Vinson Lee2010-04-171-1/+1
| | | | | | | | | | | | | | | Fixes this SCons build error. "pointer of type 'void *' uses in arithmetic"
| * | r300g: various other cleanupsMarek Olšák2010-04-1812-86/+71
| | | | | | | | | | | | | | | | | | It seems to me that the resource management code is the most blurry. Also some of my notes about fastfill are wrong, removing them too.
| * | r300g: inline screen_buffer functionsMarek Olšák2010-04-181-84/+36
| | |
| * | r300g: remove unused declarationsMarek Olšák2010-04-181-4/+0
| | |
| * | r300g: add debugging options "notiling" and "noimmd" (for testing)Marek Olšák2010-04-184-9/+18
| | | | | | | | | | | | | | | notiling = Disable texture tiling noimmd = Disable immediate mode (this optimization was really worth it!)
| * | r300g: remove r300_transfer::ctxMarek Olšák2010-04-181-5/+1
| | |