{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-japan/gecko-embedded/issues/21","repository_url":"https://api.github.com/repos/mozilla-japan/gecko-embedded","labels_url":"https://api.github.com/repos/mozilla-japan/gecko-embedded/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-japan/gecko-embedded/issues/21/comments","events_url":"https://api.github.com/repos/mozilla-japan/gecko-embedded/issues/21/events","html_url":"https://github.com/mozilla-japan/gecko-embedded/issues/21","id":180848171,"number":21,"title":"RZ/G1E: WebGLの有効化","user":{"login":"ashie","id":135104,"avatar_url":"https://avatars.githubusercontent.com/u/135104?v=3","gravatar_id":"","url":"https://api.github.com/users/ashie","html_url":"https://github.com/ashie","followers_url":"https://api.github.com/users/ashie/followers","following_url":"https://api.github.com/users/ashie/following{/other_user}","gists_url":"https://api.github.com/users/ashie/gists{/gist_id}","starred_url":"https://api.github.com/users/ashie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashie/subscriptions","organizations_url":"https://api.github.com/users/ashie/orgs","repos_url":"https://api.github.com/users/ashie/repos","events_url":"https://api.github.com/users/ashie/events{/privacy}","received_events_url":"https://api.github.com/users/ashie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla-japan/gecko-embedded/labels/Renesas%20RZ/G","name":"Renesas RZ/G","color":"5319e7"},{"url":"https://api.github.com/repos/mozilla-japan/gecko-embedded/labels/Wayland","name":"Wayland","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-04T09:43:27Z","updated_at":"2016-10-05T04:24:30Z","closed_at":null,"body":"RZ/G1EでWebGLを有効化できるようにする。\r\n\r\n現状のコードでは、prefs.jsで以下の様にするとWebGLを有効化することができた。\r\n```\r\nuser_pref(\"layers.acceleration.force-enabled\", false);\r\nuser_pref(\"webgl.force-enabled\", true);\r\n```\r\n\r\n`layers.acceleration.force-enabled`を`true`にすると、WebGLコンテンツを表示したときに一瞬レンダリングされた後にクラッシュする。両方とも有効化できるようにしたい。\r\n\r\nどうもWebGLに限らず複数モジュールでGPUを有効化すると落ちるように見える。Skiaも以下のようにすると落ちるが、SkiaだけでGPUを使うようにすると落ちない（今のところアクセラレーション効果はあまり見られないが）\r\n\r\n```\r\nuser_pref(\"gfx.canvas.azure.backends\", \"skia\");\r\nuser_pref(\"gfx.content.azure.backends\", \"skia\");\r\nuser_pref(\"gfx.canvas.azure.accelerated\", true);\r\nuser_pref(\"layers.acceleration.force-enabled\", true);\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla-japan/gecko-embedded/issues/comments/251578619","html_url":"https://github.com/mozilla-japan/gecko-embedded/issues/21#issuecomment-251578619","issue_url":"https://api.github.com/repos/mozilla-japan/gecko-embedded/issues/21","id":251578619,"user":{"login":"dynamis","id":188166,"avatar_url":"https://avatars.githubusercontent.com/u/188166?v=3","gravatar_id":"","url":"https://api.github.com/users/dynamis","html_url":"https://github.com/dynamis","followers_url":"https://api.github.com/users/dynamis/followers","following_url":"https://api.github.com/users/dynamis/following{/other_user}","gists_url":"https://api.github.com/users/dynamis/gists{/gist_id}","starred_url":"https://api.github.com/users/dynamis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dynamis/subscriptions","organizations_url":"https://api.github.com/users/dynamis/orgs","repos_url":"https://api.github.com/users/dynamis/repos","events_url":"https://api.github.com/users/dynamis/events{/privacy}","received_events_url":"https://api.github.com/users/dynamis/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T04:24:30Z","updated_at":"2016-10-05T04:24:30Z","body":"WebGL コンテンツ例ちょっと探してきて追加しておきます (現時点では程よい軽いのはまだ無いかもですがもう少し軽いのあるのが何処だったか思い出します):\r\nhttps://github.com/mozilla-japan/gecko-embedded/wiki/Sample-Contents#webgl"}}
{"actor":{"display_login":"dynamis"}}