2010-05-05, 11:09
Hi McGeagh:
I was watching the video xbmc on arm2 in youtube (http://www.youtube.com/watch?v=CYq7f-CrnOc) and it resulted me very strange that arm-camelot had runned with the line code of WinSystemEGL.cpp :
because arm-camelot use OpenGL ES and the option SDL_OPENGL creates a OPENGL context instead of OPENGL ES context.
In order to run arm-camelot in my beagle a had to remove the option OPENGL and now, I don't Know if the GUI uses HW acelerator because I get only 6-7 fps in the GUI and the CPU is to 98 %.
With flag SDL_OPENGL activated, my screen is black. Did you get running arm-camelot in the video of youtube with that flag activated?
What is your opinion about this? Is possible to change SDL to create the window (using X) and
keeping SDL to administer the events ? The other option could be use the library libsdl-gles but I don't know what is its state and if it supportes OGLES2.0.
Thanks for your time.
I was watching the video xbmc on arm2 in youtube (http://www.youtube.com/watch?v=CYq7f-CrnOc) and it resulted me very strange that arm-camelot had runned with the line code of WinSystemEGL.cpp :
Code:
int options = [b]SDL_OPENGL;[/b]
if (m_bFullScreen)
options |= SDL_FULLSCREEN;
else
options |= SDL_RESIZABLE;
if ((m_SDLSurface = SDL_SetVideoMode(m_nWidth, m_nHeight, 0, [b]options[/b])))
{
RefreshEGLContext();
return true;
}
because arm-camelot use OpenGL ES and the option SDL_OPENGL creates a OPENGL context instead of OPENGL ES context.
In order to run arm-camelot in my beagle a had to remove the option OPENGL and now, I don't Know if the GUI uses HW acelerator because I get only 6-7 fps in the GUI and the CPU is to 98 %.
With flag SDL_OPENGL activated, my screen is black. Did you get running arm-camelot in the video of youtube with that flag activated?
What is your opinion about this? Is possible to change SDL to create the window (using X) and
keeping SDL to administer the events ? The other option could be use the library libsdl-gles but I don't know what is its state and if it supportes OGLES2.0.
Thanks for your time.