From 4f005bade376d15ee60e90ca45a831aff9725087 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 26 Oct 2011 10:58:41 +0200 Subject: libX11 libXft mesa mkfontscale pixman xserver git update 26 okt 2011 --- libX11/modules/lc/gen/lcGenConv.c | 9 +- libXft/src/xftglyphs.c | 3 + mesalib/configs/linux-dri | 6 +- mesalib/configure.ac | 2 +- mesalib/docs/contents.html | 1 + mesalib/docs/relnotes-7.12.html | 2 +- mesalib/docs/viewperf.html | 134 +++ mesalib/include/GL/gl.h | 2 +- mesalib/src/gallium/auxiliary/util/u_blitter.c | 286 +++-- mesalib/src/gallium/auxiliary/util/u_blitter.h | 24 + mesalib/src/gallium/auxiliary/util/u_upload_mgr.c | 36 +- mesalib/src/glsl/Makefile | 1 + mesalib/src/glsl/SConscript | 1 + mesalib/src/glsl/glsl_parser_extras.cpp | 23 +- mesalib/src/glsl/ir_constant_expression.cpp | 29 + mesalib/src/glsl/ir_optimization.h | 6 +- mesalib/src/glsl/ir_variable.cpp | 8 +- mesalib/src/glsl/link_uniforms.cpp | 85 ++ mesalib/src/glsl/linker.cpp | 28 +- mesalib/src/glsl/linker.h | 43 + mesalib/src/glsl/lower_if_to_cond_assign.cpp | 3 + mesalib/src/glsl/main.cpp | 2 +- mesalib/src/glsl/opt_dead_code.cpp | 14 +- mesalib/src/glsl/ralloc.c | 28 +- mesalib/src/glsl/ralloc.h | 57 + mesalib/src/glsl/test_optpass.cpp | 4 +- mesalib/src/mesa/drivers/dri/swrast/swrast.c | 5 +- mesalib/src/mesa/main/APIspec.xml | 6 - mesalib/src/mesa/main/attrib.c | 223 ++-- mesalib/src/mesa/main/bufferobj.c | 13 +- mesalib/src/mesa/main/compiler.h | 2 +- mesalib/src/mesa/main/context.h | 4 +- mesalib/src/mesa/main/dlist.c | 2 + mesalib/src/mesa/main/fbobject.c | 8 + mesalib/src/mesa/main/ff_fragment_shader.cpp | 2 +- mesalib/src/mesa/main/imports.c | 2 +- mesalib/src/mesa/main/imports.h | 8 +- mesalib/src/mesa/main/mtypes.h | 6 +- mesalib/src/mesa/main/pack.c | 1 + mesalib/src/mesa/main/pixelstore.c | 2 +- mesalib/src/mesa/main/state.c | 2 +- mesalib/src/mesa/main/texcompress.c | 4 +- mesalib/src/mesa/main/texcompress_fxt1.c | 4 +- mesalib/src/mesa/main/texcompress_rgtc.c | 24 +- mesalib/src/mesa/main/texcompress_s3tc.c | 18 +- mesalib/src/mesa/main/texformat.c | 4 +- mesalib/src/mesa/main/teximage.c | 73 -- mesalib/src/mesa/main/teximage.h | 11 - mesalib/src/mesa/main/texobj.c | 41 +- mesalib/src/mesa/main/texstore.c | 1 - mesalib/src/mesa/program/ir_to_mesa.cpp | 56 +- mesalib/src/mesa/state_tracker/st_context.h | 1 + mesalib/src/mesa/state_tracker/st_draw.c | 245 ++++- mesalib/src/mesa/state_tracker/st_extensions.c | 5 +- mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 138 ++- mesalib/src/mesa/swrast/s_context.c | 24 + mesalib/src/mesa/swrast/s_context.h | 42 +- mesalib/src/mesa/swrast/s_fragprog.c | 3 +- mesalib/src/mesa/swrast/s_span.c | 5 +- mesalib/src/mesa/swrast/s_texcombine.c | 1 + mesalib/src/mesa/swrast/s_texfetch_tmp.h | 8 +- mesalib/src/mesa/swrast/s_texfilter.c | 6 +- mesalib/src/mesa/swrast/s_texrender.c | 31 +- mesalib/src/mesa/swrast/s_texture.c | 175 ++- mesalib/src/mesa/swrast/s_triangle.c | 18 +- mesalib/src/mesa/tnl/t_vb_program.c | 2 + mesalib/src/mesa/vbo/vbo_exec.h | 9 - mesalib/src/mesa/vbo/vbo_exec_array.c | 7 +- mesalib/src/mesa/vbo/vbo_save.h | 1 - mkfontscale/data.h | 8 +- pixman/Makefile.am | 4 +- pixman/pixman/pixman-gradient-walker.c | 175 +-- pixman/pixman/pixman-image.c | 73 +- pixman/pixman/pixman-private.h | 16 +- xorg-server/Xi/exevents.c | 20 +- xorg-server/Xi/xiquerydevice.c | 7 +- xorg-server/composite/compalloc.c | 11 +- xorg-server/configure.ac | 6 + xorg-server/dix/devices.c | 2 +- xorg-server/dix/eventconvert.c | 67 +- xorg-server/dix/getevents.c | 42 +- xorg-server/dix/inpututils.c | 70 +- xorg-server/dix/ptrveloc.c | 4 +- xorg-server/hw/kdrive/src/kinput.c | 139 +-- xorg-server/hw/vfb/InitOutput.c | 2 + xorg-server/hw/xfree86/common/xf86Config.c | 16 +- xorg-server/hw/xfree86/common/xf86Events.c | 9 +- xorg-server/hw/xfree86/common/xf86Helper.c | 6 - xorg-server/hw/xfree86/common/xf86Init.c | 29 +- xorg-server/hw/xfree86/common/xf86Option.c | 3 +- xorg-server/hw/xfree86/common/xf86Optionstr.h | 13 +- xorg-server/hw/xfree86/common/xf86Xinput.c | 5 +- xorg-server/hw/xfree86/doc/ddxDesign.xml | 4 +- xorg-server/hw/xfree86/loader/loadmod.c | 41 +- xorg-server/hw/xfree86/man/xorg.conf.man | 4 +- xorg-server/hw/xfree86/modes/xf86Crtc.c | 66 +- xorg-server/hw/xfree86/os-support/linux/lnx_init.c | 14 +- xorg-server/hw/xfree86/parser/Flags.c | 1009 +++++++++--------- xorg-server/hw/xfree86/parser/Layout.c | 1116 ++++++++++---------- xorg-server/hw/xnest/Events.c | 2 - xorg-server/hw/xnest/Keyboard.c | 519 ++++----- xorg-server/hw/xquartz/darwin.c | 2 +- xorg-server/hw/xquartz/xpr/appledri.c | 137 ++- xorg-server/hw/xquartz/xpr/appledristr.h | 298 +++--- xorg-server/hw/xwin/man/XWinrc.man | 10 +- xorg-server/include/eventstr.h | 1 + xorg-server/include/exevents.h | 3 +- xorg-server/include/input.h | 7 +- xorg-server/include/inputstr.h | 7 - xorg-server/include/list.h | 12 + xorg-server/include/optionstr.h | 14 + xorg-server/man/Xserver.man | 6 + xorg-server/mi/mieq.c | 188 +++- xorg-server/randr/rrproperty.c | 19 +- xorg-server/render/mipict.c | 61 ++ xorg-server/render/mipict.h | 350 +++--- xorg-server/render/picture.c | 44 +- xorg-server/render/picturestr.h | 21 + xorg-server/test/input.c | 99 +- xorg-server/test/xi2/protocol-eventconvert.c | 27 +- xorg-server/xkb/xkbActions.c | 7 +- 121 files changed, 4174 insertions(+), 2721 deletions(-) create mode 100644 mesalib/docs/viewperf.html create mode 100644 mesalib/src/glsl/link_uniforms.cpp create mode 100644 xorg-server/include/optionstr.h diff --git a/libX11/modules/lc/gen/lcGenConv.c b/libX11/modules/lc/gen/lcGenConv.c index 7a113a78a..42d63c529 100644 --- a/libX11/modules/lc/gen/lcGenConv.c +++ b/libX11/modules/lc/gen/lcGenConv.c @@ -1784,9 +1784,6 @@ mbtocs( return( 0 ); } - if (*from_left > *to_left) - *from_left = *to_left; - while (*from_left && *to_left) { ch = *inbufptr++; @@ -1872,7 +1869,7 @@ output: return -1; } - /* nomal end */ + /* normal end */ *from = (XPointer) inbufptr; *to = (XPointer) outbufptr; @@ -2171,7 +2168,7 @@ end: return -1; } - /* nomal end */ + /* normal end */ *from = (XPointer) inbufptr; *to = (XPointer) outbufptr; @@ -2225,7 +2222,7 @@ end: return -1; } - /* nomal end */ + /* normal end */ *from = (XPointer) src; *from_left = src_left; diff --git a/libXft/src/xftglyphs.c b/libXft/src/xftglyphs.c index 2639d12aa..4a3b9d606 100644 --- a/libXft/src/xftglyphs.c +++ b/libXft/src/xftglyphs.c @@ -570,6 +570,9 @@ XftFontLoadGlyphs (Display *dpy, xftg->metrics.yOff = -TRUNC(ROUND(glyphslot->advance.y)); } + // compute the size of the final bitmap + ftbit = &glyphslot->bitmap; + width = ftbit->width; height = ftbit->rows; diff --git a/mesalib/configs/linux-dri b/mesalib/configs/linux-dri index a3e9baba2..aa2dddc1c 100644 --- a/mesalib/configs/linux-dri +++ b/mesalib/configs/linux-dri @@ -58,9 +58,9 @@ SRC_DIRS := glx egl $(SRC_DIRS) EGL_DRIVERS_DIRS = glx DRIVER_DIRS = dri -GALLIUM_WINSYS_DIRS = sw sw/xlib drm/vmware drm/intel drm/i965 -GALLIUM_TARGET_DIRS = -GALLIUM_STATE_TRACKERS_DIRS = egl +GALLIUM_WINSYS_DIRS = sw sw/xlib drm/vmware drm/intel drm/i965 svga/drm +GALLIUM_TARGET_DIRS = dri-vmwgfx +GALLIUM_STATE_TRACKERS_DIRS = egl dri DRI_DIRS = i915 i965 nouveau r200 r300 r600 radeon swrast diff --git a/mesalib/configure.ac b/mesalib/configure.ac index 0864b55af..369614528 100644 --- a/mesalib/configure.ac +++ b/mesalib/configure.ac @@ -1858,7 +1858,7 @@ if test "x$with_gallium_drivers" != x; then xnouveau) PKG_CHECK_MODULES([NOUVEAU], [libdrm_nouveau >= $LIBDRM_NOUVEAU_REQUIRED]) GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS nouveau nvfx nv50 nvc0" - gallium_check_st "nouveau/drm" "dri-nouveau" "xorg-nouveau" "" "xvmc-nouveau" + gallium_check_st "nouveau/drm" "dri-nouveau" "xorg-nouveau" "" "xvmc-nouveau" "vdpau-nouveau" ;; xswrast) GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS softpipe" diff --git a/mesalib/docs/contents.html b/mesalib/docs/contents.html index df0fb6474..8882e7318 100644 --- a/mesalib/docs/contents.html +++ b/mesalib/docs/contents.html @@ -64,6 +64,7 @@ a:visited {
  • Function Name Mangling
  • Gallium llvmpipe driver
  • Gallium post-processing +
  • Viewperf Issues Developer Topics diff --git a/mesalib/docs/relnotes-7.12.html b/mesalib/docs/relnotes-7.12.html index 4077dac49..514962112 100644 --- a/mesalib/docs/relnotes-7.12.html +++ b/mesalib/docs/relnotes-7.12.html @@ -36,7 +36,7 @@ tbd

    New features