google / google/agi

GL_TEXTURE_EXTERNAL_OES is not support ?

Open
#1,317 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.1k
Forks
169
PR merge metrics
No merged PRs in 30d

Description

**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
5. in grafika interface, select "Show+capture camera"
6. AGI capture one frame and open
7. 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;'

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.