Is firefox 3 could accelerated by GPU now ?

Discussion of general topics about Mozilla Firefox
Post Reply
taizitju
Posts: 5
Joined: September 22nd, 2006, 8:28 am
Location: Tianjin.China

Is firefox 3 could accelerated by GPU now ?

Post by taizitju »

Some articles said that firefox 3 can use opengl to hardware 2d accelerate.
Is that true? I wonder.

Give me some further information, please.
User avatar
LIMPET235
Moderator
Posts: 39961
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: Is firefox 3 could accelerated by GPU now ?

Post by LIMPET235 »

taizitju,
Hi. Would you please remove the image in your sig.
It's against Forum Rules. Thank you.
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
taizitju
Posts: 5
Joined: September 22nd, 2006, 8:28 am
Location: Tianjin.China

Re: Is firefox 3 could accelerated by GPU now ?

Post by taizitju »

LIMPET235 wrote:taizitju,
Hi. Would you please remove the image in your sig.
It's against Forum Rules. Thank you.



Sorry !
OK now
User avatar
LIMPET235
Moderator
Posts: 39961
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: Is firefox 3 could accelerated by GPU now ?

Post by LIMPET235 »

NP. Thanks heaps.
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
Helico
Posts: 115
Joined: September 11th, 2006, 5:44 pm

Re: Is firefox 3 could accelerated by GPU now ?

Post by Helico »

I thought that Firefox 3's Cairo engine automatically uses GPU acceleration, and that there was no way to turn it off and have it not do so. I am curious though if the answer is different.
User avatar
trolly
Moderator
Posts: 39851
Joined: August 22nd, 2005, 7:25 am

Re: Is firefox 3 could accelerated by GPU now ?

Post by trolly »

Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
taizitju
Posts: 5
Joined: September 22nd, 2006, 8:28 am
Location: Tianjin.China

Re: Is firefox 3 could accelerated by GPU now ?

Post by taizitju »

....I just want to know. how it works, and what accelerate can cairo do.
Luc VN
Posts: 71
Joined: November 8th, 2006, 2:12 pm
Location: Belgium
Contact:

Re: Is firefox 3 could accelerated by GPU now ?

Post by Luc VN »

The original question has not been answered...

taizitju wrote: "Some articles said that firefox 3 can use opengl to hardware 2d accelerate. Is that true? I wonder."

A simple Yes or No would do
User avatar
trolly
Moderator
Posts: 39851
Joined: August 22nd, 2005, 7:25 am

Re: Is firefox 3 could accelerated by GPU now ?

Post by trolly »

For that you have to look into the cairo code. The main page says "cairo uses acceleration when possible".
Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available (eg. through the X Render Extension).
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
Amn
Posts: 65
Joined: September 23rd, 2004, 7:18 am

Is firefox 3 could accelerated by GPU now ?

Post by Amn »

I am pretty sure it does NOT accelerate, at least on Windows XP. I have not looked into the code, so take my words with a grain of salt, however, I am assuming that under XP Cairo uses win32 GDI backend, a path you cannot be sure about, except the fact that GDI32 has long proven to be an old software-only library. Starting with Vista, it uses the WPF - Windows Presentation Foundation, the very critical thing that replaces GDI32 due to the latter showing its age - being a hardware-independent and as a result hardware-unassisted interface. Win32 GDI is the actual method of producing graphics output for desktop applications for Windows since Windows 1.0. So it is safe to say that since Cairo sits on top of Win32 GDI, it is a software only method under the circumstances.

Cairo does not mention DirectX as a backend, and I am not sure whether anyone did manage to successfully use Glitz on Windows, let alone plug it as a backend into Cairo to drive Firefox. The latter is not possible as far as I understood, in fact Mozilla folks consider removing Glitz support from Firefox altogether, despite the fact that the very engine they use - Cairo - allows for it. I am a software developer, yet I do not applaud this decision. Let the interfacing flow.

Anyone know why they remove Glitz support?
Post Reply