Yay or nay? Made an app that adds Aero Glass, Start Menu on Windows 10


Recommended Posts

5 hours ago, MeowPurr said:

Hi. Good question. When Microsoft shipped Windows 8 back in 2012 they have repeatedly said they have removed Aero Glass because of performance/battery life issues. And that is completely not true for two reasons: First, with Windows 8 hardware-accelerated graphics are used system-wide. Composition, specifically the DWM, which renders every window as a 3D polygon cannot be disabled starting with Windows 8. This means that the graphics hardware is being used continuously, which is a good thing. Graphics hardware are better and more efficient at, yes, graphics rendering than CPUs. So even if there was a battery life issue when using desktop composition (required for Glass) it wasn't the reason it got removed because composition is everywhere (even more so in Windows 10). The second reason is that the glass effect incurs no performance hit since the way DWM is designed windows are overlaid on top of each other and if you basically don't draw anything in a window everything behind it will be shown (I'm talking about non-client window areas). As for the blur or frosty glass effect, it uses an extremely simple pixel shader (I mean, blurring a bunch of pixels? It really means absolutely nothing for a modern graphics processor, even a mobile one) rendered on a polygon behind the window which again, is not a lot more performance heavy than say, the 3D shadow effect around a window. In any case, how hard could have been to add a toggle, or even separate themes for the glass effect? Answer: not hard at all. They originally didn't want people to spend time on the Desktop UI but on the ridiculously fullscreen (thank god we got rid of that) Modern UI apps.

Well, yes and no, Glass requires the DWM, and the DWM is always used as of 8+, but that doesn't mean you always have hardware acceleration. The DWM just uses software rendering mode if the GPU sucks (And you really don't want to do Glass in that situation)

 

And even with full hardware acceleration, overdraw is slower than non-overdraw. By limiting the amount of a surface can be transparent, you get performance benefits on the GPU side because it doesn't have to sample multiple textures to render a pixel (And that's just simple translucent surfaces, like window shadows, Glass did blurring/tinting for every single surface behind it)

 

And of course it reduces memory consumption, you can use RGB surfaces instead of ARGB surfaces for your window backing store by default.

  • Like 2
1 hour ago, The_Decryptor said:

Well, yes and no, Glass requires the DWM, and the DWM is always used as of 8+, but that doesn't mean you always have hardware acceleration. The DWM just uses software rendering mode if the GPU sucks (And you really don't want to do Glass in that situation)

 

And even with full hardware acceleration, overdraw is slower than non-overdraw. By limiting the amount of a surface can be transparent, you get performance benefits on the GPU side because it doesn't have to sample multiple textures to render a pixel (And that's just simple translucent surfaces, like window shadows, Glass did blurring/tinting for every single surface behind it)

 

And of course it reduces memory consumption, you can use RGB surfaces instead of ARGB surfaces for your window backing store by default.

All my DWM tinkering has been done on Windows 10 so maybe certain things have changed from Windows 8/8.1. As for the software rendering mode, it only exists so that DWM can be enabled at all times, for example when your regular video card driver gets disabled. But it really exists for extreme user cases (and possibly server configurations) since (unless using a powerful CPU) it is much slower than even the most basic graphics cards. Windows 7 has shown that Aero Glass runs wonderfully on extremely low-end graphics hardware. I myself have had Aero Glass running smoothly on a Geforce 5200 or the measly GMA adapter on a 2009 Asus Eee PC netbook. To put things into perspective, the 5200 gets a 7 in the Passmark GPU benchmark while the Atom Z3735G SoC included in a popular low end Windows tablet, the HP Stream 7, gets 105. I don't think these devices would have a performance hit when running a blur pixel shader. In any case, this feature can be disabled either by user request or on the fly if the device is running on battery or software rendering mode. Choice is the key here. And I would dare to say that most Windows 8.1+ installs have some sort of hardware accelerated graphics device available.

 

