From eef864d36de97903007f04fad9fa43afe297745b Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 25 May 2012 15:19:41 +0200 Subject: fontconfig xserver xkeyboard-config pixman git update 2012 --- mesalib/common.py | 2 +- mesalib/configure.ac | 4 +- mesalib/docs/GL3.txt | 4 +- mesalib/docs/dispatch.html | 2 +- mesalib/docs/relnotes.html | 1 + mesalib/src/SConscript | 2 +- mesalib/src/glsl/Makefile.sources | 1 + mesalib/src/glsl/link_uniform_initializers.cpp | 181 +++++++++++++++++++++ mesalib/src/glsl/link_uniforms.cpp | 15 +- mesalib/src/glsl/linker.h | 3 + mesalib/src/glsl/opt_constant_propagation.cpp | 21 ++- mesalib/src/glu/sgi/libnurbs/internals/mapdesc.cc | 2 +- .../src/glu/sgi/libnurbs/internals/nurbstess.cc | 2 +- mesalib/src/mesa/main/blend.c | 20 +++ mesalib/src/mesa/main/context.c | 24 +-- mesalib/src/mesa/main/extensions.c | 2 +- mesalib/src/mesa/main/ff_fragment_shader.cpp | 41 +---- mesalib/src/mesa/main/mtypes.h | 5 + mesalib/src/mesa/main/uniforms.c | 1 + mesalib/src/mesa/program/ir_to_mesa.cpp | 111 +------------ mesalib/src/mesa/state_tracker/st_cb_texture.c | 2 + 21 files changed, 280 insertions(+), 166 deletions(-) create mode 100644 mesalib/src/glsl/link_uniform_initializers.cpp (limited to 'mesalib') diff --git a/mesalib/common.py b/mesalib/common.py index f0b1ccc2c..6121a4114 100644 --- a/mesalib/common.py +++ b/mesalib/common.py @@ -89,7 +89,7 @@ def AddOptions(opts): opts.Add(EnumOption('machine', 'use machine-specific assembly code', default_machine, allowed_values=('generic', 'ppc', 'x86', 'x86_64'))) opts.Add(EnumOption('platform', 'target platform', host_platform, - allowed_values=('linux', 'windows', 'darwin', 'cygwin', 'sunos', 'freebsd8', 'haiku'))) + allowed_values=('cygwin', 'darwin', 'freebsd', 'haiku', 'linux', 'sunos', 'windows'))) opts.Add(BoolOption('embedded', 'embedded build', 'no')) opts.Add('toolchain', 'compiler toolchain', default_toolchain) opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', 'no')) diff --git a/mesalib/configure.ac b/mesalib/configure.ac index 844990a28..5ccf77d65 100644 --- a/mesalib/configure.ac +++ b/mesalib/configure.ac @@ -37,7 +37,7 @@ USER_CXXFLAGS="$CXXFLAGS" dnl Versions for external dependencies LIBDRM_REQUIRED=2.4.24 LIBDRM_RADEON_REQUIRED=2.4.31 -LIBDRM_INTEL_REQUIRED=2.4.32 +LIBDRM_INTEL_REQUIRED=2.4.34 LIBDRM_NVVIEUX_REQUIRED=2.4.33 LIBDRM_NOUVEAU_REQUIRED=2.4.33 DRI2PROTO_REQUIRED=2.6 @@ -1830,7 +1830,7 @@ if test "x$enable_gallium_llvm" = xyes; then if test "x$LLVM_CONFIG" != xno; then LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/svn.*//g'` - LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g'` + LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g' -e 's/-Wcovered-switch-default//g'` if test "x$with_llvm_shared_libs" = xyes; then dnl We can't use $LLVM_VERSION because it has 'svn' stripped out, LLVM_LIBS="-lLLVM-`$LLVM_CONFIG --version`" diff --git a/mesalib/docs/GL3.txt b/mesalib/docs/GL3.txt index 5fc6c69ba..17136de31 100644 --- a/mesalib/docs/GL3.txt +++ b/mesalib/docs/GL3.txt @@ -46,7 +46,7 @@ GLSL 1.40 missing: UBOS, inverse(), highp change Instanced drawing (GL_ARB_draw_instanced) DONE (i965, gallium, swrast) Buffer copying (GL_ARB_copy_buffer) DONE (i965, r300, r600, swrast) -Primitive restart (GL_NV_primitive_restart) DONE (r600) +Primitive restart (GL_NV_primitive_restart) DONE (i965, r600) 16 vertex texture image units DONE Texture buffer objs (GL_ARB_texture_buffer_object) needs GL3.1 enabling (i965) Rectangular textures (GL_ARB_texture_rectangle) DONE (i965, r300, r600, swrast) @@ -73,7 +73,7 @@ GLX_ARB_create_context_profile DONE GL 3.3: GLSL 3.30 not started -GL_ARB_blend_func_extended DONE (r600, softpipe) +GL_ARB_blend_func_extended DONE (i965, r600, softpipe) GL_ARB_explicit_attrib_location DONE (i915, i965, r300, r600, swrast) GL_ARB_occlusion_query2 DONE (r300, r600, swrast) GL_ARB_sampler_objects DONE (i965, r300, r600) diff --git a/mesalib/docs/dispatch.html b/mesalib/docs/dispatch.html index c3a33b90b..620aecd74 100644 --- a/mesalib/docs/dispatch.html +++ b/mesalib/docs/dispatch.html @@ -84,7 +84,7 @@ void glVertex3f(GLfloat x, GLfloat y, GLfloat z)

The problem with this simple implementation is the large amount of overhead that it adds to every GL function call.

-

In a multithreaded environment, a niave implementation of +

In a multithreaded environment, a naive implementation of GET_DISPATCH involves a call to pthread_getspecific or a similar function. Mesa provides a wrapper function called _glapi_get_dispatch that is used by default.

diff --git a/mesalib/docs/relnotes.html b/mesalib/docs/relnotes.html index 23337cfd3..1bc889a5b 100644 --- a/mesalib/docs/relnotes.html +++ b/mesalib/docs/relnotes.html @@ -13,6 +13,7 @@ The release notes summarize what's new or changed in each Mesa release.