Run Android OpenGL in Background as Rendering Resource for App?

后端 未结 2 1647
-上瘾入骨i
-上瘾入骨i 2020-12-08 16:48

I want to run an Android OpenGL-ES surface in the background of my app to provide dynamic graphical resources (bitmaps, etc.) for the application. The OpenGl GLSurfaceView i

2条回答
  •  失恋的感觉
    2020-12-08 17:48

    I would strongly recommend you don't try to do this. Many current drivers on Android devices don't support multiple active GL contexts across processes; if the driver does support this, the feature has not been exercised much because Android itself does not do this, so there are likely to be nasty bugs that result.

    Multiple GL context is only being used by the platform starting with Android 3.0.

提交回复
热议问题