Looking at DWM internals you can clearly see they are using premultiplied BGRA pixel formats at least on non-client areas, so even if alpha information is not being used in some places, it's still being allocated. And in the case of my program, the blurry surfaces are being cached and not re-generated unless you resize/move/open/close a window, so most of the time it's not doing anything extra. My relatively high DWM memory usage is due to the fact that I'm using debug versions of my software (that already adds significant overhead) and I'm not doing any kind of cleanup/memory leak checks yet. I just wanted to have a proof of concept and some feedback before continuing (one of the biggest rules of programming is, premature optimization is the root of all evil :laugh:).

 

In any case, I may not be right, and I'm no graphics programming expert, but the evidence for their claim of performance issues with Aero Glass is just not there.

Edited by MeowPurr

@OP, Glass for the taskbar and Start Menu (the built-in one and third party menus) is possible in Windows 10, right? But not glass in the title bar area, so your project is very welcome. :) The visual style (theme) that you are using in your screenshots also appears to be a 3D-looking one like Windows 7?

15 minutes ago, patseguin said:

I like the idea, but for some reason it doesn't look quite right with Windows 10 style windows. Is it just me?

 

You mean the sharp angles of Windows 10 style windows?  I think the glass looks fine on it ... I even prefer the sharp angles over the slight rounded 7 windows.  

On 4/28/2016 at 10:41 PM, MeowPurr said:

In any case, I may not be right, and I'm no graphics programming expert, but the evidence for their claim of performance issues with Aero Glass is just not there.

I read where it is not Glass but Aero itself that is a problem. Vista was loaded with it and it slowed the performance.

14 minutes ago, onewarmslime said:

I'm all ears!

 

 

14 minutes ago, onewarmslime said:

I'm all ears!

Windows Aero incorporated the following features in Windows Vista.

Aero Glass theme: The main component of Aero, it is the successor of Windows XP's "Luna" and changes the look and feel of graphical control elements, including but not limited to buttons, checkboxes, radio buttons, menus, progress bars and default Windows icons. Even message boxes are changed.[2]

Windows Flip improvements: Windows Flip (Alt+Tab) in Windows Vista now shows a live preview of each open window instead of the application icons.[3]

Windows Flip 3D: Windows Flip 3D (Windows key+Tab) renders live images of open windows, allowing one to switch between them while displaying them in a three-dimensional view.[4]

Taskbar live thumbnails – Hovering over the taskbar button of a window displays a preview of that window in the taskbar.

Desktop Window Manager (DWM) – Due to the significant impact of the new changes on hardware and performance, Desktop Window Manager was introduced to achieve hardware acceleration, transferring the duty of UI rendering from CPU to graphic subsystem. DWM in Windows Vista required compatible hardware.

Task Dialogs: dialog boxes meant to help communicate with the user and receive simple user input. Task Dialogs are more complex than traditional message boxes that only bear a message and a set of command buttons. Task Dialogs may have expandable sections, hyperlinks, checkboxes, progress bars and graphical elements.[5]

Windows 7

Aero Peek, showing the desktop

Windows Aero is revised in Windows 7, with several UI changes, a more touch-friendly UI and many new visual effects and features, including mouse gestures:

Aero Peek: Hovering over a taskbar thumbnail shows a preview of the entire window. Aero Peek is also available through the "Show desktop" button at the right end of the taskbar, which makes all open windows transparent for a quick view of the desktop. A similar feature was patented during Windows Vista development.[6]

Aero Shake: Shaking (quickly dragging back and forth) a window minimizes all other windows. Shaking it again brings them back.

Aero Snap: Dragging a window to the right or left side of the desktop causes the window to fill the respective half of the screen. Snapping a window to the top of the screen maximizes it. Windows can be resized by stretching them to touch the top or bottom of the screen, which fully increases their vertical screen estate, while retaining their width, these windows can then slide horizontally if moved by the title bar, or pulled off, which returns the window to its original height. In spite of the "Aero" moniker, this feature is available if one uses the Classic theme.

Touch UI enhancements: Windows Aero was revised to be more touch-friendly. For example, touch gestures and support for high DPI on displays were added.[7]

Title bar of maximized windows remain transparent instead of becoming opaque.

