This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA2SX: 如何将GL_TEXTURE_EXTERNAL_OES作为framebuffer的color attachment

Part Number: TDA2SX

Hi, 

 我的使用情境是这样的:需要取出OpenGL渲染结果来作为其他link的数据源, 而使用glReadPixels会造成较高的延时、以及对OpenGL渲染帧率造成影响。所以申请了dma创建oes texture,并将该oes texture作为framebuffer的color attachment,target设置为GL_TEXTURE_EXTERNAL_OES,但在运行时出现以下错误:

  glFramebufferTexture2D(0x8D40 , attachment , target , texture.m_id , at.mip ); GL error 0x502: GL_INVALID_OPERATION
  换成普通的GL_TEXTURE_2D纹理则没有问题,想咨询一下TDA2SX平台是否支持该操作?是否是我的使用不当?若不能支持,是否有其他推荐的解决方案?
Thanks!