diff options
author | Chad Versace <[email protected]> | 2016-09-27 13:27:17 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2016-10-04 14:11:29 -0700 |
commit | 3e0d575a6d727c4334b783c443a5e1980dca43b4 (patch) | |
tree | c21dc7f4afcb30b9a2aed7a0efd2cc83ebeee656 /src/egl/main/eglapi.h | |
parent | f2c2f43d4ea2948e8fd9be1ab192664df262c0f4 (diff) |
egl: Add _eglConvertIntsToAttribs()
This function converts an attribute list from EGLint[] to EGLAttrib[].
Will be used in following patches to cleanup EGLSync attribute parsing.
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/main/eglapi.h')
-rw-r--r-- | src/egl/main/eglapi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/main/eglapi.h b/src/egl/main/eglapi.h index 2d6a24fc59f..5d9c1b85edc 100644 --- a/src/egl/main/eglapi.h +++ b/src/egl/main/eglapi.h @@ -199,6 +199,8 @@ struct _egl_api struct mesa_glinterop_export_out *out); }; +EGLint _eglConvertIntsToAttribs(const EGLint *int_list, + EGLAttrib **out_attrib_list); #ifdef __cplusplus } |