The outline of non-maximized windows is completely white, rather than having a cyan outline on the right side and bottom.

When hovering over the taskbar button of an open program, the button glows the dominant RGB color of its icon, with the effect following the mouse cursor.[8]

Progress indicators are present in taskbar buttons. For example, downloading a program through Internet Explorer causes the button to fill with color as the operation progresses.[9]

Windows 8

While retaining interface elements introduced by Vista and 7, Windows 8 and Windows Server 2012 made changes to the visual appearance of the operating system that incorporate the Metro design language. As a result of these changes, the Aero Glass theme was replaced by a flatter, solid colored theme. Most transparency effects were removed from the interface, aside from the taskbar, which maintains transparency (but no longer has a blur effect).[10][11] Flip 3D was also removed; ⊞ Win+Tab ↹ now switches between Modern Apps.

In comparison to Windows 7, the interface adopted a flatter look with almost no transparency effects, fewer rounded edges, and solid colored window borders, despite many commenters' protests. Pre-release versions of Windows 8 used an updated version of Aero Glass with a flatter, squared look, but the Glass theme was ultimately removed for the final version.[12][13]

 

Source :https://en.wikipedia.org/wiki/Windows_Aero

 

7 hours ago, rcm said:

Where the hell did my last post go??? It wasn't trolling, inflammatory or arguing with anyone and was on topic...  :angry:

I know right? I think I posted a comment in page 2 that got removed as well. Guess criticizing Microsoft gets your post removed? Oh well.

 

On 4/28/2016 at 6:57 AM, UXGaurav said:

@OP, Glass for the taskbar and Start Menu (the built-in one and third party menus) is possible in Windows 10, right? But not glass in the title bar area, so your project is very welcome. :) The visual style (theme) that you are using in your screenshots also appears to be a 3D-looking one like Windows 7?

I guess the main issue is that Windows 10 has removed at least 35% of theming functionality previously supported. So I'm slowly adding back theming for the Taskbar, built-in Start Menu, Live Previews, Network flyout, Action Center, and windows frames (lots of metrics are no longer customizable, I guess because of better DPI support, but it's def possible to have both). As for third-party menus, I guess it depends on the developer. Mine adapts to the theme but as you can see the built-in one does not include theming data for the classic Start Menu. About the titlebars, it's been mentioned a few times, are you guys referring to Modern/UWP apps? Because sadly UWP app titlebars are completely owner-drawn so unless I inject my library and override their drawing code (which I won't ever do), the only thing I may be able to do is blend the top part with a regular windows frame. Note that I'm talking about UWP apps, regular Win32 ones behave just like in Windows 7, you can even have extended borders as you can see in this picture:

Capture.PNG

