agi
agi copied to clipboard
GL_TEXTURE_EXTERNAL_OES is not support ?
Environment information:
- AGI version: Version: 3.3.1
- Host OS: Windows If tracing on Android:
- Device model: Google Pixel 6
- Android Version: Android 12
Bug description
- In my app, i will make camera output to textureOES, then processed by some filter , finally render on screen.
- This behavior is very similar with https://github.com/google/grafika.git "Show+capture camera" function.
- When I catpure with AGI, AGI will not record the camera output,textureOES is emply
- When replay capture, it will show green (0xFF005600) and on "textures" tag, it will display "No texture data has been associated will texture "Image<....>"
Reproduction steps
- git clone https://github.com/google/grafika.git
- use android studio to build grafika and run on device
- use AGI to start up grafika
- in grafika interface, select "Show+capture camera"
- AGI capture one frame and open
- AGI replay, it will show full 'black or green'
Stacktrace n/a
Screenshots n/a
Additional debugging information in "Show+capture camera" activity, camera will output to texture(target is GL_TEXTURE_EXTERNAL_OES), and use egl context to render to screen gles shader use '#extension GL_OES_EGL_image_external : require' and 'uniform samplerExternalOES sTexture;'