Hi, I now use the fbdev window system, I assign a fbdev_pixmap structure configured corresponding content, pass it to eglCreatePixmapSurface function, but get to the error information 0x0000300A Such as: Error: eglCreatePixmapSurface failed Error: 0x0000300A I will be how to configure fbdev_pixmap structure content, there is no successful example sent to me ah? Thank you
Hi Michael McGeagh,
We are now tring to transplant our graphics system from powerVR sgx540 to mali400(use fb_dev on linux). On the powerVR sgx540 platform, we used the function "eglCreateImageKHR ((EGLDisplay*)egl_dpy, egl_ctx,EGL_NATIVE_PIXMAP_KHR,(EGLClientBuffer) buffer,NULL)" to create an pointer of EGLImageKHR. But we are not sure if the function is implemented in the mali-400 openGLES libraries(linux-fbdev-hf-r3p0-04rel0.tar.gz)? If the answer is YES, are there any pieces of sample code; or, are there any alternative implementations?
thanks,
yueliu
Hi yueliu,
The correct definition of the fbdev_pixmap can be found at https://github.com/Pivosgroup/buildroot-linux/blob/master/package/amlogic/opengl/src/include/EGL/fbdev_window.h for you to use. Within the same repo, there are also references to the use of the eglCreateImageKHR function you are hoping to make use of https://github.com/Pivosgroup/buildroot-linux/blob/a083da1c0a7bf153e8e43bf38f2a41efdafb5f63/package/amlogic/opengl/src/include/EGL/eglext.h.
I hope this is helpful,
Rich