From 4ba9be2882d9f1567809edb0a31fcdf11320d41f Mon Sep 17 00:00:00 2001
From: marha
Date: Mon, 20 Apr 2015 21:25:25 +0200
Subject: randrproto xkeyboard-config fontconfig libX11 libXdmcp libXmu pixman
xkbcomp xserver mesa git update 20 Apr 2015
xserver commit b1029716e41e252f149b82124a149da180607c96
xkeyboard-config commit 7d00bcc2d9c3944bbdfcbe472ee3299729dc7687
libX11 commit 748d47e69f5c12d8557d56a8a8ec166588da7b93
libXdmcp commit b10f382e3aa2e86cd5a2bc27d6758da55f0ab1f6
xkbcomp commit 1ae525b3d236b59e6437b2b5433d460e18370973
pixman commit 58e21d3e45c5227c2ca9ac00cf044f22a7975180
randrproto commit 98da0d6e48b7d124d6788ea568e9f9e3dc204322
libXmu commit 4459e6940fe3fdf26a8d5d4c71989498bc400a62
fontconfig commit 07be485a0a84995ce69bf60e3b1bb22cb35f6b0e
mesa commit c1485f4b7d044724b3dbc1011f3c3a8a53132010
---
X11/extensions/randr.h | 10 +-
X11/extensions/randrproto.h | 59 +
X11/extensions/randrproto.txt | 215 ++-
fontconfig/doc/fontconfig-user.sgml | 2 +-
fontconfig/src/fccfg.c | 6 +-
fontconfig/src/fcdir.c | 4 +-
fontconfig/src/fcrange.c | 2 +-
fontconfig/src/fcxml.c | 23 +-
fontconfig/test/Makefile.am | 7 +
fontconfig/test/test-bz89617.c | 38 +
libX11/nls/compose.dir.pre | 4 +-
libX11/nls/en_US.UTF-8/Compose.pre | 3 +-
libX11/nls/locale.alias.pre | 10 +-
libX11/nls/locale.dir.pre | 6 +-
libXdmcp/configure.ac | 8 +
libXmu/src/RdBitF.c | 1 +
libXmu/src/StrToCurs.c | 4 +-
mesalib/.gitignore | 1 +
mesalib/Makefile.am | 15 +-
mesalib/configure.ac | 78 +-
mesalib/docs/GL3.txt | 21 +-
mesalib/docs/README.WIN32 | 4 -
mesalib/docs/faq.html | 13 -
mesalib/docs/index.html | 12 +
mesalib/docs/llvmpipe.html | 32 +-
mesalib/docs/relnotes.html | 2 +
mesalib/docs/relnotes/10.5.2.html | 130 ++
mesalib/docs/relnotes/10.5.3.html | 125 ++
mesalib/docs/relnotes/10.6.0.html | 8 +-
mesalib/docs/specs/MESA_image_dma_buf_export.txt | 142 ++
mesalib/docs/viewperf.html | 94 +-
mesalib/include/EGL/eglmesaext.h | 8 +
mesalib/include/GL/internal/dri_interface.h | 4 +-
mesalib/include/GL/osmesa.h | 6 +-
mesalib/include/c99_math.h | 8 +-
mesalib/m4/ax_check_python_mako_module.m4 | 2 +
mesalib/scons/gallium.py | 1 +
mesalib/src/Makefile.am | 8 +-
mesalib/src/SConscript | 5 +-
mesalib/src/gallium/auxiliary/Makefile.am | 2 +
mesalib/src/gallium/auxiliary/Makefile.sources | 6 +-
.../src/gallium/auxiliary/hud/hud_driver_query.c | 3 +-
mesalib/src/gallium/auxiliary/nir/tgsi_to_nir.c | 1750 ++++++++++++++++++++
mesalib/src/gallium/auxiliary/nir/tgsi_to_nir.h | 30 +
.../src/gallium/auxiliary/util/u_debug_symbol.c | 12 +-
mesalib/src/gallium/auxiliary/util/u_linkage.c | 149 --
mesalib/src/gallium/auxiliary/util/u_linkage.h | 67 -
mesalib/src/gallium/auxiliary/util/u_math.h | 18 +-
mesalib/src/gallium/auxiliary/util/u_tile.c | 12 +-
mesalib/src/glsl/Makefile.am | 11 +-
mesalib/src/glsl/Makefile.sources | 10 +-
mesalib/src/glsl/ast_function.cpp | 112 +-
mesalib/src/glsl/ast_to_hir.cpp | 68 +-
mesalib/src/glsl/builtin_functions.cpp | 4 +-
mesalib/src/glsl/glsl_lexer.ll | 20 +-
mesalib/src/glsl/glsl_parser_extras.cpp | 11 +-
mesalib/src/glsl/glsl_parser_extras.h | 5 +-
mesalib/src/glsl/glsl_types.cpp | 76 +-
mesalib/src/glsl/glsl_types.h | 6 +
mesalib/src/glsl/ir.cpp | 14 +-
mesalib/src/glsl/ir.h | 102 +-
mesalib/src/glsl/ir_constant_expression.cpp | 2 -
mesalib/src/glsl/ir_equals.cpp | 20 +-
mesalib/src/glsl/ir_validate.cpp | 8 +-
mesalib/src/glsl/link_uniforms.cpp | 4 +
mesalib/src/glsl/link_varyings.cpp | 13 +
mesalib/src/glsl/linker.cpp | 236 ++-
mesalib/src/glsl/loop_controls.cpp | 2 +-
.../src/glsl/lower_const_arrays_to_uniforms.cpp | 4 +-
mesalib/src/glsl/nir/glsl_to_nir.cpp | 92 +-
mesalib/src/glsl/nir/nir.c | 64 +-
mesalib/src/glsl/nir/nir.h | 51 +-
mesalib/src/glsl/nir/nir_algebraic.py | 17 +-
mesalib/src/glsl/nir/nir_builder.h | 135 +-
mesalib/src/glsl/nir/nir_from_ssa.c | 9 +-
mesalib/src/glsl/nir/nir_lower_idiv.c | 155 ++
mesalib/src/glsl/nir/nir_lower_phis_to_scalar.c | 2 +-
mesalib/src/glsl/nir/nir_lower_samplers.cpp | 45 +-
mesalib/src/glsl/nir/nir_lower_tex_projector.c | 143 ++
mesalib/src/glsl/nir/nir_lower_var_copies.c | 8 +-
mesalib/src/glsl/nir/nir_lower_vars_to_ssa.c | 2 +-
.../src/glsl/nir/nir_normalize_cubemap_coords.c | 110 ++
mesalib/src/glsl/nir/nir_opcodes.py | 8 +-
mesalib/src/glsl/nir/nir_opt_algebraic.py | 63 +-
mesalib/src/glsl/nir/nir_opt_cse.c | 32 +-
mesalib/src/glsl/nir/nir_opt_peephole_ffma.c | 261 +++
mesalib/src/glsl/nir/nir_opt_peephole_select.c | 4 +-
mesalib/src/glsl/nir/nir_print.c | 36 +-
mesalib/src/glsl/nir/nir_remove_dead_variables.c | 22 +-
mesalib/src/glsl/nir/nir_search.c | 4 +-
mesalib/src/glsl/nir/nir_split_var_copies.c | 4 +-
mesalib/src/glsl/nir/nir_sweep.c | 172 ++
mesalib/src/glsl/nir/nir_to_ssa.c | 2 +-
mesalib/src/glsl/nir/nir_types.cpp | 6 +
mesalib/src/glsl/nir/nir_types.h | 1 +
mesalib/src/glsl/nir/nir_validate.c | 16 +-
mesalib/src/glsl/opt_algebraic.cpp | 32 +
mesalib/src/glsl/opt_cse.cpp | 63 +-
mesalib/src/glsl/s_expression.cpp | 4 +-
mesalib/src/glsl/shader_enums.h | 187 +++
mesalib/src/loader/Makefile.am | 1 -
.../src/mapi/glapi/gen/ARB_direct_state_access.xml | 118 ++
.../mapi/glapi/gen/ARB_program_interface_query.xml | 109 ++
mesalib/src/mapi/glapi/gen/gl_API.xml | 4 +-
mesalib/src/mapi/glapi/gen/gl_genexec.py | 1 +
mesalib/src/mapi/stub.c | 2 +-
mesalib/src/mesa/Makefile.am | 2 +
mesalib/src/mesa/Makefile.sources | 7 +
mesalib/src/mesa/SConscript | 7 +-
mesalib/src/mesa/drivers/SConscript | 2 -
mesalib/src/mesa/drivers/dri/common/utils.c | 2 +-
mesalib/src/mesa/drivers/dri/common/xmlconfig.c | 2 +-
.../mesa/drivers/dri/common/xmlpool/Makefile.am | 19 +-
mesalib/src/mesa/drivers/dri/swrast/swrast.c | 2 +-
mesalib/src/mesa/drivers/dri/swrast/swrast_priv.h | 4 +-
mesalib/src/mesa/main/.gitignore | 1 +
mesalib/src/mesa/main/atifragshader.c | 4 +-
mesalib/src/mesa/main/attrib.c | 1 -
mesalib/src/mesa/main/bufferobj.c | 11 +-
mesalib/src/mesa/main/colormac.h | 45 -
mesalib/src/mesa/main/context.c | 12 +-
mesalib/src/mesa/main/debug.c | 2 +-
mesalib/src/mesa/main/dlopen.h | 6 +-
mesalib/src/mesa/main/errors.c | 43 +-
mesalib/src/mesa/main/errors.h | 7 +
mesalib/src/mesa/main/extensions.c | 1 +
mesalib/src/mesa/main/fbobject.c | 439 +++--
mesalib/src/mesa/main/fbobject.h | 16 +
mesalib/src/mesa/main/ffvertex_prog.c | 6 +-
mesalib/src/mesa/main/format_pack.py | 1 -
mesalib/src/mesa/main/format_unpack.h | 2 +
mesalib/src/mesa/main/format_unpack.py | 5 +-
mesalib/src/mesa/main/glformats.c | 2 +-
mesalib/src/mesa/main/imports.h | 24 +
mesalib/src/mesa/main/macros.h | 7 +
mesalib/src/mesa/main/mtypes.h | 184 +-
mesalib/src/mesa/main/multisample.c | 9 +
mesalib/src/mesa/main/pipelineobj.c | 35 +-
mesalib/src/mesa/main/pipelineobj.h | 3 +
mesalib/src/mesa/main/pixel.c | 1 -
mesalib/src/mesa/main/pixeltransfer.c | 2 +-
mesalib/src/mesa/main/program_resource.c | 417 +++++
mesalib/src/mesa/main/program_resource.h | 58 +
mesalib/src/mesa/main/queryobj.c | 131 +-
mesalib/src/mesa/main/queryobj.h | 14 +
mesalib/src/mesa/main/samplerobj.c | 25 +-
mesalib/src/mesa/main/samplerobj.h | 5 +
mesalib/src/mesa/main/shader_query.cpp | 764 +++++++--
mesalib/src/mesa/main/shaderapi.c | 25 +-
mesalib/src/mesa/main/shaderapi.h | 45 +
mesalib/src/mesa/main/shaderobj.c | 6 +
mesalib/src/mesa/main/state.c | 27 +-
mesalib/src/mesa/main/texcompress.c | 1 -
mesalib/src/mesa/main/texcompress_fxt1.c | 1 -
mesalib/src/mesa/main/texcompress_rgtc.c | 1 -
mesalib/src/mesa/main/texcompress_s3tc.c | 9 -
mesalib/src/mesa/main/texparam.c | 1 -
mesalib/src/mesa/main/texstate.c | 2 -
mesalib/src/mesa/main/texstore.c | 1 -
mesalib/src/mesa/main/transformfeedback.c | 386 ++++-
mesalib/src/mesa/main/transformfeedback.h | 30 +-
mesalib/src/mesa/main/uniform_query.cpp | 138 +-
mesalib/src/mesa/main/uniforms.c | 294 +---
mesalib/src/mesa/main/uniforms.h | 5 -
mesalib/src/mesa/main/version.c | 1 +
mesalib/src/mesa/main/viewport.c | 48 +-
mesalib/src/mesa/main/viewport.h | 3 -
mesalib/src/mesa/program/ir_to_mesa.cpp | 104 --
mesalib/src/mesa/program/prog_execute.c | 1 -
mesalib/src/mesa/program/prog_instruction.h | 2 +
mesalib/src/mesa/program/prog_parameter.c | 72 -
mesalib/src/mesa/program/prog_parameter.h | 9 -
mesalib/src/mesa/program/prog_to_nir.c | 1096 ++++++++++++
mesalib/src/mesa/program/prog_to_nir.h | 37 +
mesalib/src/mesa/program/program.c | 5 +
mesalib/src/mesa/state_tracker/st_atom.c | 2 +-
mesalib/src/mesa/state_tracker/st_atom_array.c | 2 +-
mesalib/src/mesa/state_tracker/st_atom_constbuf.c | 2 +-
mesalib/src/mesa/state_tracker/st_atom_shader.c | 3 +-
mesalib/src/mesa/state_tracker/st_cb_clear.c | 2 +-
mesalib/src/mesa/state_tracker/st_cb_program.c | 4 +
mesalib/src/mesa/state_tracker/st_cb_texture.c | 23 +-
mesalib/src/mesa/state_tracker/st_debug.c | 1 +
mesalib/src/mesa/state_tracker/st_debug.h | 1 +
mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 237 +--
mesalib/src/mesa/state_tracker/st_glsl_to_tgsi.h | 7 +-
mesalib/src/mesa/state_tracker/st_mesa_to_tgsi.c | 2 +-
mesalib/src/mesa/state_tracker/st_program.c | 49 +-
mesalib/src/mesa/state_tracker/st_program.h | 3 +
mesalib/src/mesa/state_tracker/st_texture.c | 8 +-
mesalib/src/mesa/swrast/s_aatriangle.c | 1 -
mesalib/src/mesa/swrast/s_alpha.c | 1 -
mesalib/src/mesa/swrast/s_atifragshader.c | 1 -
mesalib/src/mesa/swrast/s_context.c | 1 -
mesalib/src/mesa/swrast/s_copypix.c | 1 -
mesalib/src/mesa/swrast/s_feedback.c | 1 -
mesalib/src/mesa/swrast/s_fog.c | 1 -
mesalib/src/mesa/swrast/s_fragprog.c | 2 +-
mesalib/src/mesa/swrast/s_lines.c | 1 -
mesalib/src/mesa/swrast/s_linetemp.h | 4 +-
mesalib/src/mesa/swrast/s_points.c | 1 -
mesalib/src/mesa/swrast/s_span.c | 3 +-
mesalib/src/mesa/swrast/s_texcombine.c | 2 +-
mesalib/src/mesa/swrast/s_texfetch.c | 1 -
mesalib/src/mesa/swrast/s_texfilter.c | 2 +-
mesalib/src/mesa/swrast/s_texrender.c | 1 -
mesalib/src/mesa/swrast/s_triangle.c | 1 -
mesalib/src/mesa/swrast/s_tritemp.h | 4 +-
mesalib/src/mesa/swrast/s_zoom.c | 1 -
mesalib/src/mesa/swrast_setup/ss_context.c | 7 +-
mesalib/src/mesa/swrast_setup/ss_triangle.c | 1 -
mesalib/src/mesa/tnl/t_context.c | 12 +
mesalib/src/mesa/tnl/t_context.h | 1 +
mesalib/src/mesa/tnl/t_draw.c | 2 +-
mesalib/src/mesa/tnl/t_rasterpos.c | 14 +-
mesalib/src/mesa/tnl/t_vb_fog.c | 1 -
mesalib/src/mesa/tnl/t_vb_light.c | 1 -
mesalib/src/mesa/tnl/t_vb_lighttmp.h | 8 +-
mesalib/src/mesa/tnl/t_vb_normals.c | 1 -
mesalib/src/mesa/tnl/t_vb_program.c | 1 -
mesalib/src/mesa/tnl/t_vb_texgen.c | 1 -
mesalib/src/mesa/tnl/t_vb_texmat.c | 1 -
mesalib/src/mesa/tnl/t_vb_vertex.c | 1 -
mesalib/src/mesa/tnl/t_vertex.c | 1 -
mesalib/src/mesa/tnl/t_vertex_generic.c | 4 +-
mesalib/src/mesa/tnl/t_vertex_sse.c | 1 -
mesalib/src/mesa/vbo/vbo_exec_api.c | 2 +-
mesalib/src/mesa/vbo/vbo_exec_draw.c | 4 +-
mesalib/src/mesa/vbo/vbo_primitive_restart.c | 6 +-
mesalib/src/mesa/vbo/vbo_rebase.c | 2 +-
mesalib/src/mesa/vbo/vbo_save_api.c | 2 +-
mesalib/src/mesa/x86/common_x86.c | 2 +-
mesalib/src/util/ralloc.c | 26 +
mesalib/src/util/ralloc.h | 15 +-
mesalib/src/util/u_atomic_test.c | 5 +
pixman/pixman/pixman-arm-simd-asm.h | 4 +-
pixman/pixman/pixman.c | 18 +-
pixman/test/check-formats.c | 192 ---
pixman/test/lowlevel-blt-bench.c | 299 +++-
pixman/test/utils.c | 463 ++++--
pixman/test/utils.h | 12 +
xkbcomp/listing.c | 1 +
xorg-server/configure.ac | 2 +-
xorg-server/glamor/glamor.c | 224 +--
xorg-server/glamor/glamor.h | 173 +-
xorg-server/glamor/glamor_addtraps.c | 29 +-
xorg-server/glamor/glamor_compositerects.c | 4 +-
xorg-server/glamor/glamor_copy.c | 75 +-
xorg-server/glamor/glamor_core.c | 30 +-
xorg-server/glamor/glamor_dash.c | 15 +-
xorg-server/glamor/glamor_egl.c | 24 +-
xorg-server/glamor/glamor_fbo.c | 162 +-
xorg-server/glamor/glamor_font.c | 1 -
xorg-server/glamor/glamor_glyphblt.c | 54 +-
xorg-server/glamor/glamor_glyphs.c | 14 -
xorg-server/glamor/glamor_gradient.c | 12 +-
xorg-server/glamor/glamor_image.c | 27 -
xorg-server/glamor/glamor_largepixmap.c | 185 ++-
xorg-server/glamor/glamor_lines.c | 23 +-
xorg-server/glamor/glamor_picture.c | 20 +-
xorg-server/glamor/glamor_pixmap.c | 144 +-
xorg-server/glamor/glamor_points.c | 24 +-
xorg-server/glamor/glamor_prepare.c | 40 +-
xorg-server/glamor/glamor_priv.h | 243 ++-
xorg-server/glamor/glamor_program.c | 19 +-
xorg-server/glamor/glamor_program.h | 2 +-
xorg-server/glamor/glamor_rects.c | 28 +-
xorg-server/glamor/glamor_render.c | 309 ++--
xorg-server/glamor/glamor_segs.c | 20 -
xorg-server/glamor/glamor_spans.c | 61 +-
xorg-server/glamor/glamor_sync.c | 2 +
xorg-server/glamor/glamor_text.c | 47 +-
xorg-server/glamor/glamor_transfer.c | 57 +-
xorg-server/glamor/glamor_transform.c | 16 +-
xorg-server/glamor/glamor_trapezoid.c | 16 -
xorg-server/glamor/glamor_triangles.c | 42 +-
xorg-server/glamor/glamor_utils.h | 215 ++-
xorg-server/glamor/glamor_window.c | 12 +-
xorg-server/glamor/glamor_xv.c | 15 +-
xorg-server/hw/kdrive/ephyr/ephyr_glamor_glx.c | 2 +
xorg-server/hw/kdrive/ephyr/hostx.c | 9 +-
xorg-server/hw/xfree86/common/xf86Events.c | 7 +-
xorg-server/hw/xfree86/common/xf86platformBus.c | 20 +-
.../hw/xfree86/drivers/modesetting/driver.c | 5 +-
xorg-server/hw/xfree86/modes/xf86Crtc.c | 53 +
xorg-server/hw/xfree86/modes/xf86Crtc.h | 26 +-
.../hw/xfree86/os-support/linux/systemd-logind.c | 17 +-
xorg-server/hw/xquartz/quartz.c | 1 +
xorg-server/hw/xquartz/xpr/xprScreen.c | 2 +
xorg-server/hw/xwayland/Makefile.am | 1 +
xorg-server/hw/xwayland/xwayland-glamor.c | 6 +-
xorg-server/hw/xwin/InitOutput.c | 61 +-
xorg-server/hw/xwin/Makefile.am | 2 +-
xorg-server/hw/xwin/XWin.exe.manifest | 16 +-
xorg-server/hw/xwin/glx/gen_gl_wrappers.py | 96 +-
xorg-server/hw/xwin/man/XWin.man | 11 +-
xorg-server/hw/xwin/win.h | 35 +-
xorg-server/hw/xwin/winengine.c | 26 -
xorg-server/hw/xwin/winglobals.c | 2 +-
xorg-server/hw/xwin/winos.c | 72 +
xorg-server/hw/xwin/winprocarg.c | 20 +
xorg-server/hw/xwin/winscrinit.c | 23 +-
xorg-server/hw/xwin/winshaddd.c | 1221 --------------
xorg-server/hw/xwin/winwndproc.c | 6 +-
xorg-server/include/Makefile.am | 1 +
xorg-server/include/extinit.h | 5 -
xorg-server/include/nonsdk_extinit.h | 35 +
xorg-server/include/protocol-versions.h | 2 +-
xorg-server/mi/mifillarc.c | 5 +
xorg-server/mi/miinitext.c | 3 +
xorg-server/os/log.c | 28 +-
xorg-server/os/xdmcp.c | 17 +
xorg-server/pseudoramiX/pseudoramiX.c | 6 +-
xorg-server/pseudoramiX/pseudoramiX.h | 2 -
xorg-server/randr/Makefile.am | 1 +
xorg-server/randr/randr.c | 4 +
xorg-server/randr/randrstr.h | 44 +
xorg-server/randr/rrdispatch.c | 3 +
xorg-server/randr/rrmonitor.c | 748 +++++++++
xorg-server/randr/rrsdispatch.c | 38 +
xorg-server/randr/rrxinerama.c | 123 +-
xorg-server/xkeyboard-config/rules/base.xml.in | 6 +
xorg-server/xkeyboard-config/symbols/de | 1 +
xorg-server/xkeyboard-config/symbols/latam | 61 +
xorg-server/xkeyboard-config/symbols/typo | 107 +-
325 files changed, 11685 insertions(+), 5731 deletions(-)
create mode 100644 fontconfig/test/test-bz89617.c
create mode 100644 mesalib/docs/relnotes/10.5.2.html
create mode 100644 mesalib/docs/relnotes/10.5.3.html
create mode 100644 mesalib/docs/specs/MESA_image_dma_buf_export.txt
create mode 100644 mesalib/src/gallium/auxiliary/nir/tgsi_to_nir.c
create mode 100644 mesalib/src/gallium/auxiliary/nir/tgsi_to_nir.h
delete mode 100644 mesalib/src/gallium/auxiliary/util/u_linkage.c
delete mode 100644 mesalib/src/gallium/auxiliary/util/u_linkage.h
create mode 100644 mesalib/src/glsl/nir/nir_lower_idiv.c
create mode 100644 mesalib/src/glsl/nir/nir_lower_tex_projector.c
create mode 100644 mesalib/src/glsl/nir/nir_normalize_cubemap_coords.c
create mode 100644 mesalib/src/glsl/nir/nir_opt_peephole_ffma.c
create mode 100644 mesalib/src/glsl/nir/nir_sweep.c
create mode 100644 mesalib/src/glsl/shader_enums.h
create mode 100644 mesalib/src/mapi/glapi/gen/ARB_program_interface_query.xml
create mode 100644 mesalib/src/mesa/main/program_resource.c
create mode 100644 mesalib/src/mesa/main/program_resource.h
create mode 100644 mesalib/src/mesa/program/prog_to_nir.c
create mode 100644 mesalib/src/mesa/program/prog_to_nir.h
create mode 100644 xorg-server/hw/xwin/winos.c
delete mode 100644 xorg-server/hw/xwin/winshaddd.c
create mode 100644 xorg-server/include/nonsdk_extinit.h
create mode 100644 xorg-server/randr/rrmonitor.c
diff --git a/X11/extensions/randr.h b/X11/extensions/randr.h
index 3c6721bc5..6fcda8748 100644
--- a/X11/extensions/randr.h
+++ b/X11/extensions/randr.h
@@ -40,11 +40,11 @@ typedef unsigned long XRandrModeFlags;
#define RANDR_NAME "RANDR"
#define RANDR_MAJOR 1
-#define RANDR_MINOR 4
+#define RANDR_MINOR 5
#define RRNumberErrors 4
#define RRNumberEvents 2
-#define RRNumberRequests 42
+#define RRNumberRequests 45
#define X_RRQueryVersion 0
/* we skip 1 to make old clients fail pretty immediately */
@@ -104,6 +104,11 @@ typedef unsigned long XRandrModeFlags;
#define X_RRDeleteProviderProperty 40
#define X_RRGetProviderProperty 41
+/* v1.5 */
+#define X_RRGetMonitors 42
+#define X_RRSetMonitor 43
+#define X_RRDeleteMonitor 44
+
/* Event selection bits */
#define RRScreenChangeNotifyMask (1L << 0)
/* V1.2 additions */
@@ -181,6 +186,7 @@ typedef unsigned long XRandrModeFlags;
#define RR_PROPERTY_BORDER "Border"
#define RR_PROPERTY_BORDER_DIMENSIONS "BorderDimensions"
#define RR_PROPERTY_GUID "GUID"
+#define RR_PROPERTY_RANDR_TILE "TILE"
/* roles this device can carry out */
#define RR_Capability_None 0
diff --git a/X11/extensions/randrproto.h b/X11/extensions/randrproto.h
index 30691e7ea..114a6248e 100644
--- a/X11/extensions/randrproto.h
+++ b/X11/extensions/randrproto.h
@@ -50,6 +50,7 @@
#define RRCrtc CARD32
#define RRProvider CARD32
#define RRModeFlags CARD32
+#define Atom CARD32
#define Rotation CARD16
#define SizeID CARD16
@@ -1012,6 +1013,63 @@ typedef struct {
} xRRSetPanningReply;
#define sz_xRRSetPanningReply 32
+typedef struct {
+ Atom name B32;
+ BOOL primary;
+ BOOL automatic;
+ CARD16 noutput B16;
+ INT16 x B16;
+ INT16 y B16;
+ CARD16 width B16;
+ CARD16 height B16;
+ CARD32 widthInMillimeters B32;
+ CARD32 heightInMillimeters B32;
+} xRRMonitorInfo;
+#define sz_xRRMonitorInfo 24
+
+typedef struct {
+ CARD8 reqType;
+ CARD8 randrReqType;
+ CARD16 length B16;
+ Window window B32;
+ BOOL get_active;
+ CARD8 pad;
+ CARD16 pad2;
+} xRRGetMonitorsReq;
+#define sz_xRRGetMonitorsReq 12
+
+typedef struct {
+ BYTE type;
+ CARD8 status;
+ CARD16 sequenceNumber B16;
+ CARD32 length B32;
+ Time timestamp B32;
+ CARD32 nmonitors B32;
+ CARD32 noutputs B32;
+ CARD32 pad1 B32;
+ CARD32 pad2 B32;
+ CARD32 pad3 B32;
+} xRRGetMonitorsReply;
+#define sz_xRRGetMonitorsReply 32
+
+typedef struct {
+ CARD8 reqType;
+ CARD8 randrReqType;
+ CARD16 length B16;
+ Window window B32;
+ xRRMonitorInfo monitor;
+} xRRSetMonitorReq;
+#define sz_xRRSetMonitorReq 32
+
+typedef struct {
+ CARD8 reqType;
+ CARD8 randrReqType;
+ CARD16 length B16;
+ Window window B32;
+ Atom name B32;
+} xRRDeleteMonitorReq;
+#define sz_xRRDeleteMonitorReq 12
+
#undef RRModeFlags
#undef RRCrtc
#undef RRMode
@@ -1033,5 +1091,6 @@ typedef struct {
#undef Rotation
#undef SizeID
#undef SubpixelOrder
+#undef Atom
#endif /* _XRANDRP_H_ */
diff --git a/X11/extensions/randrproto.txt b/X11/extensions/randrproto.txt
index 190048299..74b7c366d 100644
--- a/X11/extensions/randrproto.txt
+++ b/X11/extensions/randrproto.txt
@@ -1,5 +1,5 @@
The X Resize, Rotate and Reflect Extension
- Version 1.4.1
+ Version 1.5.0
2015-03-14
Jim Gettys
@@ -149,7 +149,44 @@ be dynamically configured to provide support for:
4) multiple GPU rendering - This replaces Xinerama.
-1.99 Acknowledgements
+1.5. Introduction to version 1.5 of the extension
+
+Version 1.5 adds an optional TILE property to outputs.
+
+ • An optional TILE property.
+ This property is used to denote individual tiles in a tiled monitor
+ configuration, as exposed via DisplayID v1.3.
+
+Version 1.5 adds monitors
+
+ • A 'Monitor' is a rectangular subset of the screen which represents
+ a coherent collection of pixels presented to the user.
+
+ • Each Monitor is be associated with a list of outputs (which may be
+ empty).
+
+ • When clients define monitors, the associated outputs are removed from
+ existing Monitors. If removing the output causes the list for that
+ monitor to become empty, that monitor will be deleted.
+
+ • For active CRTCs that have no output associated with any
+ client-defined Monitor, one server-defined monitor will
+ automatically be defined of the first Output associated with them.
+
+ • When defining a monitor, setting the geometry to all zeros will
+ cause that monitor to dynamically track the bounding box of the
+ active outputs associated with them
+
+This new object separates the physical configuration of the hardware
+from the logical subsets the screen that applications should
+consider as single viewable areas.
+
+1.5.1. Relationship between Monitors and Xinerama
+
+Xinerama's information now comes from the Monitors instead of directly
+from the CRTCs. The Monitor marked as Primary will be listed first.
+
+1.99 Acknowledgments
Our thanks to the contributors to the design found on the xpert mailing
list, in particular:
@@ -162,7 +199,9 @@ David Dawes for XFree86 DDX integration work
Thomas Winischhofer for the hardware-accelerated SiS rotation implementation
Matthew Tippett and Kevin Martin for splitting outputs and CRTCs to more
fully expose what video hardware can do
-Dave Airlie for the 1.4.0 protocol changes.
+Dave Airlie for the 1.4.0 protocol changes and for working through the
+implications of MST monitors and encouraging the introduction of the
+'Monitor' concept.
❧❧❧❧❧❧❧❧❧❧❧
@@ -262,7 +301,7 @@ RRCONFIGSTATUS { Success
configuration is unsupported by the hardware. The goal is to make
these limitations expressed by the protocol, but when that isn't
possible it is correct to return this error value. If, as a
- implementor, you find this error code required, please submit the
+ implementer, you find this error code required, please submit the
hardware constraints that exist so that a future version of the
extension can correctly capture the configuration constraints in
your system.
@@ -365,6 +404,21 @@ PROVIDER_CAPS { SourceOutput, SinkOutput, SourceOffload, SinkOffload }
❧❧❧❧❧❧❧❧❧❧❧
+5.6. Protocol Types added in version 1.5 of the extension
+
+MONITORINFO { name: ATOM
+ primary: BOOL
+ automatic: BOOL
+ x: INT16
+ y: INT16
+ width: CARD16
+ height: CARD16
+ width-in-millimeters: CARD32
+ height-in-millimeters: CARD32
+ outputs: LISTofOUTPUT }
+
+ ❧❧❧❧❧❧❧❧❧❧❧
+
6. Extension Initialization
The name of this extension is "RANDR".
@@ -1538,6 +1592,79 @@ dynamic changes in the display environment.
from the provider, and a RRProviderPropertyNotify event is generated.
+ ❧❧❧❧❧❧❧❧❧❧❧
+
+7.5. Extension Requests added in version 1.5 of the extension.
+
+┌───
+ RRGetMonitors
+ window : WINDOW
+ get_active : BOOL
+ ▶
+ timestamp: TIMESTAMP
+ monitors: LISTofMONITORINFO
+└───
+ Errors: Window
+
+ Returns the list of Monitors for the screen containing
+ 'window'. If 'get_active' is set it returns only active
+ monitors (non-0x0 monitors). 'get_active' should always
+ be set by toolkits, and not by configuration clients.
+
+ 'timestamp' indicates the server time when the list of
+ monitors last changed.
+
+┌───
+ RRSetMonitor
+ window : WINDOW
+ info: MONITORINFO
+└───
+ Errors: Window, Output, Atom, Value
+
+ Create a new monitor. Any existing Monitor of the same name is deleted.
+
+ 'name' must be a valid atom or an Atom error results.
+
+ 'name' must not match the name of any Output on the screen, or
+ a Value error results.
+
+ If 'info.outputs' is non-empty, and if x, y, width, height are all
+ zero, then the Monitor geometry will be dynamically defined to
+ be the bounding box of the geometry of the active CRTCs
+ associated with them.
+
+ If 'name' matches an existing Monitor on the screen, the
+ existing one will be deleted as if RRDeleteMonitor were called.
+
+ For each output in 'info.outputs, each one is removed from all
+ pre-existing Monitors. If removing the output causes the list of
+ outputs for that Monitor to become empty, then that Monitor will
+ be deleted as if RRDeleteMonitor were called.
+
+ Only one monitor per screen may be primary. If 'info.primary'
+ is true, then the primary value will be set to false on all
+ other monitors on the screen.
+
+ RRSetMonitor generates a ConfigureNotify event on the root
+ window of the screen.
+
+┌───
+ RRDeleteMonitor
+ window : WINDOW
+ name: ATOM
+└───
+ Errors: Window, Atom, Value
+
+ Deletes the named Monitor.
+
+ 'name' must be a valid atom or an Atom error results.
+
+ 'name' must match the name of a Monitor on the screen, or a
+ Value error results.
+
+ RRDeleteMonitor generates a ConfigureNotify event on the root
+ window of the screen.
+
❧❧❧❧❧❧❧❧❧❧❧
8. Extension Events
@@ -1968,6 +2095,26 @@ doesn't handle a mandatory property correctly.
unique identifiers. When such an identifier is available, this property
contains its raw bytes.
+ "TILE" aka RR_PROPERTY_RANDR_TILE
+ Type: INTEGER
+ Format: 32
+ Num items: 8
+ Flags: Immutable
+ Range/List: -
+
+ Tile monitors have an array of values describing the tiling,
+ based on DisplayID v1.3
+
+ The 8 elements are:
+ 0: group id - The tile group identifier
+ 1: flags - flags for tile group
+ 0x1 = single monitor enclosure
+ 2: number of horizontal tiles in tile group
+ 3: number of vertical tiles in tile group
+ 4: horizontal tile location for this tile
+ 5: vertical tile location for this tile
+ 6: horizontal tile size for this tile
+ 7: vertical tile size for this tile
9.2 Properties introduced with version 1.2 of the RandR extension
@@ -2008,6 +2155,11 @@ Property Immutable Mandatory since
──────── ───────── ───────────────
GUID yes not mandatory
+9.7 Properties introduced with version 1.5 of the RandR extension
+
+Property Immutable Mandatory since
+──────── ───────── ───────────────
+TILE yes not mandatory
❧❧❧❧❧❧❧❧❧❧❧
10. Extension Versioning
@@ -2044,6 +2196,8 @@ list of what each version provided:
1.4: Added provider objects for handling multi-GPU systems.
+ 1.5: Added Monitors
+
Compatibility between 0.0 and 1.0 was *NOT* preserved, and 0.0 clients
will fail against 1.0 servers. The wire encoding op-codes were
changed for GetScreenInfo to ensure this failure in a relatively
@@ -2194,6 +2348,23 @@ A.1 Common Types
0x00000008 SinkOffload
└───
+A.1.1 Common Types added in version 1.5 of the protocol
+
+┌───
+ MONITORINFO (16 + 4*n)
+ 4 ATOM name
+ 1 BOOL primary
+ 1 BOOL automatic
+ 2 CARD16 ncrtcs
+ 2 INT16 x
+ 2 INT16 y
+ 2 CARD16 width in pixels
+ 2 CARD16 height in pixels
+ 4 CARD32 width in millimeters
+ 4 CARD32 height in millimeters
+ 4*n CRTC crtcs
+└───
+
A.2 Protocol Requests
Opcodes 1 and 3 were used in the 0.0 protocols, and will return
@@ -2932,6 +3103,42 @@ A.2.3 Protocol Requests added with version 1.4
p unused, p=pad(n)
└───
+A.2.4 Protocol Requests added with version 1.5
+
+┌───
+ RRGetMonitors
+ 1 CARD8 major opcode
+ 1 42 RandR opcode
+ 2 2 request length
+ 4 WINDOW window
+ ▶
+ 1 1 Reply
+ 1 unused
+ 2 CARD16 sequence number
+ 4 6*n + o reply length
+ 4 TIMESTAMP timestamp
+ 4 n nmonitors
+ 4 o noutputs
+ 12 unused
+ n*24+o*4 LISTofMONITORINFO monitors
+└───
+┌───
+ RRSetMonitor
+ 1 CARD8 major opcode
+ 1 43 RandR opcode
+ 2 6 + o request length
+ 4 WINDOW window
+ 24+o MONITORINFO monitorinfo
+└───
+┌───
+ RRDeleteMonitor
+ 1 CARD8 major opcode
+ 1 44 RandR opcode
+ 2 3 request length
+ 4 WINDOW window
+ 4 ATOM name
+└───
+
A.3 Protocol Events
┌───
diff --git a/fontconfig/doc/fontconfig-user.sgml b/fontconfig/doc/fontconfig-user.sgml
index ac9d8079e..7b4ad7408 100644
--- a/fontconfig/doc/fontconfig-user.sgml
+++ b/fontconfig/doc/fontconfig-user.sgml
@@ -323,7 +323,7 @@ a directory in the users home directory. If 'prefix' is set to "xdg", the value
The default directory is ``$XDG_CACHE_HOME/fontconfig'' and it contains the cache files
named ``<hash value> -<architecture> .cache-<version> '',
where <version> is the font configureation file
-version number (currently 3).
+version number (currently 5).
<include ignore_missing="no" prefix="default">
This element contains the name of an additional configuration file or
diff --git a/fontconfig/src/fccfg.c b/fontconfig/src/fccfg.c
index b92270b64..cc2d9ee63 100644
--- a/fontconfig/src/fccfg.c
+++ b/fontconfig/src/fccfg.c
@@ -1843,6 +1843,7 @@ FcConfigSubstitute (FcConfig *config,
#if defined (_WIN32)
static FcChar8 fontconfig_path[1000] = ""; /* MT-dontcare */
+FcChar8 fontconfig_instprefix[1000] = ""; /* MT-dontcare */
# if (defined (PIC) || defined (DLL_EXPORT))
@@ -1877,6 +1878,7 @@ DllMain (HINSTANCE hinstDLL,
if (p && (FcStrCmpIgnoreCase (p + 1, (const FcChar8 *) "bin") == 0 ||
FcStrCmpIgnoreCase (p + 1, (const FcChar8 *) "lib") == 0))
*p = '\0';
+ strcat ((char *) fontconfig_instprefix, (char *) fontconfig_path);
strcat ((char *) fontconfig_path, "\\etc\\fonts");
}
else
@@ -2227,7 +2229,9 @@ FcConfigAppFontAddFile (FcConfig *config,
FcStrSetDestroy (subdirs);
return FcFalse;
}
- if ((sublist = FcStrListCreate (subdirs)))
+ if (subdirs->num == 0)
+ ret = FcTrue;
+ else if ((sublist = FcStrListCreate (subdirs)))
{
while ((subdir = FcStrListNext (sublist)))
{
diff --git a/fontconfig/src/fcdir.c b/fontconfig/src/fcdir.c
index 593382f43..2e7f0dc7c 100644
--- a/fontconfig/src/fcdir.c
+++ b/fontconfig/src/fcdir.c
@@ -136,8 +136,8 @@ FcFileScanFontConfig (FcFontSet *set,
ret = FcFalse;
}
}
- else if (font)
- FcPatternDestroy (font);
+ else
+ ret = FcFalse;
id++;
} while (font && ret && id < count);
return ret;
diff --git a/fontconfig/src/fcrange.c b/fontconfig/src/fcrange.c
index 37cf06755..9b1b67b82 100644
--- a/fontconfig/src/fcrange.c
+++ b/fontconfig/src/fcrange.c
@@ -204,7 +204,7 @@ FcRangeHash (const FcRange *r)
{
FcRange c = FcRangeCanonicalize (r);
int b = (int) (c.u.d.begin * 100);
- int e = (int) (c.u.d.end * 100);
+ int e = FcDoubleCmpEQ (c.u.d.end, DBL_MAX) ? INT_MAX : (int) (c.u.d.end * 100);
return b ^ (b << 1) ^ (e << 9);
}
diff --git a/fontconfig/src/fcxml.c b/fontconfig/src/fcxml.c
index cdb14b67c..9a6f08d27 100644
--- a/fontconfig/src/fcxml.c
+++ b/fontconfig/src/fcxml.c
@@ -54,6 +54,7 @@
#ifdef _WIN32
#include
+extern FcChar8 fontconfig_instprefix[];
#endif
static void
@@ -2187,7 +2188,25 @@ FcParseCacheDir (FcConfigParse *parse)
data = prefix;
}
#ifdef _WIN32
- if (strcmp ((const char *) data, "WINDOWSTEMPDIR_FONTCONFIG_CACHE") == 0)
+ else if (data[0] == '/' && fontconfig_instprefix[0] != '\0')
+ {
+ size_t plen = strlen ((const char *)fontconfig_instprefix);
+ size_t dlen = strlen ((const char *)data);
+
+ prefix = malloc (plen + 1 + dlen + 1);
+ if (!prefix)
+ {
+ FcConfigMessage (parse, FcSevereError, "out of memory");
+ goto bail;
+ }
+ strcpy ((char *) prefix, (char *) fontconfig_instprefix);
+ prefix[plen] = FC_DIR_SEPARATOR;
+ memcpy (&prefix[plen + 1], data, dlen);
+ prefix[plen + 1 + dlen] = 0;
+ FcStrFree (data);
+ data = prefix;
+ }
+ else if (strcmp ((const char *) data, "WINDOWSTEMPDIR_FONTCONFIG_CACHE") == 0)
{
int rc;
FcStrFree (data);
@@ -2265,8 +2284,8 @@ FcParseInclude (FcConfigParse *parse)
attr = FcConfigGetAttribute (parse, "ignore_missing");
if (attr && FcConfigLexBool (parse, (FcChar8 *) attr) == FcTrue)
ignore_missing = FcTrue;
-#ifndef _WIN32
attr = FcConfigGetAttribute (parse, "deprecated");
+#ifndef _WIN32
if (attr && FcConfigLexBool (parse, (FcChar8 *) attr) == FcTrue)
deprecated = FcTrue;
#endif
diff --git a/fontconfig/test/Makefile.am b/fontconfig/test/Makefile.am
index f270b5071..bf1ec24a2 100644
--- a/fontconfig/test/Makefile.am
+++ b/fontconfig/test/Makefile.am
@@ -24,6 +24,13 @@ test_pthread_LDADD = $(top_builddir)/src/libfontconfig.la
# to meaningfully test anything, and we are not installed yet.
#TESTS += test-pthread
endif
+check_PROGRAMS += test-bz89617
+test_bz89617_CFLAGS = \
+ -DSRCDIR="\"$(abs_srcdir)\""
+
+test_bz89617_LDADD = $(top_builddir)/src/libfontconfig.la
+TESTS += test-bz89617
+
noinst_PROGRAMS = $(check_PROGRAMS)
if !OS_WIN32
diff --git a/fontconfig/test/test-bz89617.c b/fontconfig/test/test-bz89617.c
new file mode 100644
index 000000000..389f47094
--- /dev/null
+++ b/fontconfig/test/test-bz89617.c
@@ -0,0 +1,38 @@
+/*
+ * fontconfig/test/test-bz89617.c
+ *
+ * Copyright © 2000 Keith Packard
+ * Copyright © 2015 Akira TAGOH
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation, and that the name of the author(s) not be used in
+ * advertising or publicity pertaining to distribution of the software without
+ * specific, written prior permission. The authors make no
+ * representations about the suitability of this software for any purpose. It
+ * is provided "as is" without express or implied warranty.
+ *
+ * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+ * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ * PERFORMANCE OF THIS SOFTWARE.
+ */
+#include
+#include
+
+int
+main (void)
+{
+ FcConfig *config = FcConfigGetCurrent ();
+
+ if (!FcConfigAppFontAddFile (config, SRCDIR "/4x6.pcf") ||
+ FcConfigAppFontAddFile (config, "/dev/null"))
+ return 1;
+
+ return 0;
+}
diff --git a/libX11/nls/compose.dir.pre b/libX11/nls/compose.dir.pre
index e52a5c568..268c90a48 100644
--- a/libX11/nls/compose.dir.pre
+++ b/libX11/nls/compose.dir.pre
@@ -389,7 +389,7 @@ km_KH.UTF-8/Compose: km_KH.UTF-8
en_US.UTF-8/Compose: kn_IN.UTF-8
ko_KR.UTF-8/Compose: ko_KR.UTF-8
en_US.UTF-8/Compose: ks_IN.UTF-8
-en_US.UTF-8/Compose: ks_IN@devanagari.UTF-8
+en_US.UTF-8/Compose: ks_IN.UTF-8@devanagari
en_US.UTF-8/Compose: ku_TR.UTF-8
en_US.UTF-8/Compose: kw_GB.UTF-8
en_US.UTF-8/Compose: ky_KG.UTF-8
@@ -429,7 +429,7 @@ en_US.UTF-8/Compose: ru_UA.UTF-8
en_US.UTF-8/Compose: rw_RW.UTF-8
en_US.UTF-8/Compose: sa_IN.UTF-8
en_US.UTF-8/Compose: sd_IN.UTF-8
-en_US.UTF-8/Compose: sd_IN@devanagari.UTF-8
+en_US.UTF-8/Compose: sd_IN.UTF-8@devanagari
en_US.UTF-8/Compose: se_NO.UTF-8
en_US.UTF-8/Compose: sh_BA.UTF-8
en_US.UTF-8/Compose: sh_YU.UTF-8
diff --git a/libX11/nls/en_US.UTF-8/Compose.pre b/libX11/nls/en_US.UTF-8/Compose.pre
index 972e111b9..2041757c9 100644
--- a/libX11/nls/en_US.UTF-8/Compose.pre
+++ b/libX11/nls/en_US.UTF-8/Compose.pre
@@ -276,6 +276,7 @@ XCOMM Other symbols
: "☺" U263A # WHITE SMILING FACE
: "☹" U2639 # WHITE FROWNING FACE
+ : "🙌" # PERSON RAISING BOTH HANDS IN CELEBRATION
: "🖕" U1F595 # REVERSED HAND WITH MIDDLE FINGER EXTENDED
: "🖖" U1F596 # RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS
@@ -5840,8 +5841,6 @@ XCOMM
: "Р̂" # CYRILLIC CAPITAL LETTER ER WITH COMBINING CIRCUMFLEX ACCENT
: "Р̂" # CYRILLIC CAPITAL LETTER ER WITH COMBINING CIRCUMFLEX ACCENT
- : "🙌" # PERSON RAISING BOTH HANDS IN CELEBRATION
-
XCOMM APL support Geoff Streeter 2012-01-04
XCOMM APL was initially an overstruck language. The original APL terminal was an IBM golfball
diff --git a/libX11/nls/locale.alias.pre b/libX11/nls/locale.alias.pre
index 1319492fb..63d224612 100644
--- a/libX11/nls/locale.alias.pre
+++ b/libX11/nls/locale.alias.pre
@@ -750,8 +750,8 @@ KO_KR.UTF-8: ko_KR.UTF-8
ks: ks_IN.UTF-8
ks_IN: ks_IN.UTF-8
ks_IN.utf8: ks_IN.UTF-8
-ks_IN@devanagari: ks_IN@devanagari.UTF-8
-ks_IN@devanagari.utf8: ks_IN@devanagari.UTF-8
+ks_IN@devanagari: ks_IN.UTF-8@devanagari
+ks_IN.utf8@devanagari: ks_IN.UTF-8@devanagari
kw: kw_GB.ISO8859-1
kw_GB: kw_GB.ISO8859-1
kw_GB.iso88591: kw_GB.ISO8859-1
@@ -982,9 +982,9 @@ rw_RW.ISO-8859-1: rw_RW.ISO8859-1
rw_RW.utf8: rw_RW.UTF-8
sd: sd_IN.UTF-8
sd_IN.utf8: sd_IN.UTF-8
-sd@devanagari: sd_IN@devanagari.UTF-8
-sd_IN@devanagari: sd_IN@devanagari.UTF-8
-sd_IN@devanagari.utf8: sd_IN@devanagari.UTF-8
+sd@devanagari: sd_INUTF-8@devanagari
+sd_IN@devanagari: sd_INUTF-8@devanagari
+sd_IN.utf8@devanagari: sd_INUTF-8@devanagari
se_NO: se_NO.UTF-8
se_NO.utf8: se_NO.UTF-8
XCOMM sh was the old ISO code for Serbo-Croatian (now individual sr and hr).
diff --git a/libX11/nls/locale.dir.pre b/libX11/nls/locale.dir.pre
index ab1bacec6..8570ba336 100644
--- a/libX11/nls/locale.dir.pre
+++ b/libX11/nls/locale.dir.pre
@@ -292,6 +292,7 @@ en_US.UTF-8/XLC_LOCALE: ar_YE.UTF-8
en_US.UTF-8/XLC_LOCALE: as_IN.UTF-8
en_US.UTF-8/XLC_LOCALE: az_AZ.UTF-8
en_US.UTF-8/XLC_LOCALE: be_BY.UTF-8
+en_US.UTF-8/XLC_LOCALE: be_BY.UTF-8@latin
en_US.UTF-8/XLC_LOCALE: bg_BG.UTF-8
en_US.UTF-8/XLC_LOCALE: bn_BD.UTF-8
en_US.UTF-8/XLC_LOCALE: bn_IN.UTF-8
@@ -389,7 +390,7 @@ en_US.UTF-8/XLC_LOCALE: kl_GL.UTF-8
en_US.UTF-8/XLC_LOCALE: km_KH.UTF-8
en_US.UTF-8/XLC_LOCALE: kn_IN.UTF-8
en_US.UTF-8/XLC_LOCALE: ks_IN.UTF-8
-en_US.UTF-8/XLC_LOCALE: ks_IN@devanagari.UTF-8
+en_US.UTF-8/XLC_LOCALE: ks_IN.UTF-8@devanagari
ko_KR.UTF-8/XLC_LOCALE: ko_KR.UTF-8
en_US.UTF-8/XLC_LOCALE: ku_TR.UTF-8
en_US.UTF-8/XLC_LOCALE: kw_GB.UTF-8
@@ -429,7 +430,7 @@ en_US.UTF-8/XLC_LOCALE: ru_UA.UTF-8
en_US.UTF-8/XLC_LOCALE: rw_RW.UTF-8
en_US.UTF-8/XLC_LOCALE: sa_IN.UTF-8
en_US.UTF-8/XLC_LOCALE: sd_IN.UTF-8
-en_US.UTF-8/XLC_LOCALE: sd_IN@devanagari.UTF-8
+en_US.UTF-8/XLC_LOCALE: sd_IN.UTF-8@devanagari
en_US.UTF-8/XLC_LOCALE: se_NO.UTF-8
en_US.UTF-8/XLC_LOCALE: sh_BA.UTF-8
en_US.UTF-8/XLC_LOCALE: sh_YU.UTF-8
@@ -440,6 +441,7 @@ en_US.UTF-8/XLC_LOCALE: sq_AL.UTF-8
en_US.UTF-8/XLC_LOCALE: sr_CS.UTF-8
en_US.UTF-8/XLC_LOCALE: sr_ME.UTF-8
en_US.UTF-8/XLC_LOCALE: sr_RS.UTF-8
+en_US.UTF-8/XLC_LOCALE: sr_RS.UTF-8@latin
en_US.UTF-8/XLC_LOCALE: sr_YU.UTF-8
en_US.UTF-8/XLC_LOCALE: ss_ZA.UTF-8
en_US.UTF-8/XLC_LOCALE: st_ZA.UTF-8
diff --git a/libXdmcp/configure.ac b/libXdmcp/configure.ac
index 608bab99e..2288502ec 100644
--- a/libXdmcp/configure.ac
+++ b/libXdmcp/configure.ac
@@ -55,6 +55,14 @@ AC_PROG_LN_S
# Checks for libraries.
AC_SEARCH_LIBS([recvfrom],[socket])
+case $host_os in
+ *mingw*)
+ AC_CHECK_LIB([ws2_32],[main])
+ ;;
+ *)
+ ;;
+esac
+
# Checks for library functions.
AC_CHECK_LIB([bsd], [arc4random_buf])
AC_CHECK_FUNCS([srand48 lrand48 arc4random_buf])
diff --git a/libXmu/src/RdBitF.c b/libXmu/src/RdBitF.c
index 02159c651..240c4c808 100644
--- a/libXmu/src/RdBitF.c
+++ b/libXmu/src/RdBitF.c
@@ -56,6 +56,7 @@ in this Software without prior written authorization from The Open Group.
#include
#ifdef WIN32
#include
+#include /* for _getdrives() */
#endif
#define MAX_SIZE 255
diff --git a/libXmu/src/StrToCurs.c b/libXmu/src/StrToCurs.c
index 7bb1da1cc..fc064c66e 100644
--- a/libXmu/src/StrToCurs.c
+++ b/libXmu/src/StrToCurs.c
@@ -58,8 +58,8 @@ SOFTWARE.
#include
#include
-#ifndef X_NOT_POSIX
#include
+
#ifdef _POSIX_SOURCE
#include
#else
@@ -67,7 +67,7 @@ SOFTWARE.
#include
#undef _POSIX_SOURCE
#endif
-#endif /* X_NOT_POSIX */
+
#ifndef PATH_MAX
#ifdef WIN32
#define PATH_MAX 512
diff --git a/mesalib/.gitignore b/mesalib/.gitignore
index 00e3ce3da..21aa35cd3 100644
--- a/mesalib/.gitignore
+++ b/mesalib/.gitignore
@@ -45,3 +45,4 @@ manifest.txt
.libs/
Makefile
Makefile.in
+.install-mesa-links
diff --git a/mesalib/Makefile.am b/mesalib/Makefile.am
index f4f0912fa..9f49ce653 100644
--- a/mesalib/Makefile.am
+++ b/mesalib/Makefile.am
@@ -44,12 +44,15 @@ EXTRA_DIST = \
scons \
SConstruct
-noinst_HEADERS = \
- include/c99_compat.h \
- include/c99 \
- include/c11 \
- include/D3D9 \
- include/HaikuGL \
+noinst_HEADERS = \
+ include/c99_alloca.h \
+ include/c99_compat.h \
+ include/c99_math.h \
+ include/c99 \
+ include/c11 \
+ include/D3D9 \
+ include/HaikuGL \
+ include/no_extern_c.h \
include/pci_ids
# We list some directories in EXTRA_DIST, but don't actually want to include
diff --git a/mesalib/configure.ac b/mesalib/configure.ac
index 08378f570..095e23e69 100644
--- a/mesalib/configure.ac
+++ b/mesalib/configure.ac
@@ -123,10 +123,17 @@ if test "x$INDENT" != "xcat"; then
fi
AX_CHECK_PYTHON_MAKO_MODULE($PYTHON_MAKO_REQUIRED)
-if test -n "$PYTHON2" -a "x$acv_mako_found" = "xyes"; then
- AC_MSG_RESULT(yes)
+
+if test -z "$PYTHON2"; then
+ if test ! -f "$srcdir/src/util/format_srgb.c"; then
+ AC_MSG_ERROR([Python not found - unable to generate sources])
+ fi
else
- AC_MSG_ERROR([Python mako module v$PYTHON_MAKO_REQUIRED or higher not found])
+ if test "x$acv_mako_found" = xno; then
+ if test ! -f "$srcdir/src/mesa/main/format_unpack.c"; then
+ AC_MSG_ERROR([Python mako module v$PYTHON_MAKO_REQUIRED or higher not found])
+ fi
+ fi
fi
AC_PROG_INSTALL
@@ -223,7 +230,7 @@ _SAVE_LDFLAGS="$LDFLAGS"
_SAVE_CPPFLAGS="$CPPFLAGS"
dnl Compiler macros
-DEFINES="-DUSE_EXTERNAL_DXTN_LIB=1"
+DEFINES=""
AC_SUBST([DEFINES])
case "$host_os" in
linux*|*-gnu*|gnu*)
@@ -1634,7 +1641,7 @@ if test "x$enable_nine" = xyes; then
if ! echo "$with_gallium_drivers" | grep -q 'swrast'; then
AC_MSG_ERROR([nine requires the gallium swrast driver])
fi
- if test "x$with_gallium_drivers" == xswrast; then
+ if test "x$with_gallium_drivers" = xswrast; then
AC_MSG_ERROR([nine requires at least one non-swrast gallium driver])
fi
if test "x$enable_dri3" = xno; then
@@ -1649,19 +1656,6 @@ dnl
dnl OpenCL configuration
dnl
-AC_ARG_WITH([libclc-path],
- [AS_HELP_STRING([--with-libclc-path],
- [DEPRECATED: See http://dri.freedesktop.org/wiki/GalliumCompute#How_to_Install])],
- [LIBCLC_PATH="$withval"],
- [LIBCLC_PATH=''])
-
-if test -n "$LIBCLC_PATH"; then
- AC_MSG_ERROR([The --with-libclc-path option has been deprecated.
- Please review the updated build instructions for clover:
- http://dri.freedesktop.org/wiki/GalliumCompute])
-fi
-
-
AC_ARG_WITH([clang-libdir],
[AS_HELP_STRING([--with-clang-libdir],
[Path to Clang libraries @<:@default=llvm-config --libdir@:>@])],
@@ -1825,21 +1819,6 @@ if ! echo "$egl_platforms" | grep -q 'x11'; then
GL_PC_CFLAGS="$GL_PC_CFLAGS -DMESA_EGL_NO_X11_HEADERS"
fi
-AC_ARG_WITH([max-width],
- [AS_HELP_STRING([--with-max-width=N],
- [Maximum framebuffer width (4096)])],
- [DEFINES="${DEFINES} -DMAX_WIDTH=${withval}";
- AS_IF([test "${withval}" -gt "4096"],
- [AC_MSG_WARN([Large framebuffer: see s_tritemp.h comments.])])]
-)
-AC_ARG_WITH([max-height],
- [AS_HELP_STRING([--with-max-height=N],
- [Maximum framebuffer height (4096)])],
- [DEFINES="${DEFINES} -DMAX_HEIGHT=${withval}";
- AS_IF([test "${withval}" -gt "4096"],
- [AC_MSG_WARN([Large framebuffer: see s_tritemp.h comments.])])]
-)
-
dnl
dnl Gallium LLVM
dnl
@@ -1886,6 +1865,13 @@ strip_unwanted_llvm_flags() {
-e 's/-fstack-protector-strong\>//g'
}
+llvm_check_version_for() {
+ if test "${LLVM_VERSION_INT}${LLVM_VERSION_PATCH}" -lt "${1}0${2}${3}"; then
+ AC_MSG_ERROR([LLVM $1.$2.$3 or newer is required for $4])
+ fi
+}
+
+
if test -z "$with_gallium_drivers"; then
enable_gallium_llvm=no
@@ -1940,22 +1926,10 @@ if test "x$enable_gallium_llvm" = xyes; then
fi
if test "x$enable_opencl" = xyes; then
+ llvm_check_version_for "3" "5" "0" "opencl"
+
LLVM_COMPONENTS="${LLVM_COMPONENTS} all-targets ipo linker instrumentation"
- # LLVM 3.3 >= 177971 requires IRReader
- if $LLVM_CONFIG --components | grep -qw 'irreader'; then
- LLVM_COMPONENTS="${LLVM_COMPONENTS} irreader"
- fi
- # LLVM 3.4 requires Option
- if $LLVM_CONFIG --components | grep -qw 'option'; then
- LLVM_COMPONENTS="${LLVM_COMPONENTS} option"
- fi
- # Current OpenCL/Clover and LLVM 3.5 require ObjCARCOpts and ProfileData
- if $LLVM_CONFIG --components | grep -qw 'objcarcopts'; then
- LLVM_COMPONENTS="${LLVM_COMPONENTS} objcarcopts"
- fi
- if $LLVM_CONFIG --components | grep -qw 'profiledata'; then
- LLVM_COMPONENTS="${LLVM_COMPONENTS} profiledata"
- fi
+ LLVM_COMPONENTS="${LLVM_COMPONENTS} irreader option objcarcopts profiledata"
fi
DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT -DLLVM_VERSION_PATCH=$LLVM_VERSION_PATCH"
MESA_LLVM=1
@@ -2079,12 +2053,7 @@ radeon_llvm_check() {
if test "x$enable_gallium_llvm" != "xyes"; then
AC_MSG_ERROR([--enable-gallium-llvm is required when building $1])
fi
- LLVM_REQUIRED_VERSION_MAJOR="3"
- LLVM_REQUIRED_VERSION_MINOR="4"
- LLVM_REQUIRED_VERSION_PATCH="2"
- if test "${LLVM_VERSION_INT}${LLVM_VERSION_PATCH}" -lt "${LLVM_REQUIRED_VERSION_MAJOR}0${LLVM_REQUIRED_VERSION_MINOR}${LLVM_REQUIRED_VERSION_PATCH}"; then
- AC_MSG_ERROR([LLVM $LLVM_REQUIRED_VERSION_MAJOR.$LLVM_REQUIRED_VERSION_MINOR.$LLVM_REQUIRED_VERSION_PATCH or newer is required for $1])
- fi
+ llvm_check_version_for "3" "4" "2" $1
if test true && $LLVM_CONFIG --targets-built | grep -qvw 'R600' ; then
AC_MSG_ERROR([LLVM R600 Target not enabled. You can enable it when building the LLVM
sources with the --enable-experimental-targets=R600
@@ -2564,6 +2533,7 @@ if test "x$MESA_LLVM" = x1; then
echo " LLVM_CFLAGS: $LLVM_CFLAGS"
echo " LLVM_CXXFLAGS: $LLVM_CXXFLAGS"
echo " LLVM_CPPFLAGS: $LLVM_CPPFLAGS"
+ echo " LLVM_LDFLAGS: $LLVM_LDFLAGS"
echo ""
fi
echo " PYTHON2: $PYTHON2"
diff --git a/mesalib/docs/GL3.txt b/mesalib/docs/GL3.txt
index 93fa60d25..2dbd987de 100644
--- a/mesalib/docs/GL3.txt
+++ b/mesalib/docs/GL3.txt
@@ -111,11 +111,11 @@ GL 4.0, GLSL 4.00:
- New overload resolution rules DONE
GL_ARB_gpu_shader_fp64 DONE (nvc0, softpipe)
GL_ARB_sample_shading DONE (i965, nv50, nvc0, r600, radeonsi)
- GL_ARB_shader_subroutine not started
+ GL_ARB_shader_subroutine started (Dave)
GL_ARB_tessellation_shader started (Chris, Ilia)
GL_ARB_texture_buffer_object_rgb32 DONE (i965, nvc0, r600, radeonsi, llvmpipe, softpipe)
GL_ARB_texture_cube_map_array DONE (i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe)
- GL_ARB_texture_gather DONE (i965, nv50, nvc0, r600, radeonsi)
+ GL_ARB_texture_gather DONE (i965, nv50, nvc0, r600, radeonsi, llvmpipe)
GL_ARB_texture_query_lod DONE (i965, nv50, nvc0, r600, radeonsi)
GL_ARB_transform_feedback2 DONE (i965, nv50, nvc0, r600, radeonsi)
GL_ARB_transform_feedback3 DONE (i965, nv50, nvc0, r600, radeonsi)
@@ -161,7 +161,7 @@ GL 4.3, GLSL 4.30:
GL_ARB_internalformat_query2 not started
GL_ARB_invalidate_subdata DONE (all drivers)
GL_ARB_multi_draw_indirect DONE (i965, nvc0, r600, radeonsi, llvmpipe, softpipe)
- GL_ARB_program_interface_query not started
+ GL_ARB_program_interface_query DONE (all drivers)
GL_ARB_robust_buffer_access_behavior not started
GL_ARB_shader_image_size not started
GL_ARB_shader_storage_buffer_object not started
@@ -188,20 +188,20 @@ GL 4.4, GLSL 4.40:
GL 4.5, GLSL 4.50:
GL_ARB_ES3_1_compatibility not started
- GL_ARB_clip_control DONE (nv50, nvc0, r600, radeonsi, llvmpipe, softpipe)
+ GL_ARB_clip_control DONE (i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe)
GL_ARB_conditional_render_inverted DONE (i965, nv50, nvc0, llvmpipe, softpipe)
GL_ARB_cull_distance not started
GL_ARB_derivative_control DONE (i965, nv50, nvc0, r600)
GL_ARB_direct_state_access started
- - Transform Feedback object started (Martin Peres)
+ - Transform Feedback object DONE
- Buffer object DONE
- Framebuffer object started (Laura Ekstrand)
- - Renderbuffer object started (Martin Peres)
+ - Renderbuffer object DONE
- Texture object DONE
- Vertex array object started (Fredrik Höglund)
- - Sampler object started (Martin Peres)
- - Program Pipeline object started (Martin Peres)
- - Query object started (Martin Peres)
+ - Sampler object DONE
+ - Program Pipeline object DONE
+ - Query object DONE (will require changes when GL_ARB_query_buffer_object lands)
GL_ARB_get_texture_sub_image started (Brian Paul)
GL_ARB_shader_texture_image_samples not started
GL_ARB_texture_barrier DONE (nv50, nvc0, r600, radeonsi)
@@ -217,9 +217,10 @@ GLES3.1, GLSL ES 3.1
GL_ARB_draw_indirect DONE (i965, nvc0, r600, radeonsi, llvmpipe, softpipe)
GL_ARB_explicit_uniform_location DONE (all drivers that support GLSL)
GL_ARB_framebuffer_no_attachments not started
- GL_ARB_program_interface_query not started
+ GL_ARB_program_interface_query DONE (all drivers)
GL_ARB_shader_atomic_counters DONE (i965)
GL_ARB_shader_image_load_store in progress (curro)
+ GL_ARB_shader_image_size not started
GL_ARB_shader_storage_buffer_object not started
GL_ARB_shading_language_packing DONE (all drivers)
GL_ARB_separate_shader_objects DONE (all drivers)
diff --git a/mesalib/docs/README.WIN32 b/mesalib/docs/README.WIN32
index e0e5b9b2d..94e1d6fd8 100644
--- a/mesalib/docs/README.WIN32
+++ b/mesalib/docs/README.WIN32
@@ -11,10 +11,6 @@ no longer shipped or supported.
Run
- scons osmesa
-
-to build classic osmesa driver; or
-
scons libgl-gdi
to build gallium based GDI driver.
diff --git a/mesalib/docs/faq.html b/mesalib/docs/faq.html
index d4037e83c..b7c6fbf8a 100644
--- a/mesalib/docs/faq.html
+++ b/mesalib/docs/faq.html
@@ -327,19 +327,6 @@ Basically, applying a translation of (0.375, 0.375, 0.0) to your coordinates
will fix the problem.
-3.6 How can I change the maximum framebuffer size in Mesa's
-swrast backend?
-
-These can be overridden by using the --with-max-width and
---with-max-height options. The two need not be equal.
-
-Do note that Mesa uses these values to size some internal buffers,
-so increasing these sizes will cause Mesa to require additional
-memory. Furthermore, increasing these limits beyond 4096
-may introduce rasterization artifacts; see the leading comments in
-src/mesa/swrast/s_tritemp.h .
-
-
diff --git a/mesalib/docs/index.html b/mesalib/docs/index.html
index 9bc5843ff..9e4644caa 100644
--- a/mesalib/docs/index.html
+++ b/mesalib/docs/index.html
@@ -16,6 +16,18 @@
News
+April 12, 2015
+
+Mesa 10.5.3 is released.
+This is a bug-fix release.
+
+
+March 28, 2015
+
+Mesa 10.5.2 is released.
+This is a bug-fix release.
+
+
March 20, 2015
Mesa 10.4.7 is released.
diff --git a/mesalib/docs/llvmpipe.html b/mesalib/docs/llvmpipe.html
index 72db93aaf..f603bd646 100644
--- a/mesalib/docs/llvmpipe.html
+++ b/mesalib/docs/llvmpipe.html
@@ -58,15 +58,37 @@ It's the fastest software rasterizer for Mesa.
- For Windows you will need to build LLVM from source with MSVC or MINGW
- (either natively or through cross compilers) and CMake, and set the LLVM
- environment variable to the directory you installed it to.
+ For Windows you will need to build LLVM from source with MSVC or MINGW
+ (either natively or through cross compilers) and CMake, and set the LLVM
+ environment variable to the directory you installed it to.
LLVM will be statically linked, so when building on MSVC it needs to be
built with a matching CRT as Mesa, and you'll need to pass
- -DLLVM_USE_CRT_RELEASE=MTd for debug and checked builds,
- -DLLVM_USE_CRT_RELEASE=MTd for profile and release builds.
+ -DLLVM_USE_CRT_xxx=yyy
as described below.
+
+
+
+
+ LLVM build-type
+ Mesa build-type
+
+
+ debug,checked
+ release,profile
+
+
+ Debug
+ -DLLVM_USE_CRT_DEBUG=MTd
+ -DLLVM_USE_CRT_DEBUG=MT
+
+
+ Release
+ -DLLVM_USE_CRT_RELEASE=MTd
+ -DLLVM_USE_CRT_RELEASE=MT
+
+
+
You can build only the x86 target by passing -DLLVM_TARGETS_TO_BUILD=X86
to cmake.
diff --git a/mesalib/docs/relnotes.html b/mesalib/docs/relnotes.html
index 023f7dd8f..6ec35d11f 100644
--- a/mesalib/docs/relnotes.html
+++ b/mesalib/docs/relnotes.html
@@ -21,6 +21,8 @@ The release notes summarize what's new or changed in each Mesa release.
+10.5.3 release notes
+10.5.2 release notes
10.4.7 release notes
10.5.1 release notes
10.5.0 release notes
diff --git a/mesalib/docs/relnotes/10.5.2.html b/mesalib/docs/relnotes/10.5.2.html
new file mode 100644
index 000000000..9114199c9
--- /dev/null
+++ b/mesalib/docs/relnotes/10.5.2.html
@@ -0,0 +1,130 @@
+
+
+
+
+ Mesa Release Notes
+
+
+
+
+
+
+
+
+
+
Mesa 10.5.2 Release Notes / March 28, 2015
+
+
+Mesa 10.5.2 is a bug fix release which fixes bugs found since the 10.5.1 release.
+
+
+Mesa 10.5.2 implements the OpenGL 3.3 API, but the version reported by
+glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) /
+glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used.
+Some drivers don't support all the features required in OpenGL 3.3. OpenGL
+3.3 is only available if requested at context creation
+because compatibility contexts are not supported.
+
+
+
+
SHA256 checksums
+
+755220e160a9f22fda0dffd47746f997b6e196d03f8edc390df7793aecaaa541 mesa-10.5.2.tar.gz
+2f4b6fb77c3e7d6f861558d0884a3073f575e1e673dad8d1b0624e78e9c4dd44 mesa-10.5.2.tar.xz
+
+
+
+
New features
+
None
+
+
Bug fixes
+
+
This list is likely incomplete.
+
+
+
+Bug 88534 - include/c11/threads_posix.h PTHREAD_MUTEX_RECURSIVE_NP not defined
+
+Bug 89328 - python required to build Mesa release tarballs
+
+Bug 89530 - FTBFS in loader: missing fstat
+
+Bug 89590 - Crash in glLinkProgram with shaders with multiple constant arrays
+
+Bug 89680 - Hard link exist in Mesa 10.5.1 sources
+
+
+
+
+
Changes
+
+
Anuj Phogat (1):
+
+ glsl: Generate link error for non-matching gl_FragCoord redeclarations
+
+
+
Emil Velikov (7):
+
+ docs: Add sha256 sums for the 10.5.1 release
+ automake: add missing egl files to the tarball
+ st/egl: don't ship the dri2.c link at the tarball
+ loader: include <sys/stat.h> for non-sysfs builds
+ auxiliary/os: fix the android build - s/drm_munmap/os_munmap/
+ cherry-ignore: add commit non applicable for 10.5
+ Update version to 10.5.2
+
+
+
Felix Janda (1):
+
+ c11/threads: Use PTHREAD_MUTEX_RECURSIVE by default
+
+
+
Francisco Jerez (1):
+
+ i965: Set nr_params to the number of uniform components in the VS/GS path.
+
+
+
Ilia Mirkin (2):
+
+ freedreno/a3xx: use the same layer size for all slices
+ freedreno: fix slice pitch calculations
+
+
+
Marek Olšák (1):
+
+ radeonsi: increase coords array size for radeon_llvm_emit_prepare_cube_coords
+
+
+
Mario Kleiner (2):
+
+ glx: Handle out-of-sequence swap completion events correctly. (v2)
+ mapi: Make private copies of name strings provided by client.
+
+
+
Rob Clark (1):
+
+ freedreno: update generated headers
+
+
+
Samuel Iglesias Gonsalvez (2):
+
+ glsl: optimize (0 cmp x + y) into (-x cmp y).
+ configure: Introduce new output variable to ax_check_python_mako_module.m4
+
+
+
Tapani Pälli (1):
+
+ glsl: fix names in lower_constant_arrays_to_uniforms
+
+
+
Tom Stellard (1):
+
+ clover: Return 0 as storage size for local kernel args that are not set v2
+
+
+
+
+
+
diff --git a/mesalib/docs/relnotes/10.5.3.html b/mesalib/docs/relnotes/10.5.3.html
new file mode 100644
index 000000000..e5e0d3063
--- /dev/null
+++ b/mesalib/docs/relnotes/10.5.3.html
@@ -0,0 +1,125 @@
+
+
+
+
+ Mesa Release Notes
+
+
+
+
+
+
+
+
+
+
Mesa 10.5.3 Release Notes / April 12, 2015
+
+
+Mesa 10.5.3 is a bug fix release which fixes bugs found since the 10.5.2 release.
+
+
+Mesa 10.5.3 implements the OpenGL 3.3 API, but the version reported by
+glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) /
+glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used.
+Some drivers don't support all the features required in OpenGL 3.3. OpenGL
+3.3 is only available if requested at context creation
+because compatibility contexts are not supported.
+
+
+
+
SHA256 checksums
+
+2371b8e210ccd19f61dd94b6664d612e5a479ba7d431a074512d87633bd6aeb4 mesa-10.5.3.tar.gz
+8701ee1be4f5c03238f5e63c1a9bd4cc03a2f6c0155ed42a1ae7d58f18912ba2 mesa-10.5.3.tar.xz
+
+
+
+
New features
+
None
+
+
Bug fixes
+
+
This list is likely incomplete.
+
+
+
+Bug 83962 - [HSW/BYT]Piglit spec_ARB_gpu_shader5_arb_gpu_shader5-emitstreamvertex_nodraw fails
+
+Bug 89679 - [NV50] Portal/Half-Life 2 will not start (native Steam)
+
+Bug 89746 - Mesa and LLVM 3.6+ break opengl for genymotion
+
+Bug 89754 - vertexAttrib fails WebGL Conformance test with mesa drivers
+
+Bug 89758 - pow WebGL Conformance test with mesa drivers
+
+Bug 89759 - WebGL OGL ES GLSL conformance test with mesa drivers fails
+
+Bug 89905 - scons build broken on 10.5.2 due to activated vega st
+
+
+
+
Changes
+
+
Dave Airlie (1):
+
+ st_glsl_to_tgsi: only do mov copy propagation on temps (v2)
+
+
+
Emil Velikov (5):
+
+ docs: Add sha256 sums for the 10.5.2 release
+ xmlpool: don't forget to ship the MOS
+ configure.ac: error out if python/mako is not found when required
+ dist: add the VG depedencies into the tarball
+ Update version to 10.5.3
+
+
+
Iago Toral Quiroga (1):
+
+ i965: Do not render primitives in non-zero streams then TF is disabled
+
+
+
Ilia Mirkin (7):
+
+ st/mesa: update arrays when the current attrib has been updated
+ nv50/ir: take postFactor into account when doing peephole optimizations
+ nv50/ir/gk110: fix offset flag position for TXD opcode
+ freedreno/a3xx: fix 3d texture layout
+ freedreno/a3xx: point size should not be divided by 2
+ nv50: allocate more offset space for occlusion queries
+ nv50,nvc0: limit the y-tiling of 3d textures to the first level's tiling
+
+
+
Kenneth Graunke (2):
+
+ i965: Fix instanced geometry shaders on Gen8+.
+ i965: Add forgotten multi-stream code to Gen8 SOL state.
+
+
+
Marcin Ślusarz (1):
+
+ nouveau: synchronize "scratch runout" destruction with the command stream
+
+
+
Michel Dänzer (1):
+
+ radeonsi: Cache LLVMTargetMachineRef in context instead of in screen
+
+
+
Tom Stellard (1):
+
+ clover: Return CL_BUILD_ERROR for CL_PROGRAM_BUILD_STATUS when compilation fails v2
+
+
+
Ville Syrjälä (1):
+
+ i965: Fix URB size for CHV
+
+
+
+
+
+
diff --git a/mesalib/docs/relnotes/10.6.0.html b/mesalib/docs/relnotes/10.6.0.html
index 00aaaa5fc..82aea5cf9 100644
--- a/mesalib/docs/relnotes/10.6.0.html
+++ b/mesalib/docs/relnotes/10.6.0.html
@@ -45,11 +45,15 @@ Note: some of the new features are only available with certain drivers.
GL_AMD_pinned_memory on r600, radeonsi
+GL_ARB_draw_indirect, GL_ARB_multi_draw_indirect on r600
GL_ARB_draw_instanced on freedreno
GL_ARB_gpu_shader_fp64 on nvc0, softpipe
GL_ARB_instanced_arrays on freedreno
GL_ARB_pipeline_statistics_query on i965, nv50, nvc0, r600, radeonsi, softpipe
-GL_ARB_draw_indirect, GL_ARB_multi_draw_indirect on r600
+GL_ARB_uniform_buffer_object on freedreno
+GL_EXT_draw_buffers2 on freedreno
+GL_ARB_clip_control on i965
+GL_ARB_program_interface_query (all drivers)
Bug fixes
@@ -65,6 +69,8 @@ TBD.
Removed OpenVG support.
Removed the galahad gallium driver.
Removed the identity gallium driver.
+Removed the EGL loader from the Windows SCons build.
+Removed the classic osmesa from the Windows SCons build.
diff --git a/mesalib/docs/specs/MESA_image_dma_buf_export.txt b/mesalib/docs/specs/MESA_image_dma_buf_export.txt
new file mode 100644
index 000000000..c3794ee36
--- /dev/null
+++ b/mesalib/docs/specs/MESA_image_dma_buf_export.txt
@@ -0,0 +1,142 @@
+Name
+
+ MESA_image_dma_buf_export
+
+Name Strings
+
+ EGL_MESA_image_dma_buf_export
+
+Contributors
+
+ Dave Airlie
+
+Contact
+
+ Dave Airlie (airlied 'at' redhat 'dot' com)
+
+Status
+
+ Proposal
+
+Version
+
+ Version 2, Mar 30, 2015
+
+Number
+
+ EGL Extension #not assigned
+
+Dependencies
+
+ Reguires EGL 1.4 or later. This extension is written against the
+ wording of the EGL 1.4 specification.
+
+ EGL_KHR_base_image is required.
+
+ The EGL implementation must be running on a Linux kernel supporting the
+ dma_buf buffer sharing mechanism.
+
+Overview
+
+ This extension provides entry points for integrating EGLImage with the
+ dma-buf infrastructure. The extension allows creating a Linux dma_buf
+ file descriptor or multiple file descriptors, in the case of multi-plane
+ YUV image, from an EGLImage.
+
+ It is designed to provide the complementary functionality to EGL_EXT_image_dma_buf_import.
+
+IP Status
+
+ Open-source; freely implementable.
+
+New Types
+
+ This is a 64 bit unsigned integer.
+
+ typedef khronos_uint64_t EGLuint64MESA;
+
+
+New Procedures and Functions
+
+ EGLBoolean eglExportDMABUFImageQueryMESA(EGLDisplay dpy,
+ EGLImageKHR image,
+ int *fourcc,
+ int *num_planes,
+ EGLuint64MESA *modifiers);
+
+ EGLBoolean eglExportDMABUFImageMESA(EGLDisplay dpy,
+ EGLImageKHR image,
+ int *fds,
+ EGLint *strides,
+ EGLint *offsets);
+
+New Tokens
+
+ None
+
+
+Additions to the EGL 1.4 Specification:
+
+ To mirror the import extension, this extension attempts to return
+ enough information to enable an exported dma-buf to be imported
+ via eglCreateImageKHR and EGL_LINUX_DMA_BUF_EXT token.
+
+ Retrieving the information is a two step process, so two APIs
+ are required.
+
+ The first entrypoint
+ EGLBoolean eglExportDMABUFImageQueryMESA(EGLDisplay dpy,
+ EGLImageKHR image,
+ int *fourcc,
+ int *num_planes,
+ EGLuint64MESA *modifiers);
+
+ is used to retrieve the pixel format of the buffer, as specified by
+ drm_fourcc.h, the number of planes in the image and the Linux
+ drm modifiers. , and may be NULL,
+ in which case no value is retrieved.
+
+ The second entrypoint retrieves the dma_buf file descriptors,
+ strides and offsets for the image. The caller should pass
+ arrays sized according to the num_planes values retrieved previously.
+ Passing arrays of the wrong size will have undefined results.
+ If the number of fds is less than the number of planes, then
+ subsequent fd slots should contain -1.
+
+ EGLBoolean eglExportDMABUFImageMESA(EGLDisplay dpy,
+ EGLImageKHR image,
+ int *fds,
+ EGLint *strides,
+ EGLint *offsets);
+
+ , , can be NULL if the infomatation isn't
+ required by the caller.
+
+Issues
+
+1. Should the API look more like an attribute getting API?
+
+ANSWER: No, from a user interface pov, having to iterate across calling
+the API up to 12 times using attribs seems like the wrong solution.
+
+2. Should the API take a plane and just get the fd/stride/offset for that
+ plane?
+
+ANSWER: UNKNOWN,this might be just as valid an API.
+
+3. Does ownership of the file descriptor remain with the app?
+
+ANSWER: Yes, the app is responsible for closing any fds retrieved.
+
+4. If number of planes and number of fds differ what should we do?
+
+ANSWER: Return -1 for the secondary slots, as this avoids having
+to dup the fd extra times to make the interface sane.
+
+Revision History
+
+ Version 2, March, 2015
+ Add a query interface (Dave Airlie)
+ Version 1, June 3, 2014
+ Initial draft (Dave Airlie)
+
diff --git a/mesalib/docs/viewperf.html b/mesalib/docs/viewperf.html
index 23c6028d2..6b63b94d8 100644
--- a/mesalib/docs/viewperf.html
+++ b/mesalib/docs/viewperf.html
@@ -19,6 +19,7 @@
This page lists known issues with
SPEC Viewperf 11
+and SPEC Viewperf 12
when running on Mesa-based drivers.
@@ -40,13 +41,15 @@ These issues have been reported to the SPEC organization in the hope that
they'll be fixed in the future.
+Viewperf 11
+
-Some of the Viewperf tests use a lot of memory.
+Some of the Viewperf 11 tests use a lot of memory.
At least 2GB of RAM is recommended.
-Catia-03 test 2
+Catia-03 test 2
This test creates over 38000 vertex buffer objects. On some systems
@@ -59,7 +62,7 @@ either in Viewperf or the Mesa driver.
-
Catia-03 tests 3, 4, 8
+Catia-03 tests 3, 4, 8
These tests use features of the
@@ -79,7 +82,7 @@ Subsequent drawing calls become no-ops and the rendering is incorrect.
-
sw-02 tests 1, 2, 4, 6
+sw-02 tests 1, 2, 4, 6
These tests depend on the
@@ -99,7 +102,7 @@ color. This is probably due to some uninitialized state somewhere.
-
sw-02 test 6
+sw-02 test 6
The lines drawn in this test appear in a random color.
@@ -111,7 +114,7 @@ situation, we get a random color.
-
Lightwave-01 test 3
+Lightwave-01 test 3
This test uses a number of mipmapped textures, but the textures are
@@ -172,7 +175,7 @@ However, we have no plans to implement this work-around in Mesa.
-Maya-03 test 2
+Maya-03 test 2
This test makes some unusual calls to glRotate. For example:
@@ -204,7 +207,7 @@ and with a semi-random color (between white and black) since GL_FOG is enabled.
-Proe-05 test 1
+Proe-05 test 1
This uses depth testing but there's two problems:
@@ -232,7 +235,7 @@ glClear is called so clearing the depth buffer would be a no-op anyway.
-Proe-05 test 6
+Proe-05 test 6
This test draws an engine model with a two-pass algorithm.
@@ -261,6 +264,79 @@ blending with appropriate patterns/modes to ensure the same fragments
are produced in both passes.
+Viewperf 12
+
+
+Note that Viewperf 12 only runs on 64-bit Windows 7 or later.
+
+
+catia-04
+
+
+One of the catia tests calls wglGetProcAddress() to get some
+GL_EXT_direct_state_access functions (such as glBindMultiTextureEXT) and some
+GL_NV_half_float functions (such as glMultiTexCoord3hNV).
+If the extension/function is not supported, wglGetProcAddress() can return NULL.
+Unfortunately, Viewperf doesn't check for null pointers and crashes when it
+later tries to use the pointer.
+
+
+
+Another catia test uses OpenGL 3.1's primitive restart feature.
+But when Viewperf creates an OpenGL context, it doesn't request version 3.1
+If the driver returns version 3.0 or earlier all the calls related to primitive
+restart generate an OpenGL error.
+Some of the rendering is then incorrect.
+
+
+
+energy-01
+
+
+This test creates a 3D luminance texture of size 1K x 1K x 1K.
+If the OpenGL driver/device doesn't support a texture of this size
+the glTexImage3D() call will fail with GL_INVALID_VALUE or GL_OUT_OF_MEMORY
+and all that's rendered is plain white polygons.
+Ideally, the test would use a proxy texture to determine the max 3D
+texture size. But it does not do that.
+
+
+maya-04
+
+
+This test generates many GL_INVALID_OPERATION errors in its calls to
+glUniform().
+Causes include:
+
+ Trying to set float uniforms with glUniformi()
+ Trying to set float uniforms with glUniform3f()
+ Trying to set matrix uniforms with glUniform() instead of glUniformMatrix().
+
+
+Apparently, the indexes returned by glGetUniformLocation() were hard-coded
+into the application trace when it was created.
+Since different implementations of glGetUniformLocation() may return different
+values for any given uniform name, subsequent calls to glUniform() will be
+invalid since they refer to the wrong uniform variables.
+This causes many OpenGL errors and leads to incorrect rendering.
+
+
+medical-01
+
+
+This test uses a single GLSL fragment shader which contains a GLSL 1.20
+array initializer statement, but it neglects to specify
+#version 120
at the top of the shader code.
+So, the shader does not compile and all that's rendered is plain white polygons.
+
+
+showcase-01
+
+
+This is actually a DX11 test based on Autodesk's Showcase product.
+As such, it won't run with Mesa.
+
+