This looks good as well, I've spent also some quality debugger time
today with these bits and my EGL_ANDROID_blob_cache branch. I'll be
using these functions and probably do some minor refactors so that
glGetProgramBinary() errors won't get printed when Android cache calls this.
Reviewed-by: T
From: Jordan Justen
V2 (Timothy Arceri):
- add extra code comment
- stop passing around void *binary and just pass
program_binary_header *hdr instead.
- move to src/mesa/main rather than src/util
V3 (Timothy Arceri):
- Move more code out of the backend and into the common
helpers.
Sig