google / gapid

Graphics API Debugger
https://gapid.dev
Apache License 2.0
2.21k stars 328 forks source link

Texture backed by HardwareBuffer on Android #3847

Open Liahim opened 4 years ago

Liahim commented 4 years ago

Any chance such a texture can be visually inspected? A lot of these in the log: W 11:21:54.144 gapis Framebuffer error after capture<75fb57372575487e3524b2b5c6b1409c1b27ce15>.commands[33586]: No format set

HardwareBuffer created with AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM, usage AHARDWAREBUFFER_USAGE_GPU_FRAMEBUFFER | AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE. Then egl image created from eglGetNativeClientBufferANDROID and then attached via glEGLImageTargetTexStorageEXT. Thanks.