Category Archives: News

Qt Weekly #21: Dynamic OpenGL implementation loading in Qt 5.4

By Laszlo Agocs

In Qt 5.4 there is a new configure option on Windows: -opengl dynamic. This, in addition to -opengl desktop and -opengl es2, changes the OpenGL implementation (and implicitly the window system interface API) that Qt is built against. However, unlike the previously existing flags, dynamic is something different. Enabling it ensures that neither the Qt libraries nor the applications link directly to an OpenGL implementation, meaning that neither opengl32.lib nor libEGL.lib + libGLESv2.lib are not passed to the linker. Instead, Qt will, upon application startup, choose the implementation to load.

Starting with the Qt 5.4 release candidate the previously ANGLE-only pre-built packages are changed to be dynamic builds. It is therefore time to take a closer look at this feature.

Up until Qt 5.4 the binary packages of Qt have been offered in two variants: desktop OpenGL (meaning opengl32.dll) and ANGLE. ANGLE provides an EGL and OpenGL ES 2.0 (soon 3.0) implementation by translating calls and shaders to Direct3D9 or 11. This is very handy for systems that have a lacking OpenGL implementation, for example due to not having the necessary graphics drivers or installed or due to using remote desktop. In addition, Direct3D 11 supports WARP, a software rasterizer.

The ability to work on a wider range of systems made ANGLE a promising prospect for providing OpenGL support for Qt and Qt Quick 2 on Windows, and so it became the default configuration setting. This is true in 5.4 too: configure defaults to ANGLE when no -opengl setting is specified.

However, the results were not always pretty. Offering multiple versions of the binaries causes confusion when getting started (which package to download?) and when deploying (which Qt libraries to ship with my application?). Relying exclusively on ANGLE is not an option in practice. Many desktop applications want OpenGL 3.x and 4.x features. On systems where a proper graphics driver is known to be available, the translation to Direct3D is unnecessary. Advanced modes of operation, like rendering from multiple threads have issues with ANGLE. Therefore the “desktop” OpenGL packages, meaning binaries linked against opengl32, had to be made available.

To eliminate the confusion, Qt 5.4 introduces the concept of dynamic OpenGL implementation selection. The binaries built in this mode are capable of operating with opengl32 (using WGL as the windowing system interface and regular OpenGL), ANGLE (using EGL and Open GL ES) or with a custom opengl32 variant (for example Mesa llvmpipe). …read more

Source:: http://blog.qt.digia.com/blog/2014/11/27/qt-weekly-21-dynamic-opengl-implementation-loading-in-qt-5-4/

      

The Bike-Friendly Commuter Suit Review: Good at Bikes, Bad at Suit

By Nicholas Stango

The Bike-Friendly Commuter Suit Review: Good at Bikes, Bad at Suit

You can’t ride a bicycle in a traditional suit. The wear and tear on that fabric will be enough to tear holes in the pants and rip the shoulder seams. Not a good look! You could keep a suit in a bag and change when you get to work, but you’d have to show up early. And stinky. Parker Dusseau has a different idea: formalwear specifically made for two-wheelers.

…read more

Source:: http://feeds.gawker.com/~r/gizmodo/full/~3/7l9E9HRdffA/the-bike-friendly-commuter-suit-review-good-at-bikes-1662660081

      

EU wants ‘right to be forgotten’ applied globally

By Richard Nieva Privacy watchdogs in Europe say the controversial ruling, which affects only local European versions of Google’s search engine, should be applied more broadly.
…read more

Source:: http://cnet.com.feedsportal.com/c/34938/f/645093/s/40dfb160/sc/21/l/0L0Scnet0N0Cnews0Ceu0Ewants0Eright0Eto0Ebe0Eforgotten0Eapplied0Eglobally0C0Tftag0FCAD590Aa51e/story01.htm

      

EU wants ‘right to be forgotten’ applied globally

By Richard Nieva Privacy watchdogs in Europe say the controversial ruling, which affects only local European versions of Google’s search engine, should be applied more broadly.
…read more

Source:: http://cnet.com.feedsportal.com/c/34938/f/645093/s/40dfb160/sc/21/l/0L0Scnet0N0Cnews0Ceu0Ewants0Eright0Eto0Ebe0Eforgotten0Eapplied0Eglobally0C0Tftag0FCAD590Aa51e/story01.htm

      

Revamped Firefox to play up new search options

By Stephen Shankland Mozilla’s open-source browser now makes your search-engine choices more prominent. That could speed up specialty searches with sites such as eBay or Wikipedia.

…read more

Source:: http://cnet.com.feedsportal.com/c/34938/f/645093/s/40de5317/sc/4/l/0L0Scnet0N0Cnews0Cmozilla0Epromotes0Enew0Esearch0Eoptions0Ein0Erevamped0Efirefox0C0Tftag0FCAD590Aa51e/story01.htm