Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ARB prog parser: include variable name in error text | Brian Paul | 2009-11-04 | 3 | -468/+749 |
| | |||||
* | r600: rework draw functions | Alex Deucher | 2009-11-04 | 1 | -64/+134 |
| | | | | | | | | | | Seems INDX_OFFSET doesn't work properly on some cards, so change back to immediate mode indices. Seems to only affect DRI1. Needs more investigation. Rework and clean up the draw functions. Signed-off-by: Alex Deucher <[email protected]> | ||||
* | r600: fix count prediction for IB case | Alex Deucher | 2009-11-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
* | Fix YTILE spantmp functions | Alan Hourihane | 2009-11-04 | 1 | -2/+2 |
| | |||||
* | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-11-03 | 3 | -13/+23 |
|\ | |||||
| * | st/mesa: clip pixels in draw_stencil_pixels to avoid crash | Marek Olšák | 2009-11-03 | 1 | -5/+15 |
| | | | | | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
| * | st/mesa: don't use util_blit_pixels_writemask() for depth or depth/stencil | Brian Paul | 2009-11-03 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | util_blit_pixels_writemask() only works for color formats at this time. Also, it might never work for depth/stencil surfaces since we can't get handle stencil values in a fragment shader. Fixes glCopyTexSubImage(GL_DEPTH_COMPONENT). | ||||
| * | st/mesa: fix tests for depth and depth/stencil texture formats | Brian Paul | 2009-11-03 | 1 | -7/+5 |
| | | |||||
| * | Add --with-dri-searchpath argument | Chow Loong Jin | 2009-10-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * Add an extra argument to configure which allows for specifying different DRI driver search paths to libGL (FDO #24766) Signed-off-by: Dan Nicholson <[email protected]> | ||||
* | | mesa: clean-up, remove some flushing in FBO functions | Brian Paul | 2009-11-03 | 1 | -7/+11 |
| | | | | | | | | | | Remove some unneeded flushes. Replace FLUSH_CURRENT w/ FLUSH_VERTICES in other places. | ||||
* | | mesa: fix indentation | Brian Paul | 2009-11-03 | 1 | -2/+1 |
| | | |||||
* | | mesa: clean-up formatting | Brian Paul | 2009-11-03 | 1 | -1/+1 |
| | | |||||
* | | mesa: avoid extraneous _NEW_BUFFER changes in _mesa_BindFramebufferEXT() | Brian Paul | 2009-11-03 | 1 | -7/+10 |
| | | |||||
* | | mesa: use FLUSH_VERTICES() in _mesa_drawbuffers() | Brian Paul | 2009-11-03 | 1 | -1/+1 |
| | | |||||
* | | mesa: avoid extraneous _NEW_BUFFER state in _mesa_drawbuffers() | Brian Paul | 2009-11-03 | 1 | -9/+29 |
| | | |||||
* | | mesa: use ffs() to shorten loop in _mesa_drawbuffers() | Brian Paul | 2009-11-03 | 1 | -6/+10 |
| | | |||||
* | | mesa: added assertion, another comment | Brian Paul | 2009-11-03 | 1 | -1/+3 |
| | | |||||
* | | intel: avoid unnecessary front buffer flushing/updating | Brian Paul | 2009-11-03 | 5 | -2/+27 |
| | | | | | | | | | | | | | | | | | | | | | | Before, if we just called glXMakeCurrent() and didn't render anything we'd still trigger a flushFrontBuffer() call. Now only set the intel->front_buffer_dirty field at state validation time just before we draw something. NOTE: additional calls to intel_check_front_buffer_rendering() might be needed if I missed some rendering paths. | ||||
* | | mesa: added comment | Brian Paul | 2009-11-02 | 1 | -0/+2 |
| | | |||||
* | | mesa: use _mesa_get_current_tex_object() | Brian Paul | 2009-11-02 | 1 | -6/+2 |
| | | |||||
* | | mesa: use _mesa_get_current_tex_object() | Brian Paul | 2009-11-02 | 1 | -13/+4 |
| | | |||||
* | | mesa: make _mesa_get_current_tex_objec() public | Brian Paul | 2009-11-02 | 2 | -31/+33 |
| | | |||||
* | | ARB prog parser: Fix a couple issues with previous merge from mesa_7_6_branch | Ian Romanick | 2009-11-02 | 2 | -190/+200 |
| | | | | | | | | | | | | | | | | Since the addition of support for Nvidia condition codes, the lexer internally uses handle_ident to select between returning IDENTIFIER and USED_IDENTIFIER. Also, use return_string instead of strdup. Fixes bug #24809. | ||||
* | | r600: implement LOG op in compiler | Pierre Ossman | 2009-11-02 | 2 | -3/+214 |
| | | |||||
* | | r600: implement EXP op in compiler | Pierre Ossman | 2009-11-02 | 2 | -3/+130 |
| | | |||||
* | | mesa: fix incorrect approx bits/channel for fxt1 formats | Brian Paul | 2009-11-02 | 1 | -2/+2 |
| | | | | | | | | See bug 24806. | ||||
* | | radeon: add missing include | Dave Airlie | 2009-10-31 | 1 | -0/+1 |
| | | |||||
* | | radeon: use _mesa_get_current_tex_unit | Dave Airlie | 2009-10-31 | 1 | -1/+1 |
| | | |||||
* | | ARB prog parser: regenerated files | Brian Paul | 2009-10-30 | 2 | -294/+321 |
| | | |||||
* | | ARB prog parser: new set_src_reg(), set_dst_reg() helpers | Brian Paul | 2009-10-30 | 1 | -28/+55 |
| | | | | | | | | These functions do sanity checks on the register file and index. | ||||
* | | mesa: better error message | Brian Paul | 2009-10-30 | 1 | -2/+2 |
| | | |||||
* | | intel: Use GTT mapping when available for swrast. | Eric Anholt | 2009-10-30 | 3 | -1/+88 |
| | | | | | | | | | | | | | | This improves piglit quick.tests runtime from 19:33 minutes to 6:06 on my GM45. It should also hide most of the A17 swizzling issues, though they'll still exist when swapping occurs (which is the kernel's problem either way). | ||||
* | | x86: Fix the test for negative pixel count in optimized rgb565 spans. | Eric Anholt | 2009-10-30 | 1 | -1/+1 |
| | | | | | | | | | | There's a bunch of bogus looking stuff the count handling in this code, but this fixes the testcases we have. | ||||
* | | intel: Fix up z24_x8 depth spans since the texformat merge. | Eric Anholt | 2009-10-30 | 1 | -12/+6 |
| | | |||||
* | | i965: Add an index assert on get_fp_inst array like other compiler arrays. | Eric Anholt | 2009-10-30 | 1 | -0/+1 |
| | | |||||
* | | i965: Fix BRW_WM_MAX_INSN to reflect current limits. | Eric Anholt | 2009-10-30 | 1 | -2/+1 |
| | | | | | | | | Part of fixing bug #24355. | ||||
* | | intel: Set the texture format in the TFP path. | Eric Anholt | 2009-10-30 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression in piglit's tfp test as of 11caea687e3f10ae12d33e44edf84635f73047dd. Additionally, set the texture format for the RGB textures to MESA_FORMAT_XRGB8888 and support it in the hw paths so that hopefully sw fallbacks involving TFP get better alpha behavior. The radeon drivers appear to need the same fix. Bug #24803 | ||||
* | | r600: remove duplicate line | Alex Deucher | 2009-10-30 | 1 | -1/+0 |
| | | |||||
* | | r600: fill in some missing tex formats | Alex Deucher | 2009-10-30 | 1 | -0/+46 |
| | | | | | | | | | | | | | | | | | | This improves shadowtex since the component ordering is at least correct now, but I'm not sure how to deal with texturing from a depth surface yet due to differences in depth and color tile layouts. Signed-off-by: Alex Deucher <[email protected]> | ||||
* | | r600: fix a warning, update comments | Alex Deucher | 2009-10-30 | 1 | -3/+3 |
| | | |||||
* | | r600: use AUTO_INDEX for draw - saves cmd buffer space | Andre Maasikas | 2009-10-30 | 1 | -18/+10 |
| | | | | | | | | also seems we can use INDX_OFFSET if start != 0 | ||||
* | | intel: fix up some XRGB breakage | Brian Paul | 2009-10-30 | 3 | -3/+6 |
| | | | | | | | | | | We weren't choosing the right XRGB span functions for reading the framebuffer. XRGB formats still aren't turned on yet though. | ||||
* | | mesa: fix inverted buffer object test | Brian Paul | 2009-10-30 | 1 | -1/+1 |
| | | | | | | | | Fixes bug 24799. | ||||
* | | mesa: fix incorrect format info for MESA_FORMAT_SL8 | Brian Paul | 2009-10-30 | 1 | -3/+3 |
| | | | | | | | | Fixes bugs 24798 and 24801. | ||||
* | | intel: update intel_create_renderbuffer(format), add XRGB support | Brian Paul | 2009-10-29 | 12 | -36/+57 |
| | | | | | | | | | | | | | | | | Pass a gl_format to intel_create_renderbuffer() instead of GLenum. Add cases for MESA_FORMAT_XRGB8888 textures and renderbuffers. However, we don't yet create any renderbuffers or textures with that format. It seems the default alpha value is zero instead of one. Need to investigate that first. | ||||
* | | mesa: fix _mesa_texstore_argb8888() for MESA_FORMAT_XRGB8888 | Brian Paul | 2009-10-29 | 1 | -1/+1 |
| | | | | | | | | | | | | If we hit the general path and call _mesa_make_temp_chan_image() we always want to get a GL_RGBA texture. We were getting a 3-channel GL_RGB texture before and that messed up the memory layout. | ||||
* | | r600: remove the no rrb messages | Alex Deucher | 2009-10-29 | 1 | -2/+0 |
| | | |||||
* | | r600: Add support for ARB_depth_clamp | Alex Deucher | 2009-10-29 | 2 | -2/+14 |
| | | |||||
* | | intel: remove memcpy_get_tex_image() code | Brian Paul | 2009-10-29 | 1 | -103/+2 |
| | | | | | | | | | | This has been lifted into core Mesa where it can be used for all drivers that use the _mesa_get_teximage() fallback for ctx->Driver.GetTexImage(). | ||||
* | | mesa: lift memcpy_get_tex_image() code from intel driver into core Mesa | Brian Paul | 2009-10-29 | 1 | -1/+83 |
| | | | | | | | | The code should work for any driver. |