Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Document drawing commands. | Michal Krol | 2010-01-14 | 1 | -2/+57 |
| | |||||
* | Merge branch 'instanced-arrays' | Michal Krol | 2010-01-14 | 26 | -129/+547 |
|\ | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c | ||||
| * | svga: Fix call to translate::run(). | Michal Krol | 2010-01-13 | 1 | -1/+1 |
| | | |||||
| * | gallium: draw_arrays/elements_instanced() are of type void. | Michal Krol | 2010-01-12 | 3 | -39/+39 |
| | | |||||
| * | gallium: Handle InstanceID as a true 32-bit uint. | Michal Krol | 2010-01-05 | 2 | -22/+14 |
| | | |||||
| * | Merge branch 'master' into instanced-arrays | Michal Krol | 2010-01-05 | 436 | -7586/+11997 |
| |\ | | | | | | | | | | | | | | | | 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 Krol | 2009-12-30 | 11 | -44/+118 |
| | | | | | | | | | | | | It's all screaming for integer support -- fake it with float for now. | ||||
| * | | tgsi: Support system values in ureg. | Michal Krol | 2009-12-30 | 2 | -0/+42 |
| | | | |||||
| * | | draw: Implement draw_arrays() in terms of draw_arrays_instanced(). | Michal Krol | 2009-12-30 | 1 | -26/+18 |
| | | | |||||
| * | | sp: Generalise drawing code to remove dupes. | Michal Krol | 2009-12-30 | 1 | -81/+84 |
| | | | | | | | | | | | | Also, avoid nested draw calls from simpler versions. | ||||
| * | | sp: Implement draw_elements_instanced(). | Michal Krol | 2009-12-30 | 3 | -2/+55 |
| | | | |||||
| * | | Implement instanced indexed draw. | Michal Krol | 2009-12-30 | 6 | -12/+26 |
| | | | |||||
| * | | translate: Fix a call to indexed SSE run. | Michal Krol | 2009-12-30 | 1 | -0/+2 |
| | | | |||||
| * | | translate: Implement instancing for linear SSE run. | Michal Krol | 2009-12-30 | 1 | -34/+120 |
| | | | |||||
| * | | rtasm: Add x86_div(). | Michal Krol | 2009-12-30 | 2 | -0/+8 |
| | | | |||||
| * | | Implement draw_arrays_instanced() in softpipe. | Michal Krol | 2009-12-29 | 17 | -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 Krol | 2009-12-29 | 1 | -2/+7 |
| | | | | | | | | | | | | Sizes of translate keys must also match. | ||||
| * | | gallium: Move instance_divisor field from vertex_buffer to vertex_element. | Michal Krol | 2009-12-29 | 1 | -1/+5 |
| | | | |||||
| * | | gallium: Add interfaces needed for instanced drawing. | Michal Krol | 2009-12-23 | 3 | -1/+19 |
| | | | |||||
* | | | r300g: Cleanup from last few commits. | Corbin Simpson | 2010-01-14 | 1 | -5/+1 |
| | | | | | | | | | | | | Strangely enough, the code solidified pretty quickly. | ||||
* | | | r300g: Really destroy translated buffer at the end. | Łukasz Krotowski | 2010-01-14 | 1 | -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 initializers | Brian Paul | 2010-01-14 | 1 | -3/+10 |
| | | | |||||
* | | | egl_g3d: Check if the creation of pipe or st context fails. | Chia-I Wu | 2010-01-14 | 1 | -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 Wu | 2010-01-14 | 7 | -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 Simpson | 2010-01-13 | 1 | -3/+5 |
| | | | |||||
* | | | r300g: Use indices to translate index buffers of ubytes. | Corbin Simpson | 2010-01-13 | 1 | -7/+58 |
| | | | | | | | | | | | | progs/redbook/aapoly, among others, works fine now. | ||||
* | | | radeong: Change DRI driver name to radeong. | Corbin Simpson | 2010-01-13 | 1 | -1/+1 |
| | | | |||||
* | | | r300g: Disable immediate mode rendering for now. | Corbin Simpson | 2010-01-13 | 1 | -1/+1 |
| | | | | | | | | | | | | Will re-enable when the bugs are ironed out. | ||||
* | | | gallium/draw: s/clipper/clip_stage/ to be consistant with other stages | Brian Paul | 2010-01-13 | 1 | -9/+9 |
| | | | |||||
* | | | gallium/draw: whitespace and comments | Brian Paul | 2010-01-13 | 1 | -7/+9 |
| | | | |||||
* | | | gallium/draw: remove always-true conditional | Brian Paul | 2010-01-13 | 1 | -3/+1 |
| | | | |||||
* | | | gallium: remove forward struct decl | Brian Paul | 2010-01-13 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | Other struct types (like pipe_texture) are referenced before they're defined so no reason to special-case this one. | ||||
* | | | DRI2: don't send DRI2 requests the server doesn't know about | Jesse Barnes | 2010-01-13 | 1 | -5/+13 |
| | | | | | | | | | | | | | | | | | | At init time, NULL out the hooks that send the server new requests. DRI2 never supported these extensions, so this preserves old behavior on old servers with new Mesa. | ||||
* | | | GLX/DRI2: pass X drawable ID instead | Jesse Barnes | 2010-01-13 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | These happened to be the same in my testing since I was using apps that depend on the GLX 1.2 behavior where X and GLX drawables are interchangeable. | ||||
* | | | r300g: Account for CS space used per atom. | Corbin Simpson | 2010-01-13 | 4 | -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 Simpson | 2010-01-13 | 1 | -8/+6 |
| | | | |||||
* | | | r300g: DCE in emit. | Corbin Simpson | 2010-01-13 | 1 | -26/+0 |
| | | | |||||
* | | | r300g: Lower the immd mode threshold. | Corbin Simpson | 2010-01-12 | 1 | -3/+8 |
| | | | |||||
* | | | r300g: Fix is_r400 status for rs4xx and rc4xx. | Corbin Simpson | 2010-01-12 | 1 | -4/+0 |
| | | | | | | | | | | | | As suggested by agd5f. | ||||
* | | | r300g: Switch to immediate mode for tiny renders. | Corbin Simpson | 2010-01-12 | 1 | -4/+40 |
| | | | | | | | | | | | | Useful for e.g. blitter. | ||||
* | | | r300g: emit blend LTE/GTE thresholds on >=RV350 | Marek Olšák | 2010-01-12 | 1 | -1/+3 |
| | | | | | | | | | | | | As per classic r300. | ||||
* | | | r300g: update the texture initialization so that it respects tiling | Marek Olšák | 2010-01-12 | 1 | -6/+50 |
| | | | | | | | | | | | | This is still work-in-progress and tiling is not enabled by default. | ||||
* | | | r300g: add emission of texture tiling bits | Marek Olšák | 2010-01-12 | 3 | -11/+32 |
| | | | |||||
* | | | r300g: add is_r400 flag | Marek Olšák | 2010-01-12 | 2 | -1/+22 |
| | | | | | | | | | | | | r4xx has some additional fragment shader registers compared to r3xx. | ||||
* | | | r300g: silence a warning | Marek Olšák | 2010-01-12 | 1 | -1/+1 |
| | | | |||||
* | | | r300g: only emit scissor when needed | Marek Olšák | 2010-01-12 | 2 | -2/+4 |
| | | | | | | | | | | | | | | | | | | Reverting some bits from ce1c493ff8fad4b62e2b66f06636ac6560a6e0ad. Given the latest fixes, it's not needed to always emit scissor, really. | ||||
* | | | Revert "r300g: Placate kernel checker by explicitly disabling depth test." | Marek Olšák | 2010-01-12 | 1 | -8/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e920ee23b32f6031a7b8527b540566e7ada6af8a. Assuming the FB state is not dirty and the DSA state is, then the depth test will be re-enabled, making the kernel checker angry. Reverting the commit fixes piglit/glsl-bug-22603. | ||||
* | | | r300g: mark all states as dirty after flush | Marek Olšák | 2010-01-12 | 1 | -0/+9 |
| | | | | | | | | | | | | It fixes almost all regressions introduced lately. | ||||
* | | | nv50: fix 2 off by one memory leaks (nv50_miptree_level->image_offset) | Marcin Slusarz | 2010-01-12 | 1 | -2/+2 |
| | | | |||||
* | | | nv50: fix memory leak on nv50_pc free | Marcin Slusarz | 2010-01-12 | 1 | -0/+2 |
| | | |