Hello,
I’m trying to run opengles2 wayland application with pvrtrace on Renesas H2 hardware.
It seems that I’m able to record data but I have problem when I try to review it with PVRTraceGUI.
It reports: Renderer has failed. Please check logs.
And here are first few lines of log:
Analyzing Image: Render Scene F(0)
Error: Skipping playback of call with UID 8 (‘glCreateShader’) as there is no current context bound
Error: Skipping playback of call with UID 9 (‘glShaderSource’) as there is no current context bound
Error: Skipping playback of call with UID 10 (‘glCompileShader’) as there is no current context bound
It says that I don’t have bound context but actually previous call before glCreateShader is eglMakeCurrent.
You can see in frame export:
eglGetDisplay(…) Error: EGL_SUCCESS
eglInitialize(…) ==> EGL_TRUE Error: EGL_SUCCESS
eglBindAPI(…) ==> EGL_TRUE Error: EGL_SUCCESS
eglChooseConfig(…) ==> EGL_TRUE Error: EGL_SUCCESS
eglCreateContext(…) ==> EGLContext(0x0002f810) Error: EGL_SUCCESS
eglCreateWindowSurface(…) ==> EGLSurface(0x00047428) Error: EGL_SUCCESS
eglMakeCurrent(EGLDisplay(0x00000001),EGLSurface(0x00047428),EGLSurface(0x00047428),EGLContext(0x0002f810)) ==> EGL_TRUE Error: EGL_SUCCESS
glCreateShader(…) ==> 70001 Error: GL_NO_ERROR
…
Has anyone an idea what is wrong?
I also have a problem that Object Data Viewer doesn’t show anything but I suppose that this is because Renderer has failed.
Kalin