I am trying to do some image processing on decoded video frame in Android.
When I use GL_OES_EGL_image_external_essl3 extension in OpenGL Compute Shader to read the OES texture, some Android phones will give an error.
My Compute Shader Code:
My Host Code:
The GLES information of devices on which I can reproduce the error. (By the way, all Adreno GPUs I tested works fine)
1. GLES: ARM, Mali-G76, OpenGL ES 3.2 v1.r18p0-01rel0.eb0c31071d41ebd807505c2a08a74d99
2. GLES: ARM, Mali-G76, OpenGL ES 3.2 v1.r18p0-01rel0.e098644a2658b0905d91d87153032847
3. GLES: ARM, Mali-G76, OpenGL ES 3.2 v1.r18p0-01rel0.4bdf67f8773978c3cc51394b4d92fc05
4. GLES: ARM, Mali-G76 MC4, OpenGL ES 3.2 v1.r20p0-01rel0.a41d1d553047de7edc8f79dbe3e575cd
5. GLES: ARM, Mali-G52 MC2, OpenGL ES 3.2 v1.r20p0-01rel0.3c1c24cb7710121ad59f6bdaee909f9f
Just to confirm, do you know if it works on more recent Mali devices? Do you know specifically which chipsets are failing (video formats depend on chipset manufacturer)?
Do you know what image format are you actually trying to read?
Cheers, Pete