Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Frame Buffer creation: (2 Items)
   
Frame Buffer creation  
Last one month or so, we are struggling with OpenGL in QNX. We need some help or advice on how to move forward.
 
Here is what we trying to do: We want to draw map using OpenGL in WebKit. To do that, we have created a plugin that 
should create an OpenGL context and give it to our OpenGL Map Rendering lib. However, from the forum (replied by Jason 
Mawdsley and Joel Polin), we come to learn that we can’t create context for Webkit. So, we gave up our hope on this one
. We have tested in creating context in native qnx app but we need to do it in a browser setup.
 
As an alternate, we are trying to create a framebuffer, and then map rendering library can use the framebuffer to create
 map image, and then use the map image in the WebKit. We are still having trouble in creating a framebuffer from the 
plugin. 
 
It would be extremely helpful if someone can help us in using OpenGL  to draw map in the browser. If there is any 
example that you guys can share to draw any image using OpenGL in the browser, could you please share that with me?

--Ahsan
Re: Frame Buffer creation  
Hi Ahsan,

if you need a framebuffer, use SDL:
http://community.qnx.com/sf/frs/do/viewSummary/projects.qnx_community_sdl_project/frs

This could also help: http://www.sand-labs.org/owb

--Armin




Ahsan Habib wrote:
> Last one month or so, we are struggling with OpenGL in QNX. We need some help or advice on how to move forward.
>
> Here is what we trying to do: We want to draw map using OpenGL in WebKit. To do that, we have created a plugin that 
should create an OpenGL context and give it to our OpenGL Map Rendering lib. However, from the forum (replied by Jason 
Mawdsley and Joel Polin), we come to learn that we can’t create context for Webkit. So, we gave up our hope on this
 one. We have tested in creating context in native qnx app but we need to do it in a browser setup.
>
> As an alternate, we are trying to create a framebuffer, and then map rendering library can use the framebuffer to 
create map image, and then use the map image in the WebKit. We are still having trouble in creating a framebuffer from 
the plugin.
>
> It would be extremely helpful if someone can help us in using OpenGL  to draw map in the browser. If there is any 
example that you guys can share to draw any image using OpenGL in the browser, could you please share that with me?
>
> --Ahsan
>
>
>
> _______________________________________________
>
> OpenGL ES
> http://community.qnx.com/sf/go/post64701