summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-16Remove nonexistant files from tarballs rule of Makefile7.8-rc1Ian Romanick1-15/+1
The Makefile should eventually be fixed to stop building tarballs if one of the individual calls to tar fails.
2010-03-16mesa: set version string to 7.8-rc1Ian Romanick2-2/+2
2010-03-15Replace _mesa_strtod with _mesa_strtof.Marcin Baczyński6-18/+20
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-13mesa: Fix memory leak in decompress-with-blit.Keith Whitwell1-0/+2
(cherry picked from commit f05a4ee6f2840590c90da4be2fe5c6295410a5af)
2010-03-12vmwgfx/dri: Fix SCons build.Michel Dänzer1-0/+1
2010-03-12st/dri: Always try to set up R5G6B5 configs.Michel Dänzer1-49/+52
Allows compiz to work in depth 16. The DRI2 getBuffersWithFormat hook is only required for 16/32 bit depth buffers, for colour buffers the only requirement is that the format matches the drawable depth, which we can't check here. (cherry picked from commit c50477c255a34444720fb944c54373462ef39fb9)
2010-03-12dri/r700: include shader/programopt.h instead of programopt.c.Luc Verhaegen1-1/+1
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12Add programs to .gitignore in redbookJeff Smith1-0/+13
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12Add programs to .gitignore in xdemosJeff Smith1-3/+4
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12Add -L$(libdir) for xdemos and egl so that the right libX11 is foundJeff Smith2-4/+4
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-12Grammar and spelling fixesJeff Smith30-33/+33
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-11radeon: Fix memory leaks from early return.Vinson Lee1-0/+2
2010-03-11st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/Brian Paul1-1/+1
2010-03-11st/mesa: fix st_set_framebuffer_surface() state validationBrian Paul1-38/+12
Set the _NEW_BUFFERS flag and remove the code which updated the parent framebuffer size. Normal Mesa state validation will do that. Fixes issues with Warsow on r300g and possibly other bugs.
2010-03-11st/xorg: Fixup configureJakob Bornecrantz1-4/+12
Make sure we always test for XEXT version. Make sure that the user has a recent version of libkms and libdrm installed. Note that the st/xorg code requires so new versions to work but these are needed to make a proper vmwgfx_drv.so driver which is the only real user. Cherry picked from 46cf606cd35d6740b28fd26bd32dbdfdde2c7833 Conflicts: configure.ac
2010-03-11ARB prog parser: added (float) casts and regenerate filesBrian Paul2-30/+16
2010-03-11st/xorg: Include cursorstr.hJakob Bornecrantz1-0/+1
2010-03-10windows: fix compilation errors and warningsKarl Schultz5-21/+57
2010-03-10windows: Quiet warning by not defining YY_NO_UNISTD_H.Karl Schultz1-32/+32
2010-03-10st/mesa: fix incorrect glCopyPixels between window/FBOBrian Paul1-4/+16
There was a DrawBuffer/ReadBuffer typo and we were neglecting to invert the texture coords when copying from a window to an FBO. Plus, add some surface dump/debug code (disabled). (cherry picked from commit 34f02071618624263eba839b5aeb930d0e794078)
2010-03-10st/mesa: fix incorrect glDrawPixels into FBOBrian Paul1-2/+7
We weren't inverting the textured quad when drawing into an fbo. (cherry picked from commit 8d3f629a13afb0d6acafc7a007972fdc5efe6847)
2010-03-10st/xorg: Work around cursor reference counting bugs in older X servers.Michel Dänzer3-0/+20
Could result in use of freed memory and consequently random crashes, e.g. on screen resize. (cherry picked from commit 21c91b410a2a2cbf8eb677e59e3322f86320f2b0) Conflicts: src/gallium/state_trackers/xorg/xorg_tracker.h
2010-03-08radeon: don't attempt to use alternate blit formats for depth buffersAlex Deucher1-0/+4
noticed by fredrikh on IRC.
2010-03-08softpipe: zero-out entire clear_flags array in sp_tile_cache_flush_clear()Brian Paul1-3/+4
Before, we only cleared the flags for the active tiles (the ones inside the framebuffer bound). The problem is if we later bound a different, larger surface to the tile cache we'd have some stale clear-flags still set (and mistakenly clear some tiles in the new surface). Fixes fd.o bug 26932.
2010-03-08st/mesa: don't detach renderbuffer, surface in st_finish_render_texture()Brian Paul1-5/+0
There's no reason to release the renderbuffer from the framebuffer object or release the gallium surface in this function (they're reference counted). In fact, we don't want to do this because we may later use the texture as a pixel source (ex: glBlitFramebuffer) and need the surface. Fixes fd.o bug 26923 and is part of the fix for bug 26932.
2010-03-08r600: enable GL_ARB_pixel_buffer_objectAlex Deucher1-0/+1
2010-03-08mesa: add additional missing z formats for render to textureBrian Paul1-15/+83
Allow render to texture for X8_Z24 and Z24_X8 formats. Replace big if/else with switch, etc.
2010-03-08radeon/r200/r600: allow src and dst BOs to be placed in GTT during blitAlex Deucher3-24/+6
2010-03-08radeon/r200/r600: reset bos when validating buffers during blitAlex Deucher3-0/+8
2010-03-08r600: recalculate point size, if point min/max size changesAlex Deucher1-0/+2
2010-03-08r600: no need to flush on context initAlex Deucher1-2/+0
2010-03-08r300: don't enable EXT_packed_depth_stencilMaciej Cencora1-1/+3
R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats.
2010-03-08radeon: no need to emit full state twice after flushMaciej Cencora1-5/+0
2010-03-08r300: allow src and dst BOs to be placed in GTT during blitMaciej Cencora1-8/+2
Fixes some relocation failures
2010-03-08r300: reset bos when validating buffers during blitMaciej Cencora1-0/+3
2010-03-08radeon: fallback to software in glCopyTexImage if blit isn't availableMaciej Cencora1-0/+4
2010-03-08r300: VAP flush is needed only when vertex program or constants are changedMaciej Cencora4-25/+2
2010-03-08r300: recalculate point size, if point min/max size changesMaciej Cencora1-0/+2
Fixes two wine d3d9 unit tests
2010-03-08r300: no need to flush on context initMaciej Cencora1-2/+0
2010-03-08r300: remove unnecessary codeMaciej Cencora1-17/+0
_tnl_UpdateFixedFunctionProgram is already called in r300_draw.c
2010-03-08mesa: add render-to-texture case for MESA_FORMAT_S8_Z24Brian Paul1-0/+5
2010-03-08mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbufferBrian Paul1-1/+1
MESA_FORMAT_Z16 has no stencil bits.
2010-03-08st/vega: Fix OpenVG demo segfaults.Chia-I Wu1-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.
2010-03-06gallivm: Initialize variables for default cases.Vinson Lee1-0/+4
Fixes use of uninitialized variables in non-debug builds.
2010-03-05progs/demos: Add arbocclude2 to Makefile and .gitignore.Vinson Lee2-0/+2
2010-03-05glx: Move initialization of ext_list_first_time to where it's storage is ↵Brian Paul4-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 <jon.turney@dronecode.org.uk> Signed-off-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 96ab4d2b84178209ee59017458d9964b32b7e183)
2010-03-05docs: remove merge conflict garbageBrian Paul1-1/+0
2010-03-05meta: Use the DrawBuffer's stencil sizeIan Romanick1-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 <ian.d.romanick@intel.com>
2010-03-05swrast: Remove redundant test of the visual's accumulation buffer sizeIan Romanick1-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 <ian.d.romanick@intel.com>
2010-03-05swrast: Adjust colors based on ReadBuffer visual, not context visualIan Romanick1-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 <ian.d.romanick@intel.com>