agi icon indicating copy to clipboard operation
agi copied to clipboard

GL_TEXTURE_EXTERNAL_OES is not support ?

Open CatDroid opened this issue 2 years ago • 0 comments

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

  1. In my app, i will make camera output to textureOES, then processed by some filter , finally render on screen.
  2. This behavior is very similar with https://github.com/google/grafika.git "Show+capture camera" function.
  3. When I catpure with AGI, AGI will not record the camera output,textureOES is emply
  4. 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

  1. git clone https://github.com/google/grafika.git
  2. use android studio to build grafika and run on device
  3. use AGI to start up grafika
  4. in grafika interface, select "Show+capture camera"
  5. AGI capture one frame and open
  6. 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;'

CatDroid avatar Sep 04 '23 12:09 CatDroid