Chromeã«WebGLãå®è£ ãããã¿ãããªã®ã§è©¦ãã¦ã¿ã
ã¤ãã«Chromeã«ãWebGLãå®è£ ããã¾ããã
ãGoogle Chromeãã3Dã°ã©ãã£ãã¯ã¹è¦æ ¼ãWebGLããæ¡ç¨ã¸:ãã¥ã¼ã¹ - CNET Japan
http://japan.cnet.com/news/media/story/0,2000056023,20401412,00.htm
æéããªãã£ãã®ã§ãã¹ãã§ãã¦ç¡ãã£ãã®ã§ããæéãã§ããã®ã§æ©éããã¹ããã¦ã¿ã¾ããã
ã¾ã éçºè åããã¬ãã¥ã¼ãã¼ã¸ã§ã³ã«ããå®è£ ããã¦ãªãã¨ã®äºãªã®ã§ãã¡ãããDLã
Early Access Release Channels (Chromium Developer Documentation)
http://dev.chromium.org/getting-involved/dev-channel#TOC-Windows
ããã°ã©ã ãã³ãã³ãã©ã¤ã³ã§ã--enable-webglãã¨ã--no-sandboxããæå®ãã¦å®è¡ããWebKitããã¸ã§ã¯ããå ¬éãã¦ãããµã³ãã«ãåä½ããã¦ã¿ã¾ããã
ããåä½ããã
JavaScriptããã§ãã¯ããã¨ãã getContext() ã®ã¨ããã§ãªãã¸ã§ã¯ãåå¾ã失æãã¦ã㦠undefined ãè¿ãã¦ãã¾ããã
Firefoxã¯ããã®æå®ãéã£ã¦ããã®ã§ããããã¦æå®ãéãï¼ã¨æãè²ã ãªæååã§ãã¹ããã®ã§ããã©ãã失æã
ãããããªãã®ã§Chromeã®ã½ã¼ã¹ã³ã¼ããè¦ã¦ã¿ã¾ããã
ã½ã¼ã¹ã¯ svn co ã§è½ã¨ããã¨æã£ã¦ãããã¨ã©ã¼ã¨ãªãããã¡ãã®ãµã¤ããåèã«DLãã¾ããã
Mac OSX çã® Google Chrome (chromium) ã試ãã¦ã¿ã - æ±è·æ¥è¨ :: riaf-ja blog
http://blog.riaf.jp/archive/58
ã½ã¼ã¹ã³ã¼ããDLãããã£ã¬ã¯ããªã§ä»¥ä¸ã®ã³ãã³ããå®è¡ããã¨ãã
find * -exec grep -i -H "getContext" {} \;
src/third_party/WebKit/WebCore/html/HTMLCanvasElement.cpp ã« getContext() ãå®ç¾©ããã¦ããæ§ã§ããã
ãã¡ããéããã¨ãããã³ã´ã以ä¸ã®è¨è¿°ãè¦ã¤ããã¾ããã
#if ENABLE(3D_CANVAS) Settings* settings = document()->settings(); if (settings && settings->webGLEnabled()) { if ((type == "webkit-3d") || (type == "GL")) {
ã¨ãããã¨ã§ getContext() ã®å¼æ°ã®æåå㯠"webkit-3d" ã "GL" ãæå®ããã°è¯ãããã§ãã
ã¨ãããã§ãµã¨ããäºãçºè¦ãWebKitã®ãµã³ãã«ã£ã¦ "webkit-3d" ãæå®ããã¦ãï¼
ã¨ããäºã§æå®ã¯ééã£ã¦ãªããã© undefined ãè¿ãã¦ããã¨ããçµè«ã«ã
ãã¼ãã¦ã§ã¢çã«å¿ è¦ãã®ã足ãã¦ãªããã undefined ãè¿ãã¦ããï¼ãªã©ã¨è²ã æ¨æ¸¬ã§ããäºã¯ããã¾ããã©ããã¾ã§ããã°ã©ã ã追ã£ã¦ããã®ãããã©ãã®ã§ç´ ç´ã«Googleãããµã³ãã«ãæä¾ãããã®ãå¾ ã¤äºã«ãã¾ãã