eglMakeCurrent causes GL_INVALID_OPERATION

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

eglMakeCurrent causes GL_INVALID_OPERATION

666 Views
mastermind_
Contributor I

Hi!

I have custom board with i.MX6S processor, version of SDK is 3.5.7-1.0.0 (from Buildroot).

The code eglMakeCurrent(egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT) sets OpenGL error to GL_INVALID_OPERATION, while the eglMakeCurrent call returns EGL_TRUE. Is that bug in driver or what?

Code is well tested and runs on other platform (android) without any errors.

Thanks

Labels (1)
0 Kudos
3 Replies

487 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Denis,

Make sure that you have include GPU support on your BSP envioment, Also, instead if 3.5.7 please take a look at the  i.MX6 Graphics SDK that  Includes sample, demo code, and documentation for working with the i.MX6X family graphics cores. Includes OpenVG, OpenGL ES, and GAL2D reference files..

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6S&fpsp=1&tab=Design_Tools_Tab

Hope this helps

0 Kudos

487 Views
mastermind_
Contributor I

Hello, I'm using the buildroot environment, which has 3.5.7 version and I'm not going to change it. It works great, just sets OpenGL error.

0 Kudos

487 Views
mastermind_
Contributor I

Also I've reproduced it in sample 01_SimpleTriangle from SDK

0 Kudos