From d6d5581d5fba846c8476ad4d593da662306765d7 Mon Sep 17 00:00:00 2001 From: marha Date: Sat, 25 Oct 2014 19:53:22 +0200 Subject: libXft mesa xserver pixman xkeyboard-config git update 25 Oct 2014 xserver commit 16a32c53f6e9ad1f3284d4596edfa33e9efb740e xkeyboard-config commit 0d4c3d9d891536aa1ec4f1fff5e3df51cfd2718d pixman commit 594e6a6c93e92fcfb495e987aec5617f6c37f467 libXft commit e8a83226bc10afb587f6f34daac44d2ef809c85e mesa commit 13862812dc910a4ef57cb72cb9fe777ce3c14515 --- libXft/src/xftdpy.c | 4 + libXft/src/xftdraw.c | 71 +- libXft/src/xftint.h | 1 + mesalib/configure.ac | 12 +- mesalib/docs/GL3.txt | 2 +- mesalib/docs/index.html | 6 + mesalib/docs/relnotes.html | 1 + mesalib/docs/relnotes/10.3.2.html | 115 +++ mesalib/docs/relnotes/10.4.html | 1 + mesalib/scons/llvm.py | 16 +- mesalib/src/gallium/auxiliary/util/u_blitter.c | 77 +- mesalib/src/gallium/auxiliary/util/u_math.h | 2 +- mesalib/src/glsl/ast_array_index.cpp | 6 +- mesalib/src/glsl/ast_to_hir.cpp | 107 ++- mesalib/src/glsl/glsl_parser_extras.h | 4 +- mesalib/src/glsl/ir_uniform.h | 11 - mesalib/src/glsl/linker.cpp | 18 +- mesalib/src/glsl/lower_offset_array.cpp | 10 +- mesalib/src/glsl/main.cpp | 2 + mesalib/src/glsl/opt_array_splitting.cpp | 2 +- mesalib/src/glsl/standalone_scaffolding.cpp | 27 + mesalib/src/glsl/standalone_scaffolding.h | 3 + mesalib/src/mapi/glapi/gen/ARB_clip_control.xml | 25 + mesalib/src/mapi/glapi/gen/Makefile.am | 1 + mesalib/src/mapi/glapi/gen/gl_API.xml | 4 +- mesalib/src/mapi/glapi/gen/gl_gentable.py | 4 +- mesalib/src/mesa/drivers/common/meta.c | 9 + mesalib/src/mesa/drivers/common/meta.h | 3 + mesalib/src/mesa/main/attrib.c | 1 + mesalib/src/mesa/main/bufferobj.c | 4 +- mesalib/src/mesa/main/context.c | 12 + mesalib/src/mesa/main/dd.h | 3 +- mesalib/src/mesa/main/dlist.c | 26 + mesalib/src/mesa/main/extensions.c | 1 + mesalib/src/mesa/main/ff_fragment_shader.cpp | 14 +- mesalib/src/mesa/main/get.c | 1 + mesalib/src/mesa/main/get_hash_params.py | 2 + mesalib/src/mesa/main/mtypes.h | 7 +- mesalib/src/mesa/main/polygon.c | 2 - mesalib/src/mesa/main/shaderapi.c | 2 +- mesalib/src/mesa/main/shaderapi.h | 9 - mesalib/src/mesa/main/shaderimage.c | 2 +- mesalib/src/mesa/main/shaderobj.c | 28 +- mesalib/src/mesa/main/shaderobj.h | 6 +- mesalib/src/mesa/main/state.c | 25 +- mesalib/src/mesa/main/uniform_query.cpp | 74 +- mesalib/src/mesa/main/uniforms.c | 22 +- mesalib/src/mesa/main/uniforms.h | 2 +- mesalib/src/mesa/main/version.c | 2 - mesalib/src/mesa/main/viewport.c | 122 ++- mesalib/src/mesa/main/viewport.h | 6 + mesalib/src/mesa/math/m_matrix.c | 17 +- mesalib/src/mesa/math/m_matrix.h | 4 +- mesalib/src/mesa/program/ir_to_mesa.cpp | 2 +- .../src/mesa/state_tracker/st_atom_rasterizer.c | 25 +- mesalib/src/mesa/state_tracker/st_atom_viewport.c | 23 +- mesalib/src/mesa/state_tracker/st_cb_program.c | 2 - mesalib/src/mesa/state_tracker/st_debug.c | 1 + mesalib/src/mesa/state_tracker/st_debug.h | 1 + mesalib/src/mesa/state_tracker/st_extensions.c | 9 +- mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 47 +- mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.h | 5 - mesalib/src/util/macros.h | 14 + mesalib/src/util/register_allocate.c | 2 +- pixman/pixman/pixman-mmx.c | 6 + xorg-server/Xext/panoramiXprocs.c | 2 +- xorg-server/configure.ac | 2 - xorg-server/fb/fbpict.c | 2 +- xorg-server/glx/glxdri2.c | 4 +- xorg-server/hw/kdrive/ephyr/ephyr.c | 12 +- xorg-server/hw/kdrive/ephyr/ephyrinit.c | 6 + xorg-server/hw/kdrive/ephyr/man/Xephyr.man | 3 + xorg-server/hw/xwin/InitOutput.c | 6 - xorg-server/hw/xwin/Makefile.am | 21 - xorg-server/hw/xwin/man/XWin.man | 4 - xorg-server/hw/xwin/win.h | 182 ----- xorg-server/hw/xwin/winclip.c | 42 - xorg-server/hw/xwin/wincreatewnd.c | 22 +- xorg-server/hw/xwin/winengine.c | 23 - xorg-server/hw/xwin/winfillsp.c | 842 --------------------- xorg-server/hw/xwin/winfont.c | 82 -- xorg-server/hw/xwin/wingc.c | 235 ------ xorg-server/hw/xwin/wingetsp.c | 171 ----- xorg-server/hw/xwin/winmisc.c | 63 -- xorg-server/hw/xwin/winnativegdi.c | 491 ------------ xorg-server/hw/xwin/winpfbdd.c | 620 --------------- xorg-server/hw/xwin/winpixmap.c | 223 ------ xorg-server/hw/xwin/winpolyline.c | 53 -- xorg-server/hw/xwin/winrop.c | 142 ---- xorg-server/hw/xwin/winscrinit.c | 139 ---- xorg-server/hw/xwin/winsetsp.c | 175 ----- xorg-server/hw/xwin/winwindow.c | 219 ------ xorg-server/hw/xwin/winwndproc.c | 12 +- xorg-server/mi/mibitblt.c | 13 +- xorg-server/mi/mifillrct.c | 2 +- xorg-server/os/utils.c | 1 + xorg-server/render/mipict.c | 34 +- xorg-server/render/mirect.c | 2 +- xorg-server/render/picture.c | 1 - xorg-server/render/picturestr.h | 3 +- xorg-server/xfixes/region.c | 14 +- xorg-server/xkeyboard-config/rules/base.xml.in | 12 + xorg-server/xkeyboard-config/symbols/keypad | 49 +- .../xkeyboard-config/symbols/macintosh_vndr/ch | 1 + .../xkeyboard-config/symbols/macintosh_vndr/dk | 2 +- .../xkeyboard-config/symbols/macintosh_vndr/it | 1 + .../xkeyboard-config/symbols/macintosh_vndr/us | 4 +- xorg-server/xkeyboard-config/symbols/ru | 71 ++ 108 files changed, 878 insertions(+), 4205 deletions(-) create mode 100644 mesalib/docs/relnotes/10.3.2.html create mode 100644 mesalib/src/mapi/glapi/gen/ARB_clip_control.xml delete mode 100644 xorg-server/hw/xwin/winclip.c delete mode 100644 xorg-server/hw/xwin/winfillsp.c delete mode 100644 xorg-server/hw/xwin/winfont.c delete mode 100644 xorg-server/hw/xwin/wingc.c delete mode 100644 xorg-server/hw/xwin/wingetsp.c delete mode 100644 xorg-server/hw/xwin/winnativegdi.c delete mode 100644 xorg-server/hw/xwin/winpfbdd.c delete mode 100644 xorg-server/hw/xwin/winpixmap.c delete mode 100644 xorg-server/hw/xwin/winpolyline.c delete mode 100644 xorg-server/hw/xwin/winrop.c delete mode 100644 xorg-server/hw/xwin/winsetsp.c diff --git a/libXft/src/xftdpy.c b/libXft/src/xftdpy.c index c5b756e25..62b1ccfaf 100644 --- a/libXft/src/xftdpy.c +++ b/libXft/src/xftdpy.c @@ -106,6 +106,10 @@ _XftDisplayInfoGet (Display *dpy, FcBool createIfNecessary) if (major < 0 || (major == 0 && minor <= 2)) info->use_free_glyphs = FcFalse; + info->hasSolid = FcFalse; + if (major > 0 || (major == 0 && minor >= 10)) + info->hasSolid = FcTrue; + pf.type = PictTypeDirect; pf.depth = 32; pf.direct.redMask = 0xff; diff --git a/libXft/src/xftdraw.c b/libXft/src/xftdraw.c index 186bcb876..dfa97fbfc 100644 --- a/libXft/src/xftdraw.c +++ b/libXft/src/xftdraw.c @@ -333,39 +333,52 @@ XftDrawSrcPicture (XftDraw *draw, _Xconst XftColor *color) * Pick one to replace at random */ i = (unsigned int) rand () % XFT_NUM_SOLID_COLOR; - /* - * Recreate if it was for the wrong screen - */ - if (info->colors[i].screen != draw->screen && info->colors[i].pict) - { - XRenderFreePicture (dpy, info->colors[i].pict); - info->colors[i].pict = 0; - } - /* - * Create picture if necessary - */ - if (!info->colors[i].pict) - { - Pixmap pix; - XRenderPictureAttributes pa; - pix = XCreatePixmap (dpy, RootWindow (dpy, draw->screen), 1, 1, - info->solidFormat->depth); - pa.repeat = True; - info->colors[i].pict = XRenderCreatePicture (draw->dpy, - pix, - info->solidFormat, - CPRepeat, &pa); - XFreePixmap (dpy, pix); + if (info->hasSolid) { + /* + * Free any existing entry + */ + if (info->colors[i].pict) + XRenderFreePicture (dpy, info->colors[i].pict); + /* + * Create picture + */ + info->colors[i].pict = XRenderCreateSolidFill (draw->dpy, &color->color); + } else { + if (info->colors[i].screen != draw->screen && info->colors[i].pict) + { + XRenderFreePicture (dpy, info->colors[i].pict); + info->colors[i].pict = 0; + } + /* + * Create picture if necessary + */ + if (!info->colors[i].pict) + { + Pixmap pix; + XRenderPictureAttributes pa; + + pix = XCreatePixmap (dpy, RootWindow (dpy, draw->screen), 1, 1, + info->solidFormat->depth); + pa.repeat = True; + info->colors[i].pict = XRenderCreatePicture (draw->dpy, + pix, + info->solidFormat, + CPRepeat, &pa); + XFreePixmap (dpy, pix); + } + /* + * Set to the new color + */ + info->colors[i].color = color->color; + info->colors[i].screen = draw->screen; + XRenderFillRectangle (dpy, PictOpSrc, + info->colors[i].pict, + &color->color, 0, 0, 1, 1); } - /* - * Set to the new color - */ info->colors[i].color = color->color; info->colors[i].screen = draw->screen; - XRenderFillRectangle (dpy, PictOpSrc, - info->colors[i].pict, - &color->color, 0, 0, 1, 1); + return info->colors[i].pict; } diff --git a/libXft/src/xftint.h b/libXft/src/xftint.h index 165897767..c06ac3cba 100644 --- a/libXft/src/xftint.h +++ b/libXft/src/xftint.h @@ -245,6 +245,7 @@ typedef struct _XftDisplayInfo { XExtCodes *codes; FcPattern *defaults; FcBool hasRender; + FcBool hasSolid; XftFont *fonts; XRenderPictFormat *solidFormat; unsigned long glyph_memory; diff --git a/mesalib/configure.ac b/mesalib/configure.ac index 0ed932544..03f1bca86 100644 --- a/mesalib/configure.ac +++ b/mesalib/configure.ac @@ -1465,6 +1465,7 @@ AC_ARG_WITH([clang-libdir], [CLANG_LIBDIR='']) PKG_CHECK_EXISTS([libclc], [have_libclc=yes], [have_libclc=no]) +AC_CHECK_LIB([elf], [elf_memory], [have_libelf=yes;ELF_LIB=-lelf]) if test "x$enable_opencl" = xyes; then if test -z "$with_gallium_drivers"; then @@ -1495,6 +1496,10 @@ if test "x$enable_opencl" = xyes; then else OPENCL_LIBNAME="OpenCL" fi + + if test "x$have_libelf" != xyes; then + AC_MSG_ERROR([Clover requires libelf]) + fi fi AM_CONDITIONAL(HAVE_CLOVER, test "x$enable_opencl" = xyes) AM_CONDITIONAL(HAVE_CLOVER_ICD, test "x$enable_opencl_icd" = xyes) @@ -1714,7 +1719,7 @@ if test "x$enable_gallium_llvm" = xyes; then fi LLVM_REQUIRED_VERSION_MAJOR="3" - LLVM_REQUIRED_VERSION_MINOR="1" + LLVM_REQUIRED_VERSION_MINOR="3" if test "$LLVM_VERSION_INT" -lt "${LLVM_REQUIRED_VERSION_MAJOR}0${LLVM_REQUIRED_VERSION_MINOR}"; then AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR or newer is required]) fi @@ -1870,8 +1875,9 @@ radeon_llvm_check() { fi LLVM_COMPONENTS="${LLVM_COMPONENTS} r600 bitreader ipo" NEED_RADEON_LLVM=yes - AC_CHECK_LIB([elf], [elf_memory], [ELF_LIB=-lelf], - [AC_MSG_ERROR([$1 requires libelf when using LLVM])]) + if test "x$have_libelf" != xyes; then + AC_MSG_ERROR([$1 requires libelf when using llvm]) + fi } dnl Duplicates in GALLIUM_DRIVERS_DIRS are removed by sorting it after this block diff --git a/mesalib/docs/GL3.txt b/mesalib/docs/GL3.txt index 07d1d2c49..6a988d5e7 100644 --- a/mesalib/docs/GL3.txt +++ b/mesalib/docs/GL3.txt @@ -187,7 +187,7 @@ GL 4.4, GLSL 4.40: GL 4.5, GLSL 4.50: GL_ARB_ES3_1_compatibility not started - GL_ARB_clip_control not started + GL_ARB_clip_control DONE (llvmpipe, softpipe, r300, r600, radeonsi) GL_ARB_conditional_render_inverted DONE (i965, nvc0, llvmpipe, softpipe) GL_ARB_cull_distance not started GL_ARB_derivative_control DONE (i965, nv50, nvc0, r600) diff --git a/mesalib/docs/index.html b/mesalib/docs/index.html index 244a7a3b2..0a491a2c9 100644 --- a/mesalib/docs/index.html +++ b/mesalib/docs/index.html @@ -16,6 +16,12 @@

News

+

October 24, 2014

+

+Mesa 10.3.2 is released. +This is a bug-fix release. +

+

October 12, 2014

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