{"action":"created","issue":{"url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/410","repository_url":"https://api.github.com/repos/googlevr/gvr-android-sdk","labels_url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/410/comments","events_url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/410/events","html_url":"https://github.com/googlevr/gvr-android-sdk/issues/410","id":224301179,"number":410,"title":"multiview questions","user":{"login":"gpx1000","id":3833955,"avatar_url":"https://avatars3.githubusercontent.com/u/3833955?v=3","gravatar_id":"","url":"https://api.github.com/users/gpx1000","html_url":"https://github.com/gpx1000","followers_url":"https://api.github.com/users/gpx1000/followers","following_url":"https://api.github.com/users/gpx1000/following{/other_user}","gists_url":"https://api.github.com/users/gpx1000/gists{/gist_id}","starred_url":"https://api.github.com/users/gpx1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpx1000/subscriptions","organizations_url":"https://api.github.com/users/gpx1000/orgs","repos_url":"https://api.github.com/users/gpx1000/repos","events_url":"https://api.github.com/users/gpx1000/events{/privacy}","received_events_url":"https://api.github.com/users/gpx1000/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-25T23:29:35Z","updated_at":"2017-05-05T04:52:46Z","closed_at":"2017-05-05T04:52:46Z","body":"The https://developers.google.com/vr/android/ndk/gvr-ndk-rendering#1_query_for_multiview_support page is a little lax on details for usage.  I'm hoping to ask some questions to help clear up my understanding:\r\n1.) Why is gvr_api->IsFeatureSupported(GVR_FEATURE_MULTIVIEW); considered better than:\r\n    const char * allExtensions = (const char *)glGetString( GL_EXTENSIONS );\r\n    if ( allExtensions != NULL )\r\n    {\r\n        SupportMultiView = strstr( allExtensions, \"GL_OVR_multiview2\" ) &&\r\n                           strstr( allExtensions, \"GL_OVR_multiview_multisampled_render_to_texture\" );\r\n    }\r\nIt would seem that either gives the desired results, is something else checked under the hood as the later is more portable to engines working with other platforms.\r\n2.) I noticed that the docs say ensure a single set of drawcalls for both eyes.  Shouldn't that read ensure a single drawcall for both eyes per frame?  I.e. the idea is:\r\n\r\nif(SupportMultiView) {\r\ndrawFrame();\r\n} else {\r\ndrawLeftEyeFrame();\r\ndrawRightEyeFrame();\r\n}\r\n\r\n3.) As far as my understanding goes, Multiview depends upon not being used in Immediate mode; that should be incompatible and only immediate mode usage should happen to a separate GLContext rendered to a texture.  That said, what is the process with working with external textures (i.e. videos).  I'm assuming external_texture will work everywhere that multiview extension is found and thus should be in all Daydream compatible drivers."},"comment":{"url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/comments/299375078","html_url":"https://github.com/googlevr/gvr-android-sdk/issues/410#issuecomment-299375078","issue_url":"https://api.github.com/repos/googlevr/gvr-android-sdk/issues/410","id":299375078,"user":{"login":"nathanmartz","id":14067326,"avatar_url":"https://avatars3.githubusercontent.com/u/14067326?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanmartz","html_url":"https://github.com/nathanmartz","followers_url":"https://api.github.com/users/nathanmartz/followers","following_url":"https://api.github.com/users/nathanmartz/following{/other_user}","gists_url":"https://api.github.com/users/nathanmartz/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanmartz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanmartz/subscriptions","organizations_url":"https://api.github.com/users/nathanmartz/orgs","repos_url":"https://api.github.com/users/nathanmartz/repos","events_url":"https://api.github.com/users/nathanmartz/events{/privacy}","received_events_url":"https://api.github.com/users/nathanmartz/received_events","type":"User","site_admin":false},"created_at":"2017-05-05T04:52:46Z","updated_at":"2017-05-05T04:52:46Z","body":"Sounds like this issue is resolved."}}
{"actor":{"display_login":"nathanmartz"}}