summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_7_branch'Jakob Bornecrantz2010-01-147-177/+135
|\ | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
| * st/dri: Make sure we always request a fake front.Thomas Hellstrom2010-01-131-2/+1
| | | | | | | | | | | | | | | | This should be the correct, but sub-optimal way to handle things on pre-1.7 servers. For servers that automatically adds a fake front we should never request the fake front and handle the reply differently. Signed-off-by: Thomas Hellstrom <[email protected]>
| * svga: Fix compile_vs error code.José Fonseca2010-01-132-3/+7
| | | | | | | | | | | | It could erroneously return PIPE_OK in some circumstances. Make compile_fs code identical.
| * Revert "util: Build u_bitmask.o when using make."Brian Paul2010-01-111-1/+0
| | | | | | | | | | | | This reverts commit 01eff0e6d23f90650de7c563f74a1aec3de112a6. u_bitmask.c was already in the C_SOURCES list.
| * st/xorg: move exaMoveInPixmap before trying to fetch itZack Rusin2010-01-111-2/+4
| | | | | | | | | | | | as Michel suggested, this is a cleaner way of fixing crashes caused by exaGetPixmapDriverPrivate returning null since the data hasn't been moved yet.
| * st/xorg: fix a rare video crashZack Rusin2010-01-111-1/+2
| | | | | | | | | | sometimes dst isn't present if a window is in a middle of a resize, stop crashing in those cases and just ignore a frame.
| * Revert "pipebuffer: Multi-threading fixes for fencing."Jakob Bornecrantz2010-01-071-170/+111
| | | | | | | | This reverts commit 5b64d94390e4805e1634f0c8b5e3156e12b8b872.
| * Revert "st/dri: no need to request fake front buffer, only handle it being ↵Thomas Hellstrom2010-01-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | returned" This reverts commit 1336989ec60fff7bd590fefd28945a0e5dc536e3. The commit breaks frontbuffer rendering and the possibility to do on-demand frontbuffer requests on all Xservers prior to 1.7. The commit should be conditioned on a dri2 version check. I've submitted a patch to Xserver to bump dri2 minor, and it's acked by Ian. To be able to check the version from within the state tracker, we will probably need another dri2 extension function that returns the server version. The protocol has support for it. Signed-off-by: Thomas Hellstrom <[email protected]>
| * util: Build u_bitmask.o when using make.Thomas Hellstrom2010-01-111-0/+1
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * r300g: Silence unused variable warnings.Vinson Lee2010-01-082-1/+2
| |
| * tgsi: Silence uninitialized variable warnings.Vinson Lee2010-01-081-0/+8
| |
| * util: Add u_bitmask to make buildJakob Bornecrantz2010-01-061-0/+1
| |
* | gallium: Document drawing commands.Michal Krol2010-01-141-2/+57
| |
* | Merge branch 'instanced-arrays'Michal Krol2010-01-1426-129/+547
|\ \ | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c
| * | svga: Fix call to translate::run().Michal Krol2010-01-131-1/+1
| | |
| * | gallium: draw_arrays/elements_instanced() are of type void.Michal Krol2010-01-123-39/+39
| | |
| * | gallium: Handle InstanceID as a true 32-bit uint.Michal Krol2010-01-052-22/+14
| | |
| * | Merge branch 'master' into instanced-arraysMichal Krol2010-01-05245-3577/+5480
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/tgsi/tgsi_dump.c src/gallium/include/pipe/p_shader_tokens.h
| * | | Add lame support for instanceID to draw module.Michal Krol2009-12-3011-44/+118
| | | | | | | | | | | | | | | | It's all screaming for integer support -- fake it with float for now.
| * | | tgsi: Support system values in ureg.Michal Krol2009-12-302-0/+42
| | | |
| * | | draw: Implement draw_arrays() in terms of draw_arrays_instanced().Michal Krol2009-12-301-26/+18
| | | |
| * | | sp: Generalise drawing code to remove dupes.Michal Krol2009-12-301-81/+84
| | | | | | | | | | | | | | | | Also, avoid nested draw calls from simpler versions.
| * | | sp: Implement draw_elements_instanced().Michal Krol2009-12-303-2/+55
| | | |
| * | | Implement instanced indexed draw.Michal Krol2009-12-306-12/+26
| | | |
| * | | translate: Fix a call to indexed SSE run.Michal Krol2009-12-301-0/+2
| | | |
| * | | translate: Implement instancing for linear SSE run.Michal Krol2009-12-301-34/+120
| | | |
| * | | rtasm: Add x86_div().Michal Krol2009-12-302-0/+8
| | | |
| * | | Implement draw_arrays_instanced() in softpipe.Michal Krol2009-12-2917-5/+130
| | | | | | | | | | | | | | | | | | | | Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset.
| * | | translate: Fix translate_key_compare().Michal Krol2009-12-291-2/+7
| | | | | | | | | | | | | | | | Sizes of translate keys must also match.
| * | | gallium: Move instance_divisor field from vertex_buffer to vertex_element.Michal Krol2009-12-291-1/+5
| | | |
| * | | gallium: Add interfaces needed for instanced drawing.Michal Krol2009-12-233-1/+19
| | | |
* | | | r300g: Cleanup from last few commits.Corbin Simpson2010-01-141-5/+1
| | | | | | | | | | | | | | | | Strangely enough, the code solidified pretty quickly.
* | | | r300g: Really destroy translated buffer at the end.Łukasz Krotowski2010-01-141-3/+5
| | | | | | | | | | | | | | | | | | | | Note that indexSize is changed by r300_translate_elts(). Also make sure it's destroyed on errors.
* | | | gallium/util: silence warning about array initializersBrian Paul2010-01-141-3/+10
| | | |
* | | | egl_g3d: Check if the creation of pipe or st context fails.Chia-I Wu2010-01-141-2/+12
| | | | | | | | | | | | | | | | It should not return an incomplete EGLContext to the users.
* | | | st/egl_g3d: Use a sequence number to decide if validation is required.Chia-I Wu2010-01-147-21/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not safe to assume that the native surface has not changed since the last validation by checking the geometry alone. Add a sequence number to "validate" callback for that purpose. This is inspired by Luca Barbieri's work.
* | | | gallium/docs: Random things sitting around in my stash.Corbin Simpson2010-01-131-3/+5
| | | |
* | | | r300g: Use indices to translate index buffers of ubytes.Corbin Simpson2010-01-131-7/+58
| | | | | | | | | | | | | | | | progs/redbook/aapoly, among others, works fine now.
* | | | radeong: Change DRI driver name to radeong.Corbin Simpson2010-01-131-1/+1
| | | |
* | | | r300g: Disable immediate mode rendering for now.Corbin Simpson2010-01-131-1/+1
| | | | | | | | | | | | | | | | Will re-enable when the bugs are ironed out.
* | | | gallium/draw: s/clipper/clip_stage/ to be consistant with other stagesBrian Paul2010-01-131-9/+9
| | | |
* | | | gallium/draw: whitespace and commentsBrian Paul2010-01-131-7/+9
| | | |
* | | | gallium/draw: remove always-true conditionalBrian Paul2010-01-131-3/+1
| | | |
* | | | gallium: remove forward struct declBrian Paul2010-01-131-4/+0
| | | | | | | | | | | | | | | | | | | | Other struct types (like pipe_texture) are referenced before they're defined so no reason to special-case this one.
* | | | r300g: Account for CS space used per atom.Corbin Simpson2010-01-134-18/+55
| | | | | | | | | | | | | | | | | | | | | | | | Oh yeah, those atoms are startin' to pay off. The main obstacle now for OA playability is the absurdly low default mouse sensitivity, IMO. Not totally smooth yet, but getting there.
* | | | r300g: Two dirty state optimizations.Corbin Simpson2010-01-131-8/+6
| | | |
* | | | r300g: DCE in emit.Corbin Simpson2010-01-131-26/+0
| | | |
* | | | r300g: Lower the immd mode threshold.Corbin Simpson2010-01-121-3/+8
| | | |
* | | | r300g: Fix is_r400 status for rs4xx and rc4xx.Corbin Simpson2010-01-121-4/+0
| | | | | | | | | | | | | | | | As suggested by agd5f.
* | | | r300g: Switch to immediate mode for tiny renders.Corbin Simpson2010-01-121-4/+40
| | | | | | | | | | | | | | | | Useful for e.g. blitter.