{"id":222,"date":"2012-04-17T12:31:59","date_gmt":"2012-04-17T13:31:59","guid":{"rendered":"http:\/\/www.tamats.com\/blog\/?p=222"},"modified":"2012-04-17T12:32:10","modified_gmt":"2012-04-17T13:32:10","slug":"webgl-and-firefoxchrome","status":"publish","type":"post","link":"https:\/\/www.tamats.com\/blog\/?p=222","title":{"rendered":"WebGL and Firefox\/Chrome"},"content":{"rendered":"<p>Developing web applications has been always annoying regarding the browsers difference interpretation of the what is standard and what not, thats the reason why I stopped developing for IE. At least Google and Mozilla are serious about the standards so 99% of the code I develop for Firefox (my default browser) works in Chrome as expected. Kudos for both of them.<\/p>\n<p>They have their own extensions but they are for more experimental features. Regarding to what functionalities to support, they both follow the same standard and thats great.<\/p>\n<p>But when it comes to WebGL, although they both follow the same standard, the implementation is a little bit different.<\/p>\n<p>That means that the performance it is not the same between both browsers under the same circunstances, and that is a problem, because there is no way I can see what is the browser doing (besides downloading the fullcode&#8230;) so if the performance is unstable I feel I reached a dead-end.<\/p>\n<p>I dont mean that one browser is more optimized than the other, my issues are more about how some actions cost more to one browser than the other.<\/p>\n<p>My current application runs much more smoothly in Firefox than in Chrome, but Firefox loves to purge the<strong> Garbage Collector<\/strong> every 10 seconds freezing the application for several seconds, which makes it totally unfriendly. Chrome on the other hand is more stable but the <strong>frame-rate drops<\/strong> sometimes just by adding a tiny mesh to the rendering process.<\/p>\n<p>Chrome also do not like negative values for the viewport (I can understand that) and show some weird results when stretching a texture too much (\u00c2\u00bf?), looks like an undocumented bug with the magnification filter.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.tamats.com\/blog\/wp-content\/uploads\/2012\/04\/chrome-bug.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" title=\"chrome-bug\" src=\"http:\/\/www.tamats.com\/blog\/wp-content\/uploads\/2012\/04\/chrome-bug.png\" alt=\"\" width=\"500\" height=\"268\" \/><\/a><\/p>\n<p>It makes me reconsider if WebGL is the perfect platform for 3D applications and games.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Developing web applications has been always annoying regarding the browsers difference interpretation of the what is standard and what not, thats the reason why I stopped developing for IE. At least Google and Mozilla are serious about the standards so 99% of the code I develop for Firefox (my default browser) works in Chrome as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,3,1,22,26,21,24],"tags":[],"class_list":["post-222","post","type-post","status-publish","format-standard","hentry","category-coding","category-devlog","category-uncategorized","category-graphics","category-javascript","category-webdevelopment","category-webgl"],"_links":{"self":[{"href":"https:\/\/www.tamats.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tamats.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tamats.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tamats.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tamats.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=222"}],"version-history":[{"count":2,"href":"https:\/\/www.tamats.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/222\/revisions"}],"predecessor-version":[{"id":225,"href":"https:\/\/www.tamats.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/222\/revisions\/225"}],"wp:attachment":[{"href":"https:\/\/www.tamats.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tamats.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tamats.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}