Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GL_TEXTURE_EXTERNAL_OES is not support ? #1317

Open
CatDroid opened this issue Sep 4, 2023 · 0 comments
Open

GL_TEXTURE_EXTERNAL_OES is not support ? #1317

CatDroid opened this issue Sep 4, 2023 · 0 comments

Comments

@CatDroid
Copy link

CatDroid commented Sep 4, 2023

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;'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant