Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test the library on OpenGL ES #67

Open
9prady9 opened this issue Dec 22, 2015 · 2 comments
Open

Test the library on OpenGL ES #67

9prady9 opened this issue Dec 22, 2015 · 2 comments
Milestone

Comments

@9prady9
Copy link
Member

9prady9 commented Dec 22, 2015

No description provided.

@9prady9 9prady9 added this to the 1.0.0 milestone Dec 22, 2015
@9prady9
Copy link
Member Author

9prady9 commented Feb 3, 2016

@pavanky I don't have OpenGL ES capable driver on my machine, neither do i know how to install - probably have to install an emulator. But i do know that Jetson TK1 has ES capable driver installed.

Can you test it on the Jetson in our office with the following diff.

diff --git a/src/glfw/window.cpp b/src/glfw/window.cpp
index 2e33406..41229e4 100644
--- a/src/glfw/window.cpp
+++ b/src/glfw/window.cpp
@@ -50,6 +50,7 @@ Widget::Widget(int pWidth, int pHeight, const char* pTitle, const Widget* pWindo
     glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
     glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
     glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
+    glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API);

     if (invisible)
         glfwWindowHint(GLFW_VISIBLE, GL_FALSE);

Essentially, you will be adding one line regarding glfw window hint for client API. Let me know how it goes.

As far as i understood the difference between ES and Desktop versions, we might face some issues with floating point textures on ES version. Also, texture formats are more restricted compared to desktop version.

@9prady9 9prady9 removed this from the 1.0.0 milestone Feb 19, 2016
@9prady9
Copy link
Member Author

9prady9 commented Sep 1, 2016

Started working on this and hit a road block. glbinding currently has only GL API bindings, they are to release GLES bindings soon either via glbinding or as a separate project. Awaiting the corresponding announcement.

@9prady9 9prady9 added this to the 1.0.4 milestone Nov 17, 2018
@9prady9 9prady9 modified the milestones: 1.0.4, 1.0.5 Mar 2, 2019
@9prady9 9prady9 modified the milestones: 1.0.5, timeless Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant