GL_INVALID_OPERATION error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GL_INVALID_OPERATION error

2,398 次查看
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?

标签 (3)
0 项奖励
回复
3 回复数

1,765 次查看
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

1,765 次查看
karina_valencia
NXP Apps Support
NXP Apps Support

EricNelson are you  available to help with this case?

0 项奖励
回复

1,765 次查看
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/