RESOLVED FIXED Bug 43206
Ask a canvas' rendering context if it is accelerated instead tying it directly to webgl
https://bugs.webkit.org/show_bug.cgi?id=43206
Summary Ask a canvas' rendering context if it is accelerated instead tying it directl...
James Robinson
Reported 2010-07-29 12:58:47 PDT
Ask a canvas' rendering context if it is accelerated instead tying it directly to webgl
Attachments
Patch (4.07 KB, patch)
2010-07-29 13:01 PDT, James Robinson
simon.fraser: review+
James Robinson
Comment 1 2010-07-29 13:01:02 PDT
Simon Fraser (smfr)
Comment 2 2010-07-29 13:10:04 PDT
Comment on attachment 62978 [details] Patch > #if ENABLE(3D_CANVAS) > HTMLCanvasElement* canvas = static_cast<HTMLCanvasElement*>(node()); > - return canvas && canvas->is3D(); > + return canvas && canvas->renderingContext() && canvas->renderingContext()->isAccelerated(); No need for the #if ENABLE(3D_CANVAS) any more?
James Robinson
Comment 3 2010-07-29 13:37:50 PDT
True, I'll get rid of the #ifs.
James Robinson
Comment 4 2010-07-29 14:35:47 PDT
Note You need to log in before you can comment on or make changes to this bug.