From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28875 invoked by alias); 31 Oct 2014 07:49:27 -0000 Mailing-List: contact cygwin-xfree-announce-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-xfree-announce-owner@cygwin.com Mail-Followup-To: cygwin-xfree-announce@cygwin.com Received: (qmail 28496 invoked by uid 89); 31 Oct 2014 07:48:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <54533EBB.9030700@cygwin.com> Date: Fri, 31 Oct 2014 07:49:00 -0000 From: Yaakov Selkowitz User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: cygwin-xfree-announce@cygwin.com Subject: Updated: mesa-10.2.9-1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-10/txt/msg00008.txt.bz2 The following packages have been updated in the Cygwin distribution: * dri-drivers-10.2.9-1 * libEGL1-10.2.9-1 * libEGL-devel-10.2.9-1 * libGL1-10.2.9-1 * libGL-devel-10.2.9-1 * libGLESv1_CM1-10.2.9-1 * libGLESv1_CM-devel-10.2.9-1 * libGLESv2_2-10.2.9-1 * libGLESv2-devel-10.2.9-1 * libglapi0-10.2.9-1 * libOpenVG1-10.2.9-1 * libOpenVG-devel-10.2.9-1 * libOSMesa8-10.2.9-1 * libOSMesa-devel-10.2.9-1 Mesa is an open-source implementation of the OpenGL specification, a system for rendering interactive 3D graphics. This is an update to the latest (and possibly final) patch release for the 10.2 branch, and adds experimental hardware-accelerated direct rendering. Up through 8.x, OpenGL on Cygwin has been handled solely with indirect rendering, meaning that libGL passes calls over the GLX protocol to the server, which then handles the rendering with hardware acceleration in multiwindow/-wgl mode, or software rendering (swrast) in desktop/-nowgl mode. The major drawback of this method is that the GLX protocol only supports OpenGL 1.4, anything which requires 2.0 or newer (such as GLSL) cannot work. The previous 10.2.4 release added direct rendering support, where libGL handles the rendering itself via the swrast DRI module (llvmpipe), which provides complete OpenGL 3.0 and GLSL 1.30 support (along with numerous newer extensions), allowing much more OpenGL software to render correctly. This release further adds Windows-DRI: direct *hardware-accelerated* support, where libGL hands off to the graphics hardware via its Windows OpenGL drivers. This provides enhanced performance and support for even newer versions of OpenGL, but requires very recent graphics drivers and is only supported in multiwindow mode. As direct rendering is a new feature, the previous behaviour of indirect rendering is still the default. In order to enable direct rendering (and hence OpenGL 3.0 or newer), the following steps are required: 1) Add the following to your ~/.startxwinrc, ~/.xinitrc, or ~/.bashrc, or run this manually in the shell from which you will launch OpenGL applications: unset LIBGL_ALWAYS_INDIRECT (tcsh users need to use unsetenv instead of unset, of course.) 2) If Windows-DRI is desired in multiwindow mode, then add the following as well: export LIBGL_USE_WGL=1 (or "setenv LIBGL_USE_WGL 1" in tcsh, etc.) This release also fixes compatibility between swrast and AIGLX, so it is no longer necessary to specify -nowgl when using direct software rendering in multiwindow mode. Many thanks to Jon TURNEY for his continued work on OpenGL support which led to these new features. -- Yaakov Cygwin/X