summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* softpipe: Fix division by zeroArpad Borsos2010-04-141-3/+3
| | | | | | | This can be triggered by running the cairo tests using the gl backend and softpipe. Signed-off-by: Brian Paul <[email protected]>
* i915g: Fix assert.Vinson Lee2010-04-111-1/+1
|
* softpipe: index the correct blend/mask state indexBrian Paul2010-04-051-2/+4
| | | | | | | | Need to check pipe_blend_state::independent_blend_enable to determine which render target/index to use when checking blend enable and colormask state. This is part of the fix for piglit/fbo-drawbuffers
* util: Use GCC atomic bultins on GCC 4.1 and higher only.Vinson Lee2010-04-031-1/+1
|
* st/vega: Do not depend on libm.Chia-I Wu2010-04-021-2/+3
| | | | | This fixes the "no rule to make target -lm" error on darwin, reported by Jeremy Huddleston.
* i965g: Add brw_winsys_debug.c to SCons build.Vinson Lee2010-03-271-0/+1
|
* identity: Add id_drm.c to SCons build.Vinson Lee2010-03-271-1/+2
| | | | | This was missed in commit f7cbaae13d67c55abe81ac230de37f564365099f. (cherry picked from commit 02ee7c29502966dffa44243bfc8c20c15907b880)
* softpipe: comments, re-formatting, etcBrian Paul2010-03-231-14/+24
|
* softpipe: add special cases for all Z compare modes for 16-bit Z bufferBrian Paul2010-03-232-173/+195
| | | | | | | | We had fast paths for PIPE_FUNC_LESS and LEQUAL before. To satisfy OpenGL invariance rules, all depth compare modes should produce the same fragment Z values. Fixes progs/demos/singlebuffer.c
* st/glx: better format selection in xmesa_choose_z_stencil_format()Brian Paul2010-03-231-17/+24
| | | | | This is a back-port of commit ef2664da6c4db1b52ef351641e3ee949b87f9c7b from master.
* r300g: remove hacks from translate_vertex_data_swizzleMarek Olšák2010-03-191-20/+4
| | | | Fixing RGBA 4ub vertex colors.
* cell: return 1 for PIPE_CAP_BLEND_EQUATION_SEPARATEBrian Paul2010-03-171-0/+2
| | | | | With this feature, we get OpenGL version 2.0 and the progs/glsl/ demos run as-is.
* cell: be more conservative in cell_is_format_supported()Brian Paul2010-03-171-5/+9
| | | | | This fixes a regression from commit a84575cdc0c8193b2c7858734e2ec6b1ec4511b2 which changed the depth/stencil format we were trying to use.
* vmwgfx/dri: Fix SCons build.Michel Dänzer2010-03-121-0/+1
|
* st/dri: Always try to set up R5G6B5 configs.Michel Dänzer2010-03-121-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)
* Grammar and spelling fixesJeff Smith2010-03-126-7/+7
| | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* st/xorg: Include cursorstr.hJakob Bornecrantz2010-03-111-0/+1
|
* st/xorg: Work around cursor reference counting bugs in older X servers.Michel Dänzer2010-03-103-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
* softpipe: zero-out entire clear_flags array in sp_tile_cache_flush_clear()Brian Paul2010-03-081-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.
* st/vega: Fix OpenVG demo segfaults.Chia-I Wu2010-03-081-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 Lee2010-03-061-0/+4
| | | | Fixes use of uninitialized variables in non-debug builds.
* gallivm: checkpoint: code gen for mipmap selectionBrian Paul2010-03-051-0/+65
|
* llvmpipe: added code to set texture depth, max mipmap levels infoBrian Paul2010-03-054-5/+23
|
* gallivm: added methods for getting texture depth, num mipmap levelsBrian Paul2010-03-051-0/+12
|
* gallivm: checkpoint: texture LOD computation code genBrian Paul2010-03-051-3/+126
|
* gallivm: added field for sampler lodBrian Paul2010-03-052-4/+6
|
* llvmpipe: add pipe_thread_wait() callsBrian Paul2010-03-051-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 restrictionsBrian Paul2010-03-051-0/+3
|
* gallivm: minor arithmetic improvementsBrian Paul2010-03-051-9/+12
|
* gallivm: implement non-normalized texture wrap modesBrian Paul2010-03-051-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 samplingBrian Paul2010-03-051-6/+43
| | | | CLAMP_TO_BORDER and CLAMP_TO_EDGE were doing the same thing.
* gallium/docs: updated/improve sampler state documentationBrian Paul2010-03-051-21/+77
|
* st/egl: Add support for EGL_KHR_image_base and EGL_KHR_image_pixmap.Chia-I Wu2010-03-054-3/+202
| | | | | These extensions are not quite useful until the client APIs gain support for the respective EGLImage extensions.
* st/egl: Add get_param to native display interface.Chia-I Wu2010-03-054-0/+72
| | | | | | | 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.
* st/egl: Move modeset interface to native_modeset.h.Chia-I Wu2010-03-052-55/+89
| | | | | native.h is getting more and more complex. Move the independent modeset interface to native_modeset.h to simplify native.h a little.
* st/egl: Add event support to the native display interface.Chia-I Wu2010-03-058-14/+106
| | | | | | 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.
* softpipe: minor tweaks to texture filtering codeBrian Paul2010-03-041-9/+5
|
* gallivm: implement texture border color, plus tweaks to some wrap modesBrian Paul2010-03-041-23/+129
| | | | | | | | | | | 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.
* gallivm: added texture border_color fieldBrian Paul2010-03-042-0/+10
|
* gallivm: added question/commentBrian Paul2010-03-041-0/+1
|
* llvmpipe: new commentBrian Paul2010-03-041-0/+4
|
* gallivm: commentsBrian Paul2010-03-041-0/+5
|
* r300g: Fix indexbuf upper limits.Corbin Simpson2010-03-041-1/+6
| | | | | | | 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.
* gallivm: rework and implement more texture wrap modesBrian Paul2010-03-041-60/+448
| | | | | | | | | 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.
* gallivm: added lp_build_fract()Brian Paul2010-03-042-0/+17
|
* gallivm: added lp_build_set_sign()Brian Paul2010-03-042-0/+39
|
* gallivm: added lp_build_negate()Brian Paul2010-03-042-0/+12
|
* gallivm: clarify unsigned vs. signed integer type constructionBrian Paul2010-03-043-19/+43
| | | | | | 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.
* wgl: Fix mingw32 build.Vinson Lee2010-03-031-2/+0
| | | | This was missed in commit fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8.
* Remove support for GCC older than 3.3.0Ian Romanick2010-03-031-4/+3
| | | | Signed-off-by: Ian Romanick <[email protected]>