GL_INVALID_OPERATION error

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

GL_INVALID_OPERATION error

1,415 Views
bbosnjak
Contributor I

Used environment:

iMX6q Sabre lite Board

Android 4.3

Kernel 3.0.15

We have following issue with iMX6 Quad, OpenGL, EGL:

Our application is decoding video files respectively images.

Using following command

glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, image)

image = ANativeWindowBuffer

leads to an error:

0x502: GL_INVALID_OPERATION

My question is, is it possible that the EGL extension GL_TEXTURE_EXTERNAL_OES   is not supported?

Labels (3)
0 Kudos
3 Replies

782 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Bernard

Please try Android bsp  jb4.3_1.0.0, based on 3.0.35 :

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

it includes support for 4.6.13 gpuVivante driver version where some issues with glEGLImageTargetTexture2DOES appears fixed.

However in your special case the GL_INVALID OPERATION is Given when the set of state for a command is not legal for the parameters given to that command, It is also given for commands where combinations of parameters define what the legal parameters are.

Hope this helps

782 Views
karina_valencia
NXP Apps Support
NXP Apps Support

EricNelson are you  available to help with this case?

0 Kudos

782 Views
EricNelson
Senior Contributor II

Sure, but I think this is not our Android. I don't believe we ever used kernel 3.0.15 with Android 4.3.

Our latest image is available here, and runs 3.0.35:

     http://boundarydevices.com/jellybean-max/