summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-09-29llvmpipe: Implement non SSE4.1 versions of floor and round.José Fonseca
2009-09-29glx: indentation fixesBrian Paul
2009-09-29Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: Makefile configs/default docs/relnotes.html src/gallium/drivers/softpipe/sp_context.c src/gallium/drivers/softpipe/sp_tile_cache.c src/mesa/main/version.h
2009-09-29mesa: bump version to 7.6.1Brian Paul
2009-09-29mesa: work-around glXCopyContext() bug in _mesa_copy_texture_state()Brian Paul
See bug 24217.
2009-09-29softpipe: initialize the clear_flags bitvector in sp_create_tile_cache()Brian Paul
This silences tons of valgrind warnings in programs that don't call glClear(), such as progs/demos/gamma.
2009-09-29softpipe: Grab a ref when the fb is set.Brian Paul
Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture. (cherry picked from commit a77226071f6814a53358a5d6caff685889d0e4ec) Conflicts: src/gallium/drivers/softpipe/sp_context.c
2009-09-29egl_xdri: Report full list of supported configs.Chia-I Wu
Call _eglConfigFromContextModesRec to convert __GLcontextModes to _EGLConfig. Single-buffered configs are no longer skipped. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Add support for querying render buffer.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Add a function to convert __GLcontextModes to _EGLConfig.Chia-I Wu
_eglConfigFromContextModesRec is used to convert a __GLcontextModes to a _EGLConfig. Note that the config is not validated. An invalid mode is likely to give an invalid config. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Rework config lookup.Chia-I Wu
Make it similiar to how contexts and surfaces are looked up. It should be slightly faster, and work better with multiple displays. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Rework configuration management.Chia-I Wu
This mainly implements the algorithms for configuration selection and sorting, described in the spec. User errors should also be correctly detected and reported. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Introduce config keys.Chia-I Wu
Config keys are almost config attributes. A valid config attribute is a valid config key, but a valid config key may not be a valid config attribute. This commit does not distinguish the differences. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29llvmpipe: Emit SSE intrinsics based on runtime cpu capability check.José Fonseca
Note that llvmpipe still doesn't run on any processor yet: if you don't have a recent processor with SSE4.1 you will still likely end up hitting a code path for which a generic non-sse4 version is not implemented yet.
2009-09-29util: Cleanup u_cpu_detect, build. Support X86_64 and detect SSE4.1 too.José Fonseca
I was waiting for the need to use this code to arise, and it finally came. I've tested building this on Linux and Windows, both x86 and x64_64. But it might break other platforms. Please bear with me and help me fix it. Many thanks to Dennis Smit who submitted this, and Eric Anholt whose work this was based on.
2009-09-29gallium: New PIPE_OS_UNIX to simplify code that is portable to all unices.José Fonseca
2009-09-29i915: Fix MSVC build.Vinson Lee
2009-09-29python: Update for surface_buffer_create change.José Fonseca
2009-09-29g3dvl: assert.h -> util/u_debug.hJosé Fonseca
2009-09-29g3dvl: Define PIPE_VIDEO_CODEC_UNKNOWN for failures.José Fonseca
gcc 4.4 seems particularly picky with int -> enum conversions.
2009-09-29r600: use CB_TARGET_MASK instead of CB_SHADER_MASK for setting color maskAndre Maasikas
makes blend functions work better Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-09-29r600: user correct alpha blend factorAndre Maasikas
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-09-29r600: clear position enable bit when when wpos is not used by FPAndre Maasikas
Makes doom3 alot nicer..
2009-09-28st/xorg: Add debug for fallbacksJakob Bornecrantz
2009-09-28st/xorg: Make debug printing optionalJakob Bornecrantz
2009-09-28meta: Fix invalid PBO access from DrawPixels when trying to just alloc.Eric Anholt
This whole reuse of buffers (TexSubImage instead of TexImage, SubData instead of Data) is bad for hardware drivers, but it's even worse when we accidentally try to access the 2x2 PBO to fill the new 16x16 texture we're creating, producing GL errors. Fixes piglit pbo-drawpixels. Bug #14163.
2009-09-28intel: Drop my generatemipmap code in favor of the new shared code.Eric Anholt
2009-09-28intel: Remove some dead metaops code.Eric Anholt
2009-09-28Prep for 7.6 releaseIan Romanick
2009-09-28st/mesa: check gl_texture_object::GenerateMipmap field when allocating texmemBrian Paul
In guess_and_alloc_texture() use the gl_texture_object::GenerateMipmap field as another hint as to whether to allocate space for a whole mipmap.
2009-09-28Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-28Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-28Fix build on non GLIBC platforms (FreeBSD at least)Robert Noland
Build was broken by commit 9666529b5a5be1fcde82caadc2fe2efa5ea81e49 I'm not certain that this is entirely the correct fix since the demo from bug #23774 seemed to work before the commit that broke the build. Signed-off-by: Robert Noland <rnoland@2hip.net> Signed-off-by: Brian Paul <brianp@vmware.com>
2009-09-28st/mesa: fix st_generate_mipmap() issuesBrian Paul
The main issue is we didn't always have a gallium texture object with enough space to store the to-be-generated mipmap levels. When that's the case, allocate a new gallium texture and use st_texure_finalize() to copy images from the old texture to the new one. We also had the baseLevel parameter to st_render_mipmap() wrong.
2009-09-28st/mesa: fix/simplify st_texture_object::lastLevel calculationBrian Paul
Don't compute the st_texture_object::lastLevel field based on the texture filters. Use the _MaxLevel value that core Mesa computes for us. When called from the GenerateMipmap path, we'll use the lastLevel field as-is.
2009-09-28gallium/util: add sanity check assertionsBrian Paul
2009-09-28mesa: use _mesa_get_current_tex_unit() helperBrian Paul
2009-09-28llvmpipe: Grab a ref when the fb is set.Younes Manton
Based on softpipe commit a77226071f6814a53358a5d6caff685889d0e4ec.
2009-09-28softpipe: Fix MSVC build.José Fonseca
2009-09-28g3dvl: Fix MSVC build.José Fonseca
pipe/p_compiler for integer types. No declarations out of scope.
2009-09-28r300g: fix r300g cause GPU hang issue.Cooper Yuan
why there are two input position semantic tags is that ureg doesn't set vs input semantic due to commit: 6d8dbd3d1ec888 so use vs input index instead of semantic name.
2009-09-28xvmc: Fail on unsupported formats, operations.Younes Manton
2009-09-27g3dvl: Missing semicolon.Younes Manton
2009-09-27g3dvl: Formatting and cleanups.Younes Manton
2009-09-27g3dvl: Move XvMC under the Xorg state tracker.Younes Manton
2009-09-27g3dvl: Implement XvMC using pipe_video_context.Younes Manton
2009-09-27g3dvl: pipe_video_context interface, softpipe impl, auxiliary libsYounes Manton
2009-09-27util: Add util_next_power_of_two() for rounding a uint up to a POT.Younes Manton
2009-09-27r300g: fix erroneous conditionMaciej Cencora
2009-09-27r300g: don't force vertex position for HW TCL pathMaciej Cencora
It could be generated by vertex shader.