From c30d5eefc96925b4bef781806c7a0114eca1b8e0 Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 26 Jun 2014 09:30:29 +0200 Subject: Opdated to openssl-1.0.1h xkeyboard-config fontconfig libX11 libxcb xcb-proto mesa xserver git update 26 June 2014 xserver commit a3b44ad8db1fa2f3b81c1ff9498f31c5323edd37 libxcb commit 125135452a554e89e49448e2c1ee6658324e1095 libxcb/xcb-proto commit 84bfd909bc3774a459b11614cfebeaa584a1eb38 xkeyboard-config commit 39a226707b133ab5540c2d30176cb3857e74dcca libX11 commit a4679baaa18142576d42d423afe816447f08336c fontconfig commit 274f2181f294af2eff3e8db106ec8d7bab2d3ff1 mesa commit 9a8acafa47558cafeb37f80f4b30061ac1962c69 --- mesalib/configure.ac | 81 ++- mesalib/docs/GL3.txt | 12 +- mesalib/docs/index.html | 12 + mesalib/docs/relnotes.html | 3 + mesalib/docs/relnotes/10.1.5.html | 105 ++++ mesalib/docs/relnotes/10.1.6.html | 138 +++++ mesalib/docs/relnotes/10.2.1.html | 2 +- mesalib/docs/relnotes/10.2.2.html | 181 +++++++ mesalib/docs/relnotes/10.3.html | 6 + mesalib/install-gallium-links.mk | 3 +- mesalib/scons/gallium.py | 3 +- mesalib/src/gallium/Automake.inc | 57 +-- mesalib/src/gallium/SConscript | 20 - mesalib/src/gallium/auxiliary/util/u_format.c | 11 + mesalib/src/gallium/auxiliary/util/u_format.h | 3 + mesalib/src/glsl/Makefile.sources | 1 + mesalib/src/glsl/ast_to_hir.cpp | 177 +++++-- mesalib/src/glsl/ast_type.cpp | 2 +- mesalib/src/glsl/builtin_variables.cpp | 6 +- mesalib/src/glsl/glcpp/glcpp-parse.y | 6 + mesalib/src/glsl/glsl_lexer.ll | 1 + mesalib/src/glsl/glsl_parser.yy | 38 +- mesalib/src/glsl/glsl_parser_extras.cpp | 5 +- mesalib/src/glsl/glsl_parser_extras.h | 21 +- mesalib/src/glsl/glsl_symbol_table.h | 2 +- mesalib/src/glsl/glsl_types.cpp | 30 +- mesalib/src/glsl/glsl_types.h | 6 + mesalib/src/glsl/hir_field_selection.cpp | 1 - mesalib/src/glsl/ir.cpp | 1 - mesalib/src/glsl/ir_basic_block.cpp | 2 - mesalib/src/glsl/ir_constant_expression.cpp | 1 - mesalib/src/glsl/ir_expression_flattening.cpp | 2 - mesalib/src/glsl/ir_optimization.h | 4 +- mesalib/src/glsl/ir_uniform.h | 12 +- .../src/glsl/link_uniform_block_active_visitor.h | 2 - mesalib/src/glsl/link_uniform_initializers.cpp | 2 - mesalib/src/glsl/link_uniforms.cpp | 61 ++- mesalib/src/glsl/linker.cpp | 114 +++++ mesalib/src/glsl/list.h | 568 ++++++++++++++------- mesalib/src/glsl/opt_algebraic.cpp | 59 ++- mesalib/src/glsl/opt_dead_builtin_varyings.cpp | 2 +- mesalib/src/glsl/opt_rebalance_tree.cpp | 300 +++++++++++ mesalib/src/glsl/standalone_scaffolding.cpp | 1 + mesalib/src/glsl/test_optpass.cpp | 2 +- .../gen/ARB_compressed_texture_pixel_storage.xml | 21 + mesalib/src/mapi/glapi/gen/Makefile.am | 1 + mesalib/src/mapi/glapi/gen/gl_API.xml | 18 +- mesalib/src/mesa/Android.libmesa_dricore.mk | 8 +- mesalib/src/mesa/Android.libmesa_glsl_utils.mk | 1 + mesalib/src/mesa/Android.mesa_gen_matypes.mk | 1 + mesalib/src/mesa/drivers/common/meta.c | 6 +- mesalib/src/mesa/drivers/common/meta_blit.c | 2 +- .../src/mesa/drivers/common/meta_generate_mipmap.c | 12 + mesalib/src/mesa/drivers/dri/Android.mk | 1 + mesalib/src/mesa/drivers/dri/common/Android.mk | 17 + mesalib/src/mesa/drivers/dri/common/Makefile.am | 2 +- .../src/mesa/drivers/dri/common/Makefile.sources | 3 + mesalib/src/mesa/main/api_arrayelt.c | 111 ++-- mesalib/src/mesa/main/clear.c | 5 - mesalib/src/mesa/main/context.c | 6 + mesalib/src/mesa/main/extensions.c | 162 ++++-- mesalib/src/mesa/main/extensions.h | 6 + mesalib/src/mesa/main/ff_fragment_shader.cpp | 17 +- mesalib/src/mesa/main/get.c | 6 +- mesalib/src/mesa/main/get_hash_params.py | 11 + mesalib/src/mesa/main/glformats.c | 30 -- mesalib/src/mesa/main/glformats.h | 6 - mesalib/src/mesa/main/mtypes.h | 15 +- mesalib/src/mesa/main/performance_monitor.c | 13 - mesalib/src/mesa/main/pixelstore.c | 239 ++++----- mesalib/src/mesa/main/shaderapi.c | 17 +- mesalib/src/mesa/main/shaderobj.c | 1 + mesalib/src/mesa/main/texgetimage.c | 83 +-- mesalib/src/mesa/main/teximage.c | 51 +- mesalib/src/mesa/main/teximage.h | 6 + mesalib/src/mesa/main/texstore.c | 82 ++- mesalib/src/mesa/main/texstore.h | 17 + mesalib/src/mesa/main/uniform_query.cpp | 15 + mesalib/src/mesa/main/uniforms.c | 2 +- mesalib/src/mesa/program/program.c | 1 + mesalib/src/mesa/state_tracker/st_atom_sampler.c | 7 +- mesalib/src/mesa/state_tracker/st_atom_texture.c | 13 +- mesalib/src/mesa/state_tracker/st_extensions.c | 2 + mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 25 +- mesalib/src/mesa/state_tracker/st_program.c | 5 + mesalib/src/mesa/state_tracker/st_texture.c | 8 + mesalib/src/mesa/swrast/s_aatriangle.c | 14 - 87 files changed, 2348 insertions(+), 787 deletions(-) create mode 100644 mesalib/docs/relnotes/10.1.5.html create mode 100644 mesalib/docs/relnotes/10.1.6.html create mode 100644 mesalib/docs/relnotes/10.2.2.html create mode 100644 mesalib/src/glsl/opt_rebalance_tree.cpp create mode 100644 mesalib/src/mapi/glapi/gen/ARB_compressed_texture_pixel_storage.xml (limited to 'mesalib') diff --git a/mesalib/configure.ac b/mesalib/configure.ac index a12f27ac2..e4cfb07ee 100644 --- a/mesalib/configure.ac +++ b/mesalib/configure.ac @@ -149,7 +149,7 @@ _SAVE_LDFLAGS="$LDFLAGS" _SAVE_CPPFLAGS="$CPPFLAGS" dnl Compiler macros -DEFINES="" +DEFINES="-DUSE_EXTERNAL_DXTN_LIB=1" AC_SUBST([DEFINES]) case "$host_os" in linux*|*-gnu*|gnu*) @@ -543,7 +543,7 @@ darwin*|mingw*) *) AC_CHECK_FUNCS([clock_gettime], [CLOCK_LIB=], [AC_CHECK_LIB([rt], [clock_gettime], [CLOCK_LIB=-lrt], - [AC_MSG_ERROR([Couldn't find clock_gettime])])]) + [AC_MSG_ERROR([Could not find clock_gettime])])]) AC_SUBST([CLOCK_LIB]) ;; esac @@ -902,26 +902,12 @@ if test "x$enable_dri" = xyes; then fi fi -dnl Direct rendering or just indirect rendering -case "$host_os" in -gnu*) - dnl Disable by default on GNU/Hurd - driglx_direct_default="no" - ;; -cygwin*) - dnl Disable by default on cygwin - driglx_direct_default="no" - ;; -*) - driglx_direct_default="yes" - ;; -esac AC_ARG_ENABLE([driglx-direct], [AS_HELP_STRING([--disable-driglx-direct], [disable direct rendering in GLX and EGL for DRI \ @<:@default=auto@:>@])], [driglx_direct="$enableval"], - [driglx_direct="$driglx_direct_default"]) + [driglx_direct="yes"]) dnl dnl libGL configuration per driver @@ -945,6 +931,7 @@ xyesno) if test x"$driglx_direct" = xyes; then if test x"$dri_platform" = xdrm ; then + DEFINES="$DEFINES -DGLX_USE_DRM" if test "x$have_libdrm" != xyes; then AC_MSG_ERROR([Direct rendering requires libdrm >= $LIBDRM_REQUIRED]) fi @@ -1090,7 +1077,6 @@ if test "x$enable_dri" = xyes; then # Platform specific settings and drivers to build case "$host_os" in linux*) - DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1" DEFINES="$DEFINES -DHAVE_ALIAS" if test "x$enable_dri3" = xyes; then DEFINES="$DEFINES -DHAVE_DRI3" @@ -1110,24 +1096,19 @@ if test "x$enable_dri" = xyes; then esac ;; *freebsd* | dragonfly* | *netbsd* | openbsd*) - DEFINES="$DEFINES -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1" + DEFINES="$DEFINES -DHAVE_PTHREAD" DEFINES="$DEFINES -DHAVE_ALIAS" ;; gnu*) - DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1" DEFINES="$DEFINES -DHAVE_ALIAS" ;; - solaris*) - DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1" - ;; cygwin*) - DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1" if test "x$with_dri_drivers" = "xyes"; then with_dri_drivers="swrast" fi ;; darwin*) - DEFINES="$DEFINES -DUSE_EXTERNAL_DXTN_LIB=1 -DGLX_ALIAS_UNSUPPORTED" + DEFINES="$DEFINES -DGLX_ALIAS_UNSUPPORTED" if test "x$with_dri_drivers" = "xyes"; then with_dri_drivers="swrast" fi @@ -1375,7 +1356,7 @@ if test "x$enable_xa" = xyes; then if test "x$with_gallium_drivers" = xswrast; then AC_MSG_ERROR([ Building xa requires at least one non swrast gallium driver. - If you are looking to use libxatracker.so with vmware's virtual gpu, + If you are looking to use libxatracker.so with the VMware driver, make sure to include svga in the gallium drivers list, apart from enabling XA. Example: ./configure --enable-xa --with-gallium-drivers=svga...]) @@ -1412,7 +1393,7 @@ AM_CONDITIONAL(HAVE_OPENVG, test "x$enable_openvg" = xyes) dnl dnl Gallium G3DVL configuration dnl -if test -n "$with_gallium_drivers" && ! echo "$with_gallium_drivers" | grep -q 'swrast'; then +if test -n "$with_gallium_drivers" -a "x$with_gallium_drivers" != xswrast; then if test "x$enable_xvmc" = xauto; then PKG_CHECK_EXISTS([xvmc], [enable_xvmc=yes], [enable_xvmc=no]) fi @@ -1429,6 +1410,7 @@ fi if test "x$enable_xvmc" = xyes; then PKG_CHECK_MODULES([XVMC], [xvmc >= $XVMC_REQUIRED x11-xcb xcb-dri2 >= $XCBDRI2_REQUIRED]) GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS xvmc" + enable_gallium_loader=yes fi AM_CONDITIONAL(HAVE_ST_XVMC, test "x$enable_xvmc" = xyes) @@ -1436,6 +1418,7 @@ if test "x$enable_vdpau" = xyes; then PKG_CHECK_MODULES([VDPAU], [vdpau >= $VDPAU_REQUIRED x11-xcb xcb-dri2 >= $XCBDRI2_REQUIRED], [VDPAU_LIBS="`$PKG_CONFIG --libs x11-xcb xcb-dri2`"]) GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS vdpau" + enable_gallium_loader=yes fi AM_CONDITIONAL(HAVE_ST_VDPAU, test "x$enable_vdpau" = xyes) @@ -1775,6 +1758,10 @@ if test "x$enable_gallium_llvm" = xyes; then else MESA_LLVM=0 LLVM_VERSION_INT=0 + + if test "x$enable_opencl" = xyes; then + AC_MSG_ERROR([cannot enable OpenCL without LLVM]) + fi fi dnl Directory for XVMC libs @@ -1928,11 +1915,7 @@ if test -n "$with_gallium_drivers"; then HAVE_GALLIUM_I915=yes PKG_CHECK_MODULES([INTEL], [libdrm_intel >= $LIBDRM_INTEL_REQUIRED]) gallium_require_drm_loader - GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS i915 softpipe" - if test "x$MESA_LLVM" = x1; then - GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS llvmpipe" - fi - GALLIUM_WINSYS_DIRS="$GALLIUM_WINSYS_DIRS i915/sw" + GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS i915" gallium_check_st "i915/drm" "dri-i915" DRICOMMON_NEED_LIBDRM=yes ;; @@ -1968,7 +1951,7 @@ if test -n "$with_gallium_drivers"; then if test "x$enable_opencl" = xyes; then LLVM_COMPONENTS="${LLVM_COMPONENTS} bitreader asmparser" fi - gallium_check_st "radeon/drm" "r600/dri" "" "r600/xvmc" "r600/vdpau" "r600/omx" + gallium_check_st "radeon/drm" "r600/dri" "" "xvmc/r600" "vdpau/r600" "r600/omx" DRICOMMON_NEED_LIBDRM=yes ;; xradeonsi) @@ -1978,7 +1961,7 @@ if test -n "$with_gallium_drivers"; then GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS radeonsi" radeon_llvm_check "radeonsi" require_egl_drm "radeonsi" - gallium_check_st "radeon/drm" "radeonsi/dri" "" "" "radeonsi/vdpau" "radeonsi/omx" + gallium_check_st "radeon/drm" "radeonsi/dri" "" "" "vdpau/radeonsi" "radeonsi/omx" DRICOMMON_NEED_LIBDRM=yes ;; xnouveau) @@ -1986,7 +1969,7 @@ if test -n "$with_gallium_drivers"; then PKG_CHECK_MODULES([NOUVEAU], [libdrm_nouveau >= $LIBDRM_NOUVEAU_REQUIRED]) gallium_require_drm_loader GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS nouveau" - gallium_check_st "nouveau/drm" "dri-nouveau" "" "xvmc-nouveau" "vdpau-nouveau" "omx-nouveau" + gallium_check_st "nouveau/drm" "dri-nouveau" "" "xvmc/nouveau" "vdpau/nouveau" "omx-nouveau" DRICOMMON_NEED_LIBDRM=yes ;; xfreedreno) @@ -2072,12 +2055,14 @@ AM_CONDITIONAL(HAVE_GALLIUM_SOFTPIPE, test "x$HAVE_GALLIUM_SOFTPIPE" = xyes) AM_CONDITIONAL(HAVE_GALLIUM_LLVMPIPE, test "x$HAVE_GALLIUM_LLVMPIPE" = xyes) AM_CONDITIONAL(NEED_GALLIUM_SOFTPIPE_DRIVER, test "x$HAVE_GALLIUM_SVGA" = xyes -o \ - "x$HAVE_GALLIUM_I915" = xyes -o \ "x$HAVE_GALLIUM_SOFTPIPE" = xyes) -AM_CONDITIONAL(NEED_GALLIUM_LLVMPIPE_DRIVER, test "x$HAVE_GALLIUM_I915" = xyes -o \ - "x$HAVE_GALLIUM_SOFTPIPE" = xyes \ +AM_CONDITIONAL(NEED_GALLIUM_LLVMPIPE_DRIVER, test "x$HAVE_GALLIUM_SOFTPIPE" = xyes \ && test "x$MESA_LLVM" = x1) +# Enable static gallium targets for now. +# Do not touch this unless you know what you are doing. +AM_CONDITIONAL(HAVE_GALLIUM_STATIC_TARGETS, test "xyes" = xyes) + # NOTE: anything using xcb or other client side libs ends up in separate # _CLIENT variables. The pipe loader is built in two variants, # one that is standalone and does not link any x client libs (for @@ -2228,30 +2213,26 @@ AC_CONFIG_FILES([Makefile src/gallium/targets/dri-vmwgfx/Makefile src/gallium/targets/egl-static/Makefile src/gallium/targets/gbm/Makefile - src/gallium/targets/opencl/Makefile - src/gallium/targets/xa/Makefile - src/gallium/targets/xa/xatracker.pc + src/gallium/targets/libgl-xlib/Makefile src/gallium/targets/omx-nouveau/Makefile + src/gallium/targets/opencl/Makefile src/gallium/targets/osmesa/Makefile src/gallium/targets/osmesa/osmesa.pc src/gallium/targets/pipe-loader/Makefile - src/gallium/targets/radeonsi/dri/Makefile - src/gallium/targets/radeonsi/omx/Makefile - src/gallium/targets/radeonsi/vdpau/Makefile src/gallium/targets/r300/dri/Makefile src/gallium/targets/r600/dri/Makefile src/gallium/targets/r600/omx/Makefile - src/gallium/targets/r600/vdpau/Makefile - src/gallium/targets/r600/xvmc/Makefile - src/gallium/targets/libgl-xlib/Makefile - src/gallium/targets/vdpau-nouveau/Makefile - src/gallium/targets/xvmc-nouveau/Makefile + src/gallium/targets/radeonsi/dri/Makefile + src/gallium/targets/radeonsi/omx/Makefile + src/gallium/targets/vdpau/Makefile + src/gallium/targets/xa/Makefile + src/gallium/targets/xa/xatracker.pc + src/gallium/targets/xvmc/Makefile src/gallium/tests/trivial/Makefile src/gallium/tests/unit/Makefile src/gallium/winsys/Makefile src/gallium/winsys/freedreno/drm/Makefile src/gallium/winsys/i915/drm/Makefile - src/gallium/winsys/i915/sw/Makefile src/gallium/winsys/intel/drm/Makefile src/gallium/winsys/nouveau/drm/Makefile src/gallium/winsys/radeon/drm/Makefile diff --git a/mesalib/docs/GL3.txt b/mesalib/docs/GL3.txt index d26c8124d..47165fe1e 100644 --- a/mesalib/docs/GL3.txt +++ b/mesalib/docs/GL3.txt @@ -97,7 +97,6 @@ GL 3.3 --- all DONE: i965, nv50, nvc0, r600, radeonsi GL 4.0: GLSL 4.0 not started - GL_ARB_texture_query_lod DONE (i965, nv50, nvc0) GL_ARB_draw_buffers_blend DONE (i965, nv50, nvc0, r600, radeonsi, softpipe) GL_ARB_draw_indirect DONE (i965) GL_ARB_gpu_shader5 started @@ -119,7 +118,8 @@ GL 4.0: GL_ARB_tessellation_shader not started GL_ARB_texture_buffer_object_rgb32 DONE (i965, nvc0, r600, radeonsi, softpipe) GL_ARB_texture_cube_map_array DONE (i965, nv50, nvc0, r600, radeonsi, softpipe) - GL_ARB_texture_gather DONE (i965, nv50, nvc0) + GL_ARB_texture_gather DONE (i965, nv50, nvc0, radeonsi) + GL_ARB_texture_query_lod DONE (i965, nv50, nvc0, radeonsi) GL_ARB_transform_feedback2 DONE (i965, nv50, nvc0, r600, radeonsi) GL_ARB_transform_feedback3 DONE (i965, nv50, nvc0, r600, radeonsi) @@ -132,14 +132,14 @@ GL 4.1: GL_ARB_separate_shader_objects DONE (all drivers) GL_ARB_shader_precision not started GL_ARB_vertex_attrib_64bit not started - GL_ARB_viewport_array DONE (i965, nv50, r600) + GL_ARB_viewport_array DONE (i965, nv50, nvc0, r600) GL 4.2: GLSL 4.2 not started GL_ARB_texture_compression_bptc not started - GL_ARB_compressed_texture_pixel_storage not started + GL_ARB_compressed_texture_pixel_storage DONE (all drivers) GL_ARB_shader_atomic_counters DONE (i965) GL_ARB_texture_storage DONE (all drivers) GL_ARB_transform_feedback_instanced DONE (i965, nv50, nvc0, r600, radeonsi) @@ -160,7 +160,7 @@ GL 4.3: GL_ARB_compute_shader started (Paul Berry) GL_ARB_copy_image not started GL_KHR_debug DONE (all drivers) - GL_ARB_explicit_uniform_location not started + GL_ARB_explicit_uniform_location DONE (all drivers that support GLSL) GL_ARB_fragment_layer_viewport not started GL_ARB_framebuffer_no_attachments not started GL_ARB_internalformat_query2 not started @@ -172,7 +172,7 @@ GL 4.3: GL_ARB_shader_storage_buffer_object not started GL_ARB_stencil_texturing DONE (i965/gen8+, nv50, nvc0, r600, radeonsi) GL_ARB_texture_buffer_range DONE (nv50, nvc0, i965, r600, radeonsi) - GL_ARB_texture_query_levels DONE (i965) + GL_ARB_texture_query_levels DONE (all drivers that support GLSL 1.30) GL_ARB_texture_storage_multisample DONE (all drivers that support GL_ARB_texture_multisample) GL_ARB_texture_view DONE (i965) GL_ARB_vertex_attrib_binding DONE (all drivers) diff --git a/mesalib/docs/index.html b/mesalib/docs/index.html index 2e78343de..fc36c3db0 100644 --- a/mesalib/docs/index.html +++ b/mesalib/docs/index.html @@ -16,6 +16,14 @@

News

+

June 24, 2014

+

+Mesa 10.1.6 +and Mesa 10.2.2 are released. + +These are bug-fix releases from the 10.1 and 10.2 branches, respectively. +

+

June 6, 2014

Mesa 10.2.1 is released. This release @@ -29,6 +37,10 @@ only fixes a build error in the radeonsi driver that was introduced between development release. See the release notes for more information about the release.

+

+Also, Mesa 10.1.5 is released. +This is a bug fix release from the 10.1 branch. +

May 20, 2014

diff --git a/mesalib/docs/relnotes.html b/mesalib/docs/relnotes.html index 60d007326..67c19555c 100644 --- a/mesalib/docs/relnotes.html +++ b/mesalib/docs/relnotes.html @@ -21,8 +21,11 @@ The release notes summarize what's new or changed in each Mesa release.