{"action":"created","issue":{"url":"https://api.github.com/repos/Samsung/GearVRf/issues/162","labels_url":"https://api.github.com/repos/Samsung/GearVRf/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/Samsung/GearVRf/issues/162/comments","events_url":"https://api.github.com/repos/Samsung/GearVRf/issues/162/events","html_url":"https://github.com/Samsung/GearVRf/issues/162","id":95333688,"number":162,"title":"Support for setting cpu/gpu levels at runtime.","user":{"login":"phi-lira","id":7453395,"avatar_url":"https://avatars.githubusercontent.com/u/7453395?v=3","gravatar_id":"","url":"https://api.github.com/users/phi-lira","html_url":"https://github.com/phi-lira","followers_url":"https://api.github.com/users/phi-lira/followers","following_url":"https://api.github.com/users/phi-lira/following{/other_user}","gists_url":"https://api.github.com/users/phi-lira/gists{/gist_id}","starred_url":"https://api.github.com/users/phi-lira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phi-lira/subscriptions","organizations_url":"https://api.github.com/users/phi-lira/orgs","repos_url":"https://api.github.com/users/phi-lira/repos","events_url":"https://api.github.com/users/phi-lira/events{/privacy}","received_events_url":"https://api.github.com/users/phi-lira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-16T02:34:05Z","updated_at":"2015-07-16T05:02:19Z","closed_at":null,"body":"It would be nice to have the ability to change cpu/gpu levels at runtime based on scene complexity. Some scenes might be more gpu intensive than others. We can set these leves many times across application lifetime to maximize playtime/battery.\r\n\r\nOculus Unity Plugin allows this by exposing the following functions in OculusPlugin.dll\r\n\r\n    void OVR_VrModeParms_SetCpuLevel(int cpuLevel);\r\n    void OVR_VrModeParms_SetGpuLevel(int gpuLevel); \r\n\r\nIf needed for reference, OculusPlugin.dll comes bundled in UnityIntegration.unitypackage located at \\ovr_mobile_sdk_0.6.0.1\\VrSamples\\Unity\\UnityIntegration\r\n\r\n\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/Samsung/GearVRf/issues/comments/121829951","html_url":"https://github.com/Samsung/GearVRf/issues/162#issuecomment-121829951","issue_url":"https://api.github.com/repos/Samsung/GearVRf/issues/162","id":121829951,"user":{"login":"phyuzion","id":6837856,"avatar_url":"https://avatars.githubusercontent.com/u/6837856?v=3","gravatar_id":"","url":"https://api.github.com/users/phyuzion","html_url":"https://github.com/phyuzion","followers_url":"https://api.github.com/users/phyuzion/followers","following_url":"https://api.github.com/users/phyuzion/following{/other_user}","gists_url":"https://api.github.com/users/phyuzion/gists{/gist_id}","starred_url":"https://api.github.com/users/phyuzion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phyuzion/subscriptions","organizations_url":"https://api.github.com/users/phyuzion/orgs","repos_url":"https://api.github.com/users/phyuzion/repos","events_url":"https://api.github.com/users/phyuzion/events{/privacy}","received_events_url":"https://api.github.com/users/phyuzion/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T05:02:19Z","updated_at":"2015-07-16T05:02:19Z","body":"Yes that api also can use from Android.\r\nYou cas see android.app.IVRManager,\r\n==================================================================\r\nabstract public boolean setFreq( String pkg, int gpuFreqLev, int cpuFreqLev );\r\nabstract public int[] SetVrClocks( String pkg, int cpuLevel, int gpuLevel );\r\n==================================================================\r\n\r\nIt control Note4 and GS6's clock."}}