{"action":"created","issue":{"url":"https://api.github.com/repos/ptitSeb/gl4es/issues/47","repository_url":"https://api.github.com/repos/ptitSeb/gl4es","labels_url":"https://api.github.com/repos/ptitSeb/gl4es/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/ptitSeb/gl4es/issues/47/comments","events_url":"https://api.github.com/repos/ptitSeb/gl4es/issues/47/events","html_url":"https://github.com/ptitSeb/gl4es/issues/47","id":297252486,"number":47,"title":"Build without EGL or X11","user":{"login":"kas1e","id":664776,"avatar_url":"https://avatars2.githubusercontent.com/u/664776?v=4","gravatar_id":"","url":"https://api.github.com/users/kas1e","html_url":"https://github.com/kas1e","followers_url":"https://api.github.com/users/kas1e/followers","following_url":"https://api.github.com/users/kas1e/following{/other_user}","gists_url":"https://api.github.com/users/kas1e/gists{/gist_id}","starred_url":"https://api.github.com/users/kas1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kas1e/subscriptions","organizations_url":"https://api.github.com/users/kas1e/orgs","repos_url":"https://api.github.com/users/kas1e/repos","events_url":"https://api.github.com/users/kas1e/events{/privacy}","received_events_url":"https://api.github.com/users/kas1e/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":87,"created_at":"2018-02-14T21:32:10Z","updated_at":"2018-02-17T15:28:58Z","closed_at":null,"author_association":"NONE","body":"Want to port gl4es to some obscure platform, which have no EGL or X11, but its own API for creating context and co, and have some questions:\r\n\r\nLately port REGAL and it wasn't as good as i expected. Simple things do not works as expected while others do. So i want to try gl4es as it seems only one project which in develop and looks good enough.\r\n\r\nSo, i can buld Regal as static library, just with: -DREGAL_SYS_ES2=1 -DREGAL_STATIC_ES2 -DREGAL_SYS_X11=0 -DREGAL_SYS_GLX=0 -DREGAL_SYS_EGL=0\r\n\r\nThen, in GL programm i just change include <GL/gl.h> on include <GL/Regal.h>, and link binary against -lgles2 , and all works.\r\n\r\nSo i want to do the same for gl4es. Is it possible ? All i need, its static library, which will worry about ogl calls and transfer them to ogles context (which i create myself, by own api) , without reling in any way on X11 or EGL (as i can for myself create windows, context and handle buttons and stuff).\r\n\r\nThanks in advance for help !\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ptitSeb/gl4es/issues/comments/366448553","html_url":"https://github.com/ptitSeb/gl4es/issues/47#issuecomment-366448553","issue_url":"https://api.github.com/repos/ptitSeb/gl4es/issues/47","id":366448553,"user":{"login":"ptitSeb","id":3250792,"avatar_url":"https://avatars2.githubusercontent.com/u/3250792?v=4","gravatar_id":"","url":"https://api.github.com/users/ptitSeb","html_url":"https://github.com/ptitSeb","followers_url":"https://api.github.com/users/ptitSeb/followers","following_url":"https://api.github.com/users/ptitSeb/following{/other_user}","gists_url":"https://api.github.com/users/ptitSeb/gists{/gist_id}","starred_url":"https://api.github.com/users/ptitSeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptitSeb/subscriptions","organizations_url":"https://api.github.com/users/ptitSeb/orgs","repos_url":"https://api.github.com/users/ptitSeb/repos","events_url":"https://api.github.com/users/ptitSeb/events{/privacy}","received_events_url":"https://api.github.com/users/ptitSeb/received_events","type":"User","site_admin":false},"created_at":"2018-02-17T15:28:58Z","updated_at":"2018-02-17T15:28:58Z","author_association":"OWNER","body":"Can you also try something: in your test program, after `IOGLES2->aglMakeCurrent(ogles_context);` can you make a call to glViewport, like with `glViewport(0, 640, 480, 0);` ? It's just to test if, by any luck, the fact that the glstate is created without a context can be an issue...."}}
{"actor":{"display_login":"ptitSeb"}}