Hi,
My system includes the following components:
- Freescale MQX4.1
- Freescale Vybrid VF522
- OpenVG 0.7.0
When I want to use another colorformat than ARGB8888, I get the error EGL_NO_SURFACE, when calling eglCreateWindowSurface.
I get the error when using RGB888 or RGB565.
I don't have the OpenVG sources, so I don't know what's going wrong inside this function.
Any hints ?
Regards
Sebastian
Solved! Go to Solution.
Hi,
I have found a solution.
I first have to set the same color-format in the buffer-info of the fbdev-driver, cause they have to match and openvg-lib does not set itself this information.
fb = fopen("fbdev:0", NULL);
buf_info.FORMAT = FBDEV_COLOR_RGB888;
...
ioctl(fb, IO_IOCTL_FBDEV_SET_BUFFER_INFO, &buf_info);
...
//search for matching egl-config
...
eglCreateContext( ......);
Regards
Sebastian
timesyssupport can you help with this case?
Hi,
I have found a solution.
I first have to set the same color-format in the buffer-info of the fbdev-driver, cause they have to match and openvg-lib does not set itself this information.
fb = fopen("fbdev:0", NULL);
buf_info.FORMAT = FBDEV_COLOR_RGB888;
...
ioctl(fb, IO_IOCTL_FBDEV_SET_BUFFER_INFO, &buf_info);
...
//search for matching egl-config
...
eglCreateContext( ......);
Regards
Sebastian