Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
    Tweeted twitter.com/#!/StackRaspi/status/409815770013921280
2 Added in two example function calls.
source | link

I am beginning to learn OpenGL ES 2.0 through both the excellent book OpenGL ES 2.0 Programming Guide and the famous Arc Synthesis OpenGL tutorial. However, I have heard that the Raspberry Pi's OpenGL development process is a bit...different than that of desktop Linux. Indeed, I tried running an unmodified OpenGL ES program on the Pi and it was really slow.

Additionally, I took a look at some of the example programs for the Raspberry Pi, but they were all either too complicated or didn't deal with OpenGL ES, and I was not able to gain any knowledge. I am, after all, a beginner at this. So, what's the difference? What modifications do my OpenGL ES programs need to run on the Pi? And what's with the bcm_host_init() and memset(state, 0, sizeof(*state)) functions?

I am beginning to learn OpenGL ES 2.0 through both the excellent book OpenGL ES 2.0 Programming Guide and the famous Arc Synthesis OpenGL tutorial. However, I have heard that the Raspberry Pi's OpenGL development process is a bit...different than that of desktop Linux. Indeed, I tried running an unmodified OpenGL ES program on the Pi and it was really slow.

Additionally, I took a look at some of the example programs for the Raspberry Pi, but they were all either too complicated or didn't deal with OpenGL ES, and I was not able to gain any knowledge. I am, after all, a beginner at this. So, what's the difference? What modifications do my OpenGL ES programs need to run on the Pi?

I am beginning to learn OpenGL ES 2.0 through both the excellent book OpenGL ES 2.0 Programming Guide and the famous Arc Synthesis OpenGL tutorial. However, I have heard that the Raspberry Pi's OpenGL development process is a bit...different than that of desktop Linux. Indeed, I tried running an unmodified OpenGL ES program on the Pi and it was really slow.

Additionally, I took a look at some of the example programs for the Raspberry Pi, but they were all either too complicated or didn't deal with OpenGL ES, and I was not able to gain any knowledge. I am, after all, a beginner at this. So, what's the difference? What modifications do my OpenGL ES programs need to run on the Pi? And what's with the bcm_host_init() and memset(state, 0, sizeof(*state)) functions?

1
source | link

How does developing an OpenGL ES application for the Raspberry Pi differ from desktop Linux?

I am beginning to learn OpenGL ES 2.0 through both the excellent book OpenGL ES 2.0 Programming Guide and the famous Arc Synthesis OpenGL tutorial. However, I have heard that the Raspberry Pi's OpenGL development process is a bit...different than that of desktop Linux. Indeed, I tried running an unmodified OpenGL ES program on the Pi and it was really slow.

Additionally, I took a look at some of the example programs for the Raspberry Pi, but they were all either too complicated or didn't deal with OpenGL ES, and I was not able to gain any knowledge. I am, after all, a beginner at this. So, what's the difference? What modifications do my OpenGL ES programs need to run on the Pi?