Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: enable OpenGL 2.1 on r3xx-r4xx chipsets | Marek Olšák | 2010-04-05 | 1 | -5/+1 |
| | |||||
* | r300g: add fallback for back stencil reference value and masks for r3xx-r4xx | Marek Olšák | 2010-04-05 | 5 | -37/+275 |
| | | | | | | | | | | | This splits rendering into two passes when front and back stencil reference value, value mask, or write mask don't match. The advantages of doing it in the driver instead of in st are: * SWTCL is executed just once and the resulting vertex buffer is reused in the second pass. * Lower driver overhead due to the fallback being very close to the actual draw emission with minimum state change. | ||||
* | r300g: simplify accessing screen from context | Marek Olšák | 2010-04-05 | 13 | -94/+79 |
| | |||||
* | r300g: remove some XXXs | Marek Olšák | 2010-04-05 | 2 | -2/+0 |
| | | | | We can't have more than 8 texcoord outputs in VS. | ||||
* | r300g: raise the number of texture units to 16 for all supported chipsets | Marek Olšák | 2010-04-05 | 6 | -11/+13 |
| | | | | | | | | As per Radeon 9700 Opengl Programming and Optimization Guide [1], there are 16 texture units even on the first r300 chipsets. If you think I am wrong, feel free to propose a patch. [1] Here's PDF: http://people.freedesktop.org/~mareko/ | ||||
* | r300/compiler: make the max number of fragment shader temporaries adjustable | Marek Olšák | 2010-04-05 | 1 | -0/+1 |
| | |||||
* | r300g: is_npot -> uses_pitch | Marek Olšák | 2010-04-05 | 4 | -7/+9 |
| | |||||
* | r300g: enable conditional rendering also for SWTCL | Marek Olšák | 2010-04-05 | 1 | -0/+8 |
| | |||||
* | r300g: fix TFP stride override. | Dave Airlie | 2010-04-04 | 1 | -1/+1 |
| | | | | | | We should use pitch for the overriden state, fixes one half of the tfp test. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: add conditional rendering | Marek Olšák | 2010-04-04 | 3 | -0/+33 |
| | |||||
* | r300g: add r4xx fragment shader registers | Marek Olšák | 2010-04-04 | 1 | -1/+47 |
| | | | | In case anyone needs it, it's here. | ||||
* | r300g: do not use the c++ template keyword | Marek Olšák | 2010-04-04 | 2 | -27/+27 |
| | | | | It makes life for some code browsing utilites easier. | ||||
* | r300g: properly setup textures from X server | Marek Olšák | 2010-04-04 | 1 | -4/+3 |
| | | | | The setup needs be done after querying tiling flags. | ||||
* | r300g: fix color tiling for buffer from X server. | Dave Airlie | 2010-04-03 | 2 | -0/+6 |
| | | | | | | | The tiling setup needs a bit of work, but this should be good enough for now, when we get buffers from the kernel we need to store their tiling properties. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | util: Revert unsolicited, untested, unreviewed, and broken changes to format ↵ | José Fonseca | 2010-04-03 | 2 | -3/+21 |
| | | | | | | | support. Not all is bad, but I'm afraid I'll have to throw the baby with the water given they are all tied to together. | ||||
* | r300g: Expound on dithering comment. | Corbin Simpson | 2010-04-02 | 1 | -4/+9 |
| | |||||
* | r300g: make dithering work like fglrx. | Dave Airlie | 2010-04-03 | 1 | -2/+4 |
| | | | | | | From fglrx traces the dithering is never enabled. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | llvmpipe: limit max texture size to 2Kx2K for now | Brian Paul | 2010-04-02 | 3 | -1/+8 |
| | | | | | | | | MAXWIDTH/HEIGHT were 2048 but the max texture size was 4096. This caused a crash if a 4Kx4K texture was created and rendered to. See comment about max framebuffer size in lp_scene.h. Also added assertions to catch this inconsistancy in the future. | ||||
* | softpipe: remove S3TC init, since it's done on-demand now | Luca Barbieri | 2010-04-02 | 1 | -2/+0 |
| | |||||
* | gallium/util: revert util_format_init addition | Luca Barbieri | 2010-04-02 | 2 | -3/+1 |
| | | | | | | | | | | Putting calls to util_format_init all over the codebase is infeasible. Instead, half float tables are pregenerated, and the s3tc library is loaded on demand. I believe this is a solution that combines performance, cleanliness, flexibility and portability. | ||||
* | gallium/util: add util_format_is_supported to check for pack/unpack | Luca Barbieri | 2010-04-02 | 1 | -19/+1 |
| | | | | | This improves the code by making it more readable, and removes special knowledge of S3TC and other formats from softpipe. | ||||
* | nv50: call util_format_init | Luca Barbieri | 2010-04-02 | 1 | -0/+3 |
| | | | | Needed to fetch static vertex attributes. | ||||
* | gallium/util: add util_format_init that inits s3tc and util_half | Luca Barbieri | 2010-04-02 | 1 | -1/+2 |
| | | | | | | | | Switch from auto-init to explicit init for util_half per Brian Paul's indication. NOTE: this is probably broken because not enough things call util_format_init. Will be fixed shortly | ||||
* | llvmpipe: Support sampling from PIPE_FORMAT_R32_FLOAT. | José Fonseca | 2010-04-01 | 1 | -1/+2 |
| | |||||
* | llvmpipe: More tweaks to the supported texture formats. | José Fonseca | 2010-04-01 | 1 | -10/+6 |
| | |||||
* | llvmpipe: Fix build... | José Fonseca | 2010-04-01 | 1 | -0/+23 |
| | |||||
* | llvmpipe: Fix (un)swizzling, broken due to use of VOID channels. | José Fonseca | 2010-04-01 | 1 | -2/+10 |
| | |||||
* | r300g: Remove unnecessary header. | Vinson Lee | 2010-03-31 | 1 | -1/+0 |
| | |||||
* | r300g: add RGBA16F colorbuffer support | Marek Olšák | 2010-04-01 | 1 | -5/+8 |
| | | | | Disabled by default due to unresolved IP issues. | ||||
* | r300g: add RGTC texture support | Marek Olšák | 2010-04-01 | 3 | -1/+56 |
| | | | | The CS checker already knows about this. | ||||
* | r300g: format handling cleanup | Marek Olšák | 2010-04-01 | 2 | -24/+16 |
| | |||||
* | softpipe: Use S3TC when avaiilable, | José Fonseca | 2010-03-31 | 1 | -5/+8 |
| | |||||
* | llvmpipe: Don't call unused generate_clamp(). | José Fonseca | 2010-03-31 | 1 | -2/+0 |
| | |||||
* | llvmpipe: Disable threads by default on embedded. | José Fonseca | 2010-03-31 | 1 | -0/+4 |
| | |||||
* | llvmpipe: Don't rely on u_format_access.py | José Fonseca | 2010-03-31 | 3 | -8/+7 |
| | |||||
* | Merge branch 'gallium-new-formats' | Roland Scheidegger | 2010-03-31 | 30 | -59/+59 |
|\ | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_format.csv src/gallium/auxiliary/util/u_format_access.py src/gallium/auxiliary/util/u_format_pack.py | ||||
| * | Merge branch 'master' into gallium-new-formats | Roland Scheidegger | 2010-03-30 | 5 | -6/+169 |
| |\ | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_format.csv | ||||
| * | | gallium: adapt all code to the renamed depth/stencil formats | Roland Scheidegger | 2010-03-30 | 30 | -59/+59 |
| | | | |||||
* | | | llvmpipe: More accurate format capability exporting. | José Fonseca | 2010-03-31 | 1 | -5/+1 |
| | | | |||||
* | | | llvmpipe: Drop the aos format conversion. | José Fonseca | 2010-03-31 | 3 | -316/+1 |
| | | | | | | | | | | | | It's unused and incomplete. Still in git history if necessary in future. | ||||
* | | | i965g: Fix assertion that was always true. | Vinson Lee | 2010-03-30 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | surface_format field is a 9-bit field and the value of BRW_SURFACEFORMAT_INVALID exceeds 9 bits. | ||||
* | | | identity: Remove unnecessary header. | Vinson Lee | 2010-03-30 | 1 | -1/+0 |
| | | | |||||
* | | | Merge branch '7.8' | Michel Dänzer | 2010-03-30 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h Resolved by keeping version strings from master (also in the intel driver). | ||||
| * | | | i965g: Add brw_winsys_debug.c to SCons build. | Vinson Lee | 2010-03-27 | 1 | -0/+1 |
| | | | | |||||
| * | | | identity: Add id_drm.c to SCons build. | Vinson Lee | 2010-03-27 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | This was missed in commit f7cbaae13d67c55abe81ac230de37f564365099f. (cherry picked from commit 02ee7c29502966dffa44243bfc8c20c15907b880) | ||||
* | | | | r300g: Remove unused variable. | Vinson Lee | 2010-03-29 | 1 | -1/+0 |
| | | | | |||||
* | | | | r300g: Remove unnecessary header. | Vinson Lee | 2010-03-29 | 1 | -2/+0 |
| | | | | |||||
* | | | | r300g: Bind constantbuf to Draw immediately, don't wait for render. | Corbin Simpson | 2010-03-29 | 2 | -16/+6 |
| |_|/ |/| | | | | | | | | Doesn't hurt, and reduces code duplication. | ||||
* | | | Add test case for lp_bld_printf() | Chris Li | 2010-03-29 | 2 | -1/+164 |
| | | | |||||
* | | | i965g: util_format_is_compressed() -> util_format_is_s3tc(). | José Fonseca | 2010-03-29 | 1 | -2/+2 |
| | | |