i just only try to build sample code about egl and gles2 in amd’s (1.7MB)
://developer.amd.com/wordpress/media/2012/10/gles_sdk.zip
i built it succesfully.but i get error when i run it.Notice two lines below:
(gdb) step
OnNativeWinResize (width=640, height=480) at main.cpp:108
108 ctx.nWindowWidth = width;
(gdb) step
109 ctx.nWindowHeight = height;
(gdb) step
110 glViewport(0, 0, width, height);
(gdb) step
function is no-op
111 }
and
(gdb) step
337 vs = glCreateShader(GL_VERTEX_SHADER);
(gdb) step
Mesa: User error: GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)
338 glShaderSource(vs, 1, &vsSource, NULL);
ENVIRONMENT:archlinux-kernel-3.10.10-corei5-desktop-x86_64 mesa-9.2 (gallium 0.4 on amd cedar)
please any comment.Thank you.