File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes WebGL rendering issues in Chrome Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "WebGL rendering issues in Chrome" Watch "WebGL rendering issues in Chrome" New topic

WebGL rendering issues in Chrome

Shell Bryson

Joined: Jul 23, 2012
Posts: 3
Combination of technologies results in some interesting screen rendering issues in Chrome (the last few versions). I'm curious is anyone else has come across them:

Build a page containing several jQueryUI dialogs, hidden by default.
Dynamically generate a <canvas> element within one of the dialog <section> elements, webGL context (using ThreeJS or similar wrapper).
Via script, show the dialog and render your WebGL

At this point, in Chrome (Release and Canary), moving the dialog containing the <canvas> about the screen will cause horrible screen repainting issues. Nudge a corner of the window and everything paints the way it is supposed to. Drag a dialog again, and the mess starts over.

Anyone seen this?

Interestingly, Safari doesn't exhibit this issue, so it's possibly something that Chrome is doing rather than WebKit. Also, rendering fine, if a little ugly, in FireFox (why no antialiasing FireFox!?).

I agree. Here's the link:
subject: WebGL rendering issues in Chrome
It's not a secret anymore!