summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-03-10st/xorg: Work around cursor reference counting bugs in older X servers.Michel Dänzer
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-08softpipe: zero-out entire clear_flags array in sp_tile_cache_flush_clear()Brian Paul
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/vega: Fix OpenVG demo segfaults.Chia-I Wu
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 Lee
Fixes use of uninitialized variables in non-debug builds.
2010-03-05gallivm: checkpoint: code gen for mipmap selectionBrian Paul
2010-03-05llvmpipe: added code to set texture depth, max mipmap levels infoBrian Paul
2010-03-05gallivm: added methods for getting texture depth, num mipmap levelsBrian Paul
2010-03-05gallivm: checkpoint: texture LOD computation code genBrian Paul
2010-03-05gallivm: added field for sampler lodBrian Paul
2010-03-05llvmpipe: add pipe_thread_wait() callsBrian Paul
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.
2010-03-05gallium/docs: document additional wrap mode restrictionsBrian Paul
2010-03-05gallivm: minor arithmetic improvementsBrian Paul
2010-03-05gallivm: implement non-normalized texture wrap modesBrian Paul
Note that only the PIPE_TEX_WRAP_CLAMP,CLAMP_TO_EDGE,CLAMP_TO_BORDER modes work with non-normalized texcoords.
2010-03-05softpipe: implement PIPE_TEX_WRAP_CLAMP_TO_EDGE for unorm texture samplingBrian Paul
CLAMP_TO_BORDER and CLAMP_TO_EDGE were doing the same thing.
2010-03-05gallium/docs: updated/improve sampler state documentationBrian Paul
2010-03-05st/egl: Add support for EGL_KHR_image_base and EGL_KHR_image_pixmap.Chia-I Wu
These extensions are not quite useful until the client APIs gain support for the respective EGLImage extensions.
2010-03-05st/egl: Add get_param to native display interface.Chia-I Wu
get_param can be used to query the parameters of a native display. There is only NATIVE_PARAM_USE_NATIVE_BUFFER right now. It queries whether the window/pixmap surfaces use the native buffers instead of private buffers.
2010-03-05st/egl: Move modeset interface to native_modeset.h.Chia-I Wu
native.h is getting more and more complex. Move the independent modeset interface to native_modeset.h to simplify native.h a little.
2010-03-05st/egl: Add event support to the native display interface.Chia-I Wu
There is only invalid_surface event right now. When EGL receives the event, it sets the force_validate flag of the context binding to the surface. This helps skip an unnecessary check.
2010-03-04softpipe: minor tweaks to texture filtering codeBrian Paul
2010-03-04gallivm: implement texture border color, plus tweaks to some wrap modesBrian Paul
The progs/test/texwrap demo looks pretty good, but there are still some tiny differences from softpipe. There may be a sub-pixel texcoord interpolation error somewhere. There's some room for optimization. Many of the wrap modes compute intermediate values that are constant for the texture size (see the min/max values). These could be computed earlier and stored somewhere for later use.
2010-03-04gallivm: added texture border_color fieldBrian Paul
2010-03-04gallivm: added question/commentBrian Paul
2010-03-04llvmpipe: new commentBrian Paul
2010-03-04gallivm: commentsBrian Paul
2010-03-04r300g: Fix indexbuf upper limits.Corbin Simpson
Wine tends to pessimistically use ~0 for its max index, but r300s only can go up to 2^24-1, causing the kernel checker to freak out. Civ4 is marginally improved now. Still crashes, but not as bad.
2010-03-04gallivm: rework and implement more texture wrap modesBrian Paul
All the texture wrap modes are now implemented for linear and nearest sampling. However, texture border color is not yet supported so some wrap modes will produce int coords outside the texture bounds. We'll get garbage values insted of the texture border color for now.
2010-03-04gallivm: added lp_build_fract()Brian Paul
2010-03-04gallivm: added lp_build_set_sign()Brian Paul
2010-03-04gallivm: added lp_build_negate()Brian Paul
2010-03-04gallivm: clarify unsigned vs. signed integer type constructionBrian Paul
The lp_int_type() function was creating an unsigned type. So rename that function to lp_uint_type() and create new lp_int_type() that creates a signed type.
2010-03-03wgl: Fix mingw32 build.Vinson Lee
This was missed in commit fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8.
2010-03-03Remove support for GCC older than 3.3.0Ian Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove support for creating color-index visualsIan Romanick
Remove the rgbMode and indexBits parameters from _mesa_create_visual and _mesa_initialize_visual. These values are now hardcoded to GL_TRUE and 0. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03llvmpipe: Store the original triangle coordinates in the debug build.José Fonseca
For debugging purposes only.
2010-03-03llvmpipe: Ensure context is flushed when destroying shaders.José Fonseca
2010-03-03gallium: Remove PIPE_FORMAT_R8G8B8X8_SNORM.José Fonseca
2010-03-03util: Remove PIPE_FORMAT_R8G8B8X8_SNORM information.José Fonseca
2010-03-03r300: Remove PIPE_FORMAT_R8G8B8X8_SNORM support.José Fonseca
2010-03-03llvmpipe: Linux is no longer a dependency. Llvmpipe builds and runs fine on ↵José Fonseca
windows too.
2010-03-03llvmpipe: Centralize LLVM initialization.José Fonseca
2010-03-03gallivm: Centralize initialization. Fix stack alignment issues on Windows.José Fonseca
2010-03-03llvmpipe: Update for lp_bld_init.h rename.José Fonseca
2010-03-03gallivm: Rename lp_bld_misc -> lp_bld_init.José Fonseca
2010-03-02r300g: Use a macro to consolidate general state handling.Corbin Simpson
My God, I've reinvented R300_STATECHANGE. Forgive me. :C
2010-03-02nv50: fix RT formats after format rename fixesChristoph Bumiller
Getting rid of the evil pre-processor magic, but not changing our internal format naming convention (at least for now).
2010-03-02nouveau: Rename pipe formats.José Fonseca
These format uses were being hiden by pre-processor magic and were missed in the previous search'n'replace.
2010-03-02Merge branch 'gallium-format-cleanup'José Fonseca
2010-03-02llvmpipe: improve based on review from Jose and fix else clausesZack Rusin
else was broken in the outter most else statemants, plus the code didn't need an inverted mask to compute the inverse of the current condition.
2010-03-02llvmpipe: remove some ifdefsKeith Whitwell
No longer any need to protect expensive asserts with #ifdef DEBUG.