(It all looks awful in so many ways but it's for illustration purposes)

 

3 hours ago, Gary7 said:

I read where it is not Glass but Aero itself that is a problem. Vista was loaded with it and it slowed the performance.

I normally use the terms Aero and Aero Glass interchangeably. You can have Aero Glass with opaque windows in Windows 7 but composition is still required. The Aero Basic theme (I think that's what it was called) is not composited and uses the old rendering engine instead. In any case, all Windows versions starting with 8 are normally "loaded" with composition, no matter what theme are you using (even the High Contrast ones). The problem is yes, the DWM in Vista was very slow. In fact, memory consumption increased linearly with the number of windows opened. Crazy right? This great blog post details all the optimizations that went into the DWM before the release of Windows 7. Regardless, Windows Vista set the foundations, albeit unoptimized, for many important modern Windows features, from rendering to power-saving to security ones, like the UAC. Both Windows 7 and 8 refined these features under the hood. In my opinion, Windows 10 is the version that got the least under the hood changes probably since Windows XP or maybe Windows ME, which is not necessarily a bad thing since for all intents and purposes, the Windows core today is rock solid.

  • Like 3
5 minutes ago, MeowPurr said:

<snip>

Man, I'm glad to see that you're picking this up! I can't wait to see how well this is going to work! (That is, unless you charge $ for it, which I'd understand, but I can't even afford to pay attention right now. Still homeless, and couch surfing....looking for a job....) I just sat down at a 7 machine the other day for the first time in ages....and although it wasn't 10, it sure was nice to see that familiar glass that myself, and many others like me enjoy. Keep up the good work, those screenshots are awesome!

On 4/27/2016 at 7:28 PM, 7Dash8 said:

Microsoft isn't really neglecting desktop users, they're just trying to herd us all into their idiotic Windows Store walled garden. Not so much neglect as outright abuse :)

 

Anyway good job with the app - despite what MS (and the usual suspects here on Neowin) say, greater user choice is always a good thing. Look forward to it coming out soon.

I'll buy that.

1 hour ago, MeowPurr said:

I know right? I think I posted a comment in page 2 that got removed as well. Guess criticizing Microsoft gets your post removed? Oh well.

Hmmm, criticizing Microsoft is now an apparent offense on Neowin...:rolleyes:

 

Despite Microsoft's refusal to properly reintroduce glass, a lot of people would still like to see it back, myself included. Your tool could well fill a hole that other tools could fill but due to dodgy licensing reasons, have failed to. :)

About pricing - I think the community really needs now a reliable solution for Windows customization, not just Aero Glass. In fact, I wouldn't like to be using the Aero Glass theme all the time, ideally I would like to switch themes every month.

I have developed a couple of free and open source projects, including TouchEnabler which in part became the foundation for this Aero Glass project. The problem is that like many other open-source projects, developers have very little time to polish them or even make them usable for regular folks. That's what happened with TouchEnabler, even though it is free and extremely extensible it went unnoticed and commercial solutions surfaced which seem to be far more successful than my little app (I'm also not good at marketing or even just getting the word out). I'm definitely not planning to make a living out of this project, I have a day job as a developer and have a few hours left in the weekend to use for this project. And it's not like you could make lots of revenue out of customization software, even Stardock has moved on. So I'm looking at the possibility of maybe starting a little Kickstarter to fund development of this project from early alpha (today) to a release candidate. And the Aero Glass part is just a tiny feature of it all. I have been researching how to get customization on modern Windows ever since msstyles stopped being supported altogether. Back in 2012, one day I couldn't boot up my main Windows 8 computer because of a seemingly innocuous tiny Windows update. After installing the update, the system wouldn't start because for some reason it needed the vanilla aero.msstyles set as the default theme. Technically speaking, updates introduce new code which in turn need new .msstyles resources that because of poor design make the entire system unable to boot, either by showing a black screen at logon or, more recently, a blue screen. So today, if you have a custom theme and you get a new update (every day as of Windows 10), your computer may not boot up next time. And speaking of Windows 10, msstyles have become such a vestigial feature that as I said earlier most of the system-wide UI is not customizable. To fix this and before adding back Aero Glass I made a new version-independent theme format that in part gets translated to msstyles at run time or is loaded by my library directly; I had to make a new theme editor to go with it not just because of the new format but also since the only existing theme editor (short of hex value editing) is not only paid, closed-source but also has not been updated in more than 4 years. It's all in very early stages and so far all my testing has been done on a VM. Anyway, sorry for the word vomit :s and thank you for your encouraging comments.

  • Like 2
52 minutes ago, MeowPurr said:

About pricing - I think the community really needs now a reliable solution for Windows customization, not just Aero Glass. In fact, I wouldn't like to be using the Aero Glass theme all the time, ideally I would like to switch themes every month.

Would be fantastic to see the windows customization scene come back to life. The XP days were a lot of fun!

 

Though I never really cared for the actual Aero Glass theme, I always liked the transparency & blur effect.

3 minutes ago, Lamp0 said:

Would be fantastic to see the windows customization scene come back to life. The XP days were a lot of fun!

 

Though I never really cared for the actual Aero Glass theme, I always liked the transparency & blur effect.

