summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos().José Fonseca2010-07-011-71/+159
| | | | Uses code and ideas from Brian Paul.
* gallivm: Allow to conversions to/from registers of different sizes.José Fonseca2010-07-011-4/+16
| | | | | | Allow for example to convert from 4 x float32 to 4 x unorm8 and vice versa. Uses code and ideas from Brian Paul.
* llvmpipe: Remove lp_build_swizzle2_aos().José Fonseca2010-07-011-22/+19
| | | | Unnecessary special case.
* llvmpipe: another null pointer checkBrian Paul2010-06-301-1/+1
|
* llvmpipe: use dummy tile when out of memoryBrian Paul2010-06-303-14/+33
|
* llvmpipe: added new lp_memory.[ch] filesBrian Paul2010-06-304-0/+99
| | | | Functions for using dummy tiles when we detect OOM conditions.
* llvmpipe: Add a new scene state to describe scenes which only have state ↵José Fonseca2010-06-302-19/+26
| | | | | | | | | changes. It's a rare condition, but it may happen if all primitives are clipped/culled. For now we just do a no-op rasterization, but we could bypass it.
* llvmpipe: Don't reset the bin when there's a zsbuf bound.José Fonseca2010-06-301-1/+2
| | | | | | The previous rendering may have secondary effects on the zsbuf. Fixes the missing tiles on gearbox.
* r300g: add workaround for multiple contextsMarek Olšák2010-06-303-1/+9
|
* r300g: move one flush from winsys to the contextMarek Olšák2010-06-302-19/+33
| | | | | | | This flush happens when changing the tiling flags, and it should really be done in the context. I hope this fixes FDO bug #28630.
* llvmpipe: don't crash/assert on out of memoryBrian Paul2010-06-293-13/+16
| | | | Check for null pointers and return early, etc.
* llvmpipe: restore call to lp_setup_update_state()Brian Paul2010-06-291-0/+6
| | | | | | | | | This undoes part of commit 8be645d53a0d5d0ca50e4e9597043225e2231b6d and fixes fd.o bug 28822 as well as other regressions. The 'draw' module may issue additional state-change commands while we're inside the draw_arrays/elements() call so it's important to check for updated state at this point.
* mesa: initial support for ARB_geometry_shader4Zack Rusin2010-06-283-0/+7
| | | | | | laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
* util: reference surfaces and sampler views in blitter when saving themMarek Olšák2010-06-292-23/+3
| | | | Ooops. This should possibly fix some bugs...
* glhd: Build with sconsJakob Bornecrantz2010-06-281-2/+2
|
* glhd: Re-integrate with the debug systemJakob Bornecrantz2010-06-281-1/+5
|
* glhd: Remove leftover fileJakob Bornecrantz2010-06-281-35/+0
|
* Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz2010-06-2830-399/+107
|\ | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c
| * nouveau: Remove reference to drm_apiJakob Bornecrantz2010-06-241-1/+1
| |
| * gallium: Remove drm_api and all references to itJakob Bornecrantz2010-06-248-269/+1
| |
| * r600g: Move bootstrap code to targetJakob Bornecrantz2010-06-245-5/+13
| |
| * i965g: Move bootstrap code to targetsJakob Bornecrantz2010-06-233-7/+15
| |
| * i965g: Moved pci_id to winsys structJakob Bornecrantz2010-06-232-5/+6
| |
| * r300g: Move bootstrap code to targetsJakob Bornecrantz2010-06-063-4/+11
| |
| * i915g: Move bootstrap code to targetsJakob Bornecrantz2010-06-063-7/+14
| |
| * svga: Move bootstrap code to targetsJakob Bornecrantz2010-06-063-3/+43
| |
* | llvmpipe: set WRITE_ALL only a per-tile basis in lp_resource_copy().José Fonseca2010-06-281-9/+17
| |
* | llvmpipe: Actually flush in lp_resource_copy()José Fonseca2010-06-281-2/+2
| | | | | | | | The cpu_access is redundant in a software rasterizer.
* | llvmpipe: Ensure outdated framebuffer state is not reused in ↵José Fonseca2010-06-282-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lp_setup_bind_framebuffer(). We were starting a scene whenever lp_setup_get_vertex_info() was called by the draw module. So when when all primitives were culled/clipped, not only did we create a new scene for nothing, but we end up using the old scene with the old framebuffer state instead of a new one. Fix consists in: - don't call lp_setup_update_state() in lp_setup_get_vertex_info() -- no longer necessary - always setting the scene state before binning a command -- query commands were bypassing it - assert no old scene is reused in lp_setup_bind_framebuffer()
* | r300g: fix a compile error on non-debug buildsMarek Olšák2010-06-271-1/+1
| |
* | r300g: separate the hyperz state and pipelined FB regs out of the FB stateMarek Olšák2010-06-275-11/+76
| |
* | r300g: release referenced objects in destroy_contextMarek Olšák2010-06-271-9/+40
| |
* | r300g: reference surfaces in set_framebuffer_stateMarek Olšák2010-06-271-1/+19
| |
* | r300g: group debug messagesMarek Olšák2010-06-271-21/+24
| |
* | r300g: turn rasterizer state into a command bufferMarek Olšák2010-06-274-98/+122
| |
* | r300g: move emission of the MSPOS regs into the framebuffer stateMarek Olšák2010-06-274-52/+40
| | | | | | | | | | | | | | | | Now the question is whether we are allowed to ignore gl_rasterization_rules and pipe_rasterizer_state::multisample. The former is invariant anyway and I think the latter would need re-emitting the AA state which is quite costly, considering that it implicitly flushes the whole pipeline (all AA regs in the AA state are *unpipelined*).
* | r300g: turn invariant state into a command bufferMarek Olšák2010-06-278-95/+40
| |
* | r300g: initialize some crucial state in the first CSMarek Olšák2010-06-271-7/+8
| |
* | r300g: introduce VAP invariant stateMarek Olšák2010-06-266-15/+41
| | | | | | | | Unlike other invariant states, this one must be emitted after VAP flush.
* | r300g: immediate mode cleanupMarek Olšák2010-06-261-16/+12
| |
* | r300g: update my notes about fastfill and zbuffer compressionMarek Olšák2010-06-262-11/+24
| |
* | r300g: enum r300_blitter_op is a bitmaskMarek Olšák2010-06-261-4/+4
| |
* | softpipe: rename a varBrian Paul2010-06-251-4/+4
| |
* | llvmpipe: fix comment typoBrian Paul2010-06-251-1/+1
| |
* | softpipe: fix comment typoBrian Paul2010-06-251-1/+1
| |
* | r300g: a couple more chipsets do not have HiZ RAMMarek Olšák2010-06-241-0/+4
| |
* | glhd: Add test for logicop enable.Corbin Simpson2010-06-241-0/+7
| | | | | | | | | | | | | | | | | | Only for first RT at the moment, as there is no trivial way in galahad to look at framebuffer state and (sadly) people don't usually calloc their CSOs, so flags could be wrongly set. On the other hand, of course, galahad will hopefully encourage more people to calloc their CSOs. :3
* | r300g: remove an XXX commentMarek Olšák2010-06-241-7/+0
| |
* | r300g: move AA registers into the new AA stateMarek Olšák2010-06-247-29/+80
| |
* | r300g: separate the cache flush from the framebuffer stateMarek Olšák2010-06-245-18/+54
| |