Summary: | [WebGL2] Use Open GL ES 3.0 to back WebGL2 contexts | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Roger Fong <roger_fong> | ||||
Component: | WebGL | Assignee: | Antoine Quint <graouts> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cdumez, clopez, commit-queue, dino, esprehn+autocc, graouts, gyuyoung.kim, kondapallykalyan, roger_fong, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Roger Fong
2015-02-02 15:24:25 PST
I suggest you to take a look on libepoxy. See https://bugs.webkit.org/show_bug.cgi?id=146680 for a summary of what this library can do, also check https://github.com/anholt/libepoxy Maybe it can help with this problem ? Repurposing this bug to be about adopting Open GL ES 3.0 as a backend for WebGL2 contexts. Created attachment 276135 [details]
Patch
Comment on attachment 276135 [details] Patch I wonder if there is a way to test this. Maybe by getParameter(RENDERER)? Although "This name is typically specific to a particular configuration of a hardware platform. It does not change from release to release." Hmm, UNMASKED_RENDERER_WEBGL should probably work. You'd need to get it via the https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ extension. I think we have a testcase that can be used as a base. (In reply to comment #5) > > Hmm, UNMASKED_RENDERER_WEBGL should probably work. You'd need to get it via > the > https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ > extension. I think we have a testcase that can be used as a base. It doesn't. gl.getParameter(extension.UNMASKED_RENDERER_WEBGL) on an iOS device gives something like Apple A8X GPU Comment on attachment 276135 [details]
Patch
Adding r+. I think we want to expose something via Internals that allows us to get more info on the context being used. Can you file a bug?
Comment on attachment 276135 [details] Patch Clearing flags on attachment: 276135 Committed r199314: <http://trac.webkit.org/changeset/199314> All reviewed patches have been landed. Closing bug. |