I miss the custom bootup and shutdown sounds mine had (have the sound files, but wasn't prepared to hack them into 7)

On 27/04/2016 at 9:27 AM, goretsky said:

Hello,

 

My understanding is that Aero Glass was removed to improve battery runtime on tablets.  Do you have any idea yet if the changes made by your program affect battery runtime significantly?

 

Regards,

 

Aryeh Goretsky

 

It wasn't. The UI in Windows 7 was hardware accelerated, it still is hardware accelerated in Windows 10. The difference made by transparency is completely negligible. It was done for the simple reason that glass doesn't fit into the flat and ugly visual mantra.

On 4/30/2016 at 2:14 PM, MeowPurr said:

About pricing - I think the community really needs now a reliable solution for Windows customization, not just Aero Glass. In fact, I wouldn't like to be using the Aero Glass theme all the time, ideally I would like to switch themes every month.

I have developed a couple of free and open source projects, including TouchEnabler which in part became the foundation for this Aero Glass project. The problem is that like many other open-source projects, developers have very little time to polish them or even make them usable for regular folks. That's what happened with TouchEnabler, even though it is free and extremely extensible it went unnoticed and commercial solutions surfaced which seem to be far more successful than my little app (I'm also not good at marketing or even just getting the word out). I'm definitely not planning to make a living out of this project, I have a day job as a developer and have a few hours left in the weekend to use for this project. And it's not like you could make lots of revenue out of customization software, even Stardock has moved on. So I'm looking at the possibility of maybe starting a little Kickstarter to fund development of this project from early alpha (today) to a release candidate. And the Aero Glass part is just a tiny feature of it all. I have been researching how to get customization on modern Windows ever since msstyles stopped being supported altogether. Back in 2012, one day I couldn't boot up my main Windows 8 computer because of a seemingly innocuous tiny Windows update. After installing the update, the system wouldn't start because for some reason it needed the vanilla aero.msstyles set as the default theme. Technically speaking, updates introduce new code which in turn need new .msstyles resources that because of poor design make the entire system unable to boot, either by showing a black screen at logon or, more recently, a blue screen. So today, if you have a custom theme and you get a new update (every day as of Windows 10), your computer may not boot up next time. And speaking of Windows 10, msstyles have become such a vestigial feature that as I said earlier most of the system-wide UI is not customizable. To fix this and before adding back Aero Glass I made a new version-independent theme format that in part gets translated to msstyles at run time or is loaded by my library directly; I had to make a new theme editor to go with it not just because of the new format but also since the only existing theme editor (short of hex value editing) is not only paid, closed-source but also has not been updated in more than 4 years. It's all in very early stages and so far all my testing has been done on a VM. Anyway, sorry for the word vomit :s and thank you for your encouraging comments.

What do you mean that VistaStyleBuilder hasn't been updated in 4 years? There's the 1.5.6.3 beta that supports up to Win8.1, and people in the community have updated the ClassMaps to import older themes into Win10 TH2 and RS1. In fact, I have the latest release and it works fine.

