Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Flash is dead!
« Reply #15, on November 19th, 2011, 06:22 PM »
Quote
Well, it's been in the 12.00 alpha for a few weeks, now. Maybe a couple of months. They actually planned to have it in 11.50 but postponed it to 12.00 probably because it was a 'big' feature.
HW acceleration in general is a big feature.
Quote
WebGL objects are shown on a canvas, AFAIK. You could easily get away with creating a software surface for the page itself, and have a canvas surface that's rendered through Direct3D, OpenGL or whatever. Just like OpenGL has always worked in regular Windows windows (sure..), i.e. software GDI mixed with hardware surface for OpenGL. At least that was the case back in 1999, I see no reason why this would have changed...
It's not a regular canvas element though, it has extra properties, extra methods and all kinds of extra voodoo attached.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Flash is dead!
« Reply #16, on November 19th, 2011, 11:08 PM »
OOP should help make it easier to implement :P

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Flash is dead!
« Reply #17, on November 19th, 2011, 11:24 PM »
TBH without HW acceleration WebGL would be quit limited, as CPU can't compete with GPU when it comes to rendering speed.
The way it's meant to be

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Flash is dead!
« Reply #18, on November 19th, 2011, 11:25 PM »
As I said -- WebGL does use HW acceleration, but on its own surface, because GPUs are smart enough to be able to enable HW acceleration just for a small area.

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Flash is dead!
« Reply #19, on November 19th, 2011, 11:27 PM »
Hopefully WebGL catches on, then Flash will start to seem old.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Flash is dead!
« Reply #20, on November 19th, 2011, 11:55 PM »
Limited ain't the word, I've seen it on Chrome, and it is painful, very painful.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Flash is dead!
« Reply #21, on November 20th, 2011, 12:28 AM »
WebGL in Chrome is bad..?

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Flash is dead!
« Reply #22, on November 20th, 2011, 12:31 AM »
It was... some versions ago. Even a really limited demo was kicking out a single digit FPS count on my machine.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Flash is dead!
« Reply #23, on November 20th, 2011, 12:34 AM »
Must have been with disabled HW acceleration, I suppose!

Okay, last post!

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Flash is dead!
« Reply #24, on November 20th, 2011, 12:36 AM »
Come to think of it, it may have been before HW acceleration was added, will have to try again.

Dismal Shadow

  • Madman in a Box
  • Me: Who is Arantor? Cleverbot: It stands for time and relative dimensions in space.
  • Posts: 1,185
Re: Flash is dead!
« Reply #25, on November 20th, 2011, 12:41 AM »
Didn't they completely removed it?
“I will stand on my ground as an atheist until your god shows up...If my irreligious bothers you much, and if you think everything I do is heresy to your god I don't care. Heresy is for those who believe, I don't. So, it isn't heresy at all!


   Jack in, Wedge,
   EXECUTE!

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Flash is dead!
« Reply #26, on November 20th, 2011, 12:59 AM »
I have no idea what they have, or have not, done.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Flash is dead!
« Reply #27, on November 20th, 2011, 09:59 AM »
Chrome dev has WebGL support and it's the fastest around. They also have HW accel.
Opera has WebGL and HW accel in 12.00, and you can disable HW accel but still have WebGL. I haven't tested WebGL performance with HW activated.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Flash is dead!
« Reply #28, on November 20th, 2011, 01:42 PM »
Hmm, interesting. I wonder if there are any good benchmarks/test sites around to showcase what WebGL can do, and do well.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Flash is dead!
« Reply #29, on November 20th, 2011, 06:09 PM »
I think it can do anything... Although using textures is probably a bit overkill if you don't want to use too much bandwidth.

I'm sure I could do KMJ in webgl. Just not sure it'd be worth the hassle.