It's not a secret anymore!*
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
Author

WebGL rendering issues in Chrome

Shell Bryson
Greenhorn

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!?).


@shellbryson
http://shellbryson.com
 
Consider Paul's rocket mass heater.
 
subject: WebGL rendering issues in Chrome
 
Similar Threads
Flex application dialog events are not working in firefox 3.6
Internet explorer version 6, 7, 8 performance issue.
What is the relationship between WebGL and HTML5?
Beginning Android Games. HTML5 games?
Desktop vs HTML5(Browser) games