Alex Rivera | Logout

Is there a way to programmatically test for browser GPU acceleration?

Asked 2011-02-11T17:22:34.233
19

I want to include a few "bells and whistles" features on a site I'm currently developing, but I don't want to bog down the entire machine for my users. Is there a way I can test to see if the current browser is GPU accelerated?

I could just check against UserAgents, but I've always heard it's not accurate enough to trust.

I guess I could build a canvas element, make quite a few drawing calls, and time them? Anything under a certain threshold I could consider good enough for my superfluous extras? Would this be good enough?

Edit
Report

1 Answer

6

Why does it matter if its GPU accelerated? The only thing that should matter is performance.

So timing the canvas element is the better choice even if you could find out if there is GPU acceleration or not.

answered 2011-02-11T17:57:36.713

Your Answer