This topic is now closed to further replies.
  • Posts

    • Oh, of course not. The real "victims" are the people who snipe kids in the head, have killed more journalist than all the worlds wars combined, do double tap strikes on medical personnel, claim history started on October 7th, have a $700 million dollar annual Hasbara budget and pay influencers $7k a post to spout exactly this kind of propaganda. How dare you question the most moral army in the world. Victimhood belongs to these genocidal freaks alone. Anyone who denies that is literally Hitler. If you're going to support a terrorist state, the least you could do is come up with better talking points.
    • Gears of War: E-Day brings 12-player co-op, smoother traversal mechanics, and more by Pulasthi Ariyasinghe Right as the Xbox Games Showcase came to an end today, The Gears of War developer The Coalition took over to show off its next project: E-Day. This prequel project was announced back in 2024, but now we have a lot more details about its campaign, new gameplay mechanics, and even a release date. The studio says this is the first time it has managed to get the time to build the entire game in a new engine, as it had worked non-stop on new titles for years while porting classic code and assets. With Unreal Engine 5 now powering Gears of War: E-Day, The Coalition says it started completely anew, with all assets, animations, environments, and others being built from scratch. The campaign will take place across three days in the city of Kalona. The story will follow the events through the eyes of Bravo Squad. This is made up of the returning classic duo Marcus and Dom, as well as the new characters Mags Carter and Lucas Reyes. Watch the trailer below to see Marcus in action without his iconic armor and gear, just as the Locust invasion kicks off. The story will draw on classic Gears novels like Aspho Fields as well, with the studio even collaborating with author Karen Traviss. "That continuity is what makes the destruction land," says the studio. "In E-Day, you watch a living city torn apart—homes still lit, meals half-finished—while people abandon their cars and run for cover. Small details—a child’s toy, an uneaten dinner—make the loss real as everyday places collapse under the Locust assault." The movement system is getting a big overhaul here. Players will be able to slide while running, jump across gaps, climb head-height covers, and even crawl on the ground to avoid fire from enemies. As for the returning horde mode, The Coalition teased a new 12-player PvE mode. This will involve three squads of Gears going up against the incoming Locusts in larger city maps than usual. The studio says that it is going to reimagine the classic formula just as co-op games are going through a resurgence. Multiplayer was touched on today too, where Versus is coming back touting four versus four Gears PVP action set across Kalona maps. More details about multiplayer will be revealed later. Open beta weekends are kicking off this August for fans wanting to jump in early too. Gears of War: E-Day is releasing on Xbox Series X|S and PC on October 6 with pre-orders available now. It will also be a part of Xbox Game Pass on day one. Microsoft has confirmed this as an Xbox platform exclusive, as there are no plans to bring it to PlayStation or Switch.
    • Microsoft announces the return of Xbox exclusives with Gears of War and Clockwork Revolution by Pulasthi Ariyasinghe Microsoft had plenty of announcements to make today at the Xbox Games Showcase celebrating 25 years of the gaming brand. Now, under the leadership of the new Xbox CEO Asha Sharma, Xbox games are going back to their original release methods. She appeared in the livestream itself to announce the return of Xbox console exclusives. This means two major upcoming games from first-party studios won't be coming to PlayStation or Nintendo consoles: Gears of War: E-Day from The Coalition and Clockwork Revolution from InExile. Both titles will only be coming out on Xbox Series X|S consoles and Windows PCs, ditching any plans they had for PlayStation. "These are not timed exclusives," confirmed Microsoft. "We’re committed to investing in and growing XBOX both on console and beyond." The company confirmed that any already announced Xbox titles for PlayStation, under previous leadership, will continue to arrive for the rival platform. This means games like the new Halo remake, Forza Horizon 6, Fable, and State of Decay 3 will still be available on PlayStation, either at launch or later. It sounds like any new projects announced by the company will avoid other consoles in the same way. Microsoft first opened the floodgates by bringing titles like Sea of Thieves, Grounded, Hi-Fi Rush, and Pentiment to PlayStation and Nintendo consoles back in 2024. Since then, almost every new game release from Xbox Game Studios has arrived for rival consoles alongside Xbox and PC. This decision follows Sony's plans to ditch its own multiplatform releases too. Outside of multiplatform live service titles, the PlayStation maker is even abandoning its PC porting endeavors that started years ago.
    • I'm missing the beginning part of this equation... but for the sake of the convo, you don't get to take a $250(?) set of normally priced RAM, jack it up to over $500/600/800 just because of a market shift, then lower it back down to more than what it was originally and call that a "sale". Not the author of this post... the manufacturer/seller.
  • Recent Achievements

    • Proficient
      Eric Biran went up a rank
      Proficient
    • Dedicated
      Conjor earned a badge
      Dedicated
    • Week One Done
      Windows Guy earned a badge
      Week One Done
    • Dedicated
      Mark Spruce earned a badge
      Dedicated
    • Collaborator
      conkir earned a badge
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      479
    2. 2
      PsYcHoKiLLa
      243
    3. 3
      Steven P.
      72
    4. 4
      +Edouard
      66
    5. 5
      FloatingFatMan
      65
  • Tell a friend

    Love Neowin? Tell a friend!