Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: add additional missing z formats for render to texture | Brian Paul | 2010-03-08 | 1 | -15/+83 |
| | | | | | Allow render to texture for X8_Z24 and Z24_X8 formats. Replace big if/else with switch, etc. | ||||
* | radeon/r200/r600: allow src and dst BOs to be placed in GTT during blit | Alex Deucher | 2010-03-08 | 3 | -24/+6 |
| | |||||
* | radeon/r200/r600: reset bos when validating buffers during blit | Alex Deucher | 2010-03-08 | 3 | -0/+8 |
| | |||||
* | r600: recalculate point size, if point min/max size changes | Alex Deucher | 2010-03-08 | 1 | -0/+2 |
| | |||||
* | r600: no need to flush on context init | Alex Deucher | 2010-03-08 | 1 | -2/+0 |
| | |||||
* | r300: don't enable EXT_packed_depth_stencil | Maciej Cencora | 2010-03-08 | 1 | -1/+3 |
| | | | | R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats. | ||||
* | radeon: no need to emit full state twice after flush | Maciej Cencora | 2010-03-08 | 1 | -5/+0 |
| | |||||
* | r300: allow src and dst BOs to be placed in GTT during blit | Maciej Cencora | 2010-03-08 | 1 | -8/+2 |
| | | | | Fixes some relocation failures | ||||
* | r300: reset bos when validating buffers during blit | Maciej Cencora | 2010-03-08 | 1 | -0/+3 |
| | |||||
* | radeon: fallback to software in glCopyTexImage if blit isn't available | Maciej Cencora | 2010-03-08 | 1 | -0/+4 |
| | |||||
* | r300: VAP flush is needed only when vertex program or constants are changed | Maciej Cencora | 2010-03-08 | 4 | -25/+2 |
| | |||||
* | r300: recalculate point size, if point min/max size changes | Maciej Cencora | 2010-03-08 | 1 | -0/+2 |
| | | | | Fixes two wine d3d9 unit tests | ||||
* | r300: no need to flush on context init | Maciej Cencora | 2010-03-08 | 1 | -2/+0 |
| | |||||
* | r300: remove unnecessary code | Maciej Cencora | 2010-03-08 | 1 | -17/+0 |
| | | | | _tnl_UpdateFixedFunctionProgram is already called in r300_draw.c | ||||
* | mesa: add render-to-texture case for MESA_FORMAT_S8_Z24 | Brian Paul | 2010-03-08 | 1 | -0/+5 |
| | |||||
* | mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbuffer | Brian Paul | 2010-03-08 | 1 | -1/+1 |
| | | | | MESA_FORMAT_Z16 has no stencil bits. | ||||
* | st/vega: Fix OpenVG demo segfaults. | Chia-I Wu | 2010-03-08 | 1 | -3/+0 |
| | | | | | | When the paint is color, paint_bind_samplers binds a dummy sampler without a texture. It causes demos requiring a sampler (those use a mask or an image) to crash. | ||||
* | gallivm: Initialize variables for default cases. | Vinson Lee | 2010-03-06 | 1 | -0/+4 |
| | | | | Fixes use of uninitialized variables in non-debug builds. | ||||
* | glx: Move initialization of ext_list_first_time to where it's storage is ↵ | Brian Paul | 2010-03-05 | 4 | -9/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | allocated Move the initialization of ext_list_first_time from all of the DRI loader's CreateScreen routines, to where the storage for the screen config is allocated. It needs to get set in the screen-config even if DRI is forced off using LIBGL_ALWAYS_INDIRECT, so that psc->direct_support is initialized correctly, otherwise __glXExtensionBitIsEnabled() always returns FALSE Specifically, this causes a problem with an X server which advertises GLX<=1.2, and the GLX_SGIX_fbconfig extension. glXGetFBConfigFromVisualSGIX() uses __glXExtensionBitIsEnabled() to check if the GLX_SGIX_fbconfig extension is available, but that function won't return correct information because that data has never been initialized, because ext_list_first_time was never set... Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 96ab4d2b84178209ee59017458d9964b32b7e183) | ||||
* | meta: Use the DrawBuffer's stencil size | Ian Romanick | 2010-03-05 | 1 | -1/+1 |
| | | | | | | | | | Previously the code was erroneously using the stencil size of the context instead of the stencil size of the DrawBuffer. With FBOs these may be different. As a result, clearing the stencil buffer of an FBO bound to a context that doesn't have stencil would fail. Signed-off-by: Ian Romanick <[email protected]> | ||||
* | swrast: Remove redundant test of the visual's accumulation buffer size | Ian Romanick | 2010-03-05 | 1 | -5/+1 |
| | | | | | | | | | | If the visual doesn't have an accumulation buffer, the renderbuffer passed into _swrast_clear_accum_buffer will be NULL anyway. There is no reason the check the visual. Moreover, the test erroneously checks the context's visual instead of the visual of the current DrawBuffer. With FBOs these may be different. Signed-off-by: Ian Romanick <[email protected]> | ||||
* | swrast: Adjust colors based on ReadBuffer visual, not context visual | Ian Romanick | 2010-03-05 | 1 | -9/+9 |
| | | | | | | | | In the presence of FBOs, the visual of the context may not match the, possibly fake, visual of the current ReadBuffer. Note that the caller of adjust_colors correctly uses the visual of the ReadBuffer. Signed-off-by: Ian Romanick <[email protected]> | ||||
* | swrast: Remove stray comment that mentions ctx->Visual | Ian Romanick | 2010-03-05 | 1 | -1/+0 |
| | | | | Signed-off-by: Ian Romanick <[email protected]> | ||||
* | gallivm: checkpoint: code gen for mipmap selection | Brian Paul | 2010-03-05 | 1 | -0/+65 |
| | |||||
* | llvmpipe: added code to set texture depth, max mipmap levels info | Brian Paul | 2010-03-05 | 4 | -5/+23 |
| | |||||
* | gallivm: added methods for getting texture depth, num mipmap levels | Brian Paul | 2010-03-05 | 1 | -0/+12 |
| | |||||
* | gallivm: checkpoint: texture LOD computation code gen | Brian Paul | 2010-03-05 | 1 | -3/+126 |
| | |||||
* | gallivm: added field for sampler lod | Brian Paul | 2010-03-05 | 2 | -4/+6 |
| | |||||
* | i965: Only use the effective subset of the WM sampler key. | Eric Anholt | 2010-03-05 | 1 | -4/+9 |
| | | | | | | | | The whole structure is 836 bytes, but if only the first one or two samplers are used (as is common), the part that matters is only 56 or 108 bytes. By using just that subset as the key (since the key size is also part of the key), we improve firefox-talos-gfx performance by 1%. | ||||
* | intel: Remove support for the DRI1 TFP extension. | Eric Anholt | 2010-03-05 | 7 | -144/+39 |
| | |||||
* | i965: Remove the paths for making a const surface object for a NULL BO. | Eric Anholt | 2010-03-05 | 2 | -20/+13 |
| | |||||
* | i965: Remove the unused SDC BO pointer from the sampler state key. | Eric Anholt | 2010-03-05 | 1 | -1/+0 |
| | | | | | Since it's a BO pointer, it already lives outside the key in brw->wm.sdc_bo[] which is used for sampler state lookup and setup. | ||||
* | i965: Rename SNB brw_*_key structs to gen6_*_key structs. | Eric Anholt | 2010-03-05 | 1 | -8/+8 |
| | |||||
* | i965: Pack gen6 blend_state_key structure. | Eric Anholt | 2010-03-05 | 1 | -2/+1 |
| | |||||
* | intel: Only do batchbuffer debug if --enable-debug is used. | Eric Anholt | 2010-03-05 | 1 | -0/+10 |
| | | | | | | | | This saves 6.6KB on the 965 driver, and appears to speed firefox-talos-gfx up by 1-2%. Unlike many other asserts in the driver, when we make a mistake that would trigger one of these it generally shows up all the time for developers, so turning it off for release seems fine. | ||||
* | intel: Replace batch macro contents with function calls. | Eric Anholt | 2010-03-05 | 1 | -28/+39 |
| | | | | This manages to cut down another 3800 bytes. | ||||
* | intel: Move the assertions about reloc delta from the macros to the function. | Eric Anholt | 2010-03-05 | 2 | -2/+4 |
| | | | | Cuts another 1800 bytes from the driver. | ||||
* | intel: Check that the batch is mapped per BEGIN, not each OUT. | Eric Anholt | 2010-03-05 | 1 | -1/+1 |
| | | | | Shaves 800 bytes off the driver. | ||||
* | i965: Try to assign SNB SF inputs to outputs. | Eric Anholt | 2010-03-05 | 1 | -2/+41 |
| | |||||
* | i965: Fix the SNB SF input size. | Eric Anholt | 2010-03-05 | 1 | -1/+1 |
| | |||||
* | Always return VOLATILE for ObjectPurgeable(VOLATILE) | Chris Wilson | 2010-03-05 | 1 | -4/+16 |
| | | | | | | | | | | | | Fixes fdo bug 26128. The spec mandates that VOLATILE is returned from ObjectPurgeable(VOLATILE) irrespective of the actual status of the object upon completion of marking it purgeable. Conform to the spec, even though it seems wrong. Signed-off-by: Chris Wilson <[email protected]> | ||||
* | llvmpipe: add pipe_thread_wait() calls | Brian Paul | 2010-03-05 | 1 | -0/+6 |
| | | | | | | Wait for threads to exit before cleaning up per-thread data. Fixes hang on context destruction with glean makeCurrent test. See fd.o bug 26536. | ||||
* | gallium/docs: document additional wrap mode restrictions | Brian Paul | 2010-03-05 | 1 | -0/+3 |
| | |||||
* | gallivm: minor arithmetic improvements | Brian Paul | 2010-03-05 | 1 | -9/+12 |
| | |||||
* | gallivm: implement non-normalized texture wrap modes | Brian Paul | 2010-03-05 | 1 | -39/+68 |
| | | | | | Note that only the PIPE_TEX_WRAP_CLAMP,CLAMP_TO_EDGE,CLAMP_TO_BORDER modes work with non-normalized texcoords. | ||||
* | softpipe: implement PIPE_TEX_WRAP_CLAMP_TO_EDGE for unorm texture sampling | Brian Paul | 2010-03-05 | 1 | -6/+43 |
| | | | | CLAMP_TO_BORDER and CLAMP_TO_EDGE were doing the same thing. | ||||
* | mesa: minor reformatting, new comments | Brian Paul | 2010-03-05 | 1 | -2/+9 |
| | |||||
* | DRI2: expose OML_sync_control if possible | Jesse Barnes | 2010-03-05 | 1 | -0/+3 |
| | | | | | If the server supports the OML related protocol, enable support for the extension. | ||||
* | GLX: remove debug prints from glXWaitForMscOML dispatch | Jesse Barnes | 2010-03-05 | 1 | -4/+0 |
| | | | | Leftover from earlier commit. | ||||
* | gallium/docs: updated/improve sampler state documentation | Brian Paul | 2010-03-05 | 1 | -21/+77 |
| |