egl: Add function: meta_egl_query_string
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3304>
This commit is contained in:
parent
9fee3a9ec1
commit
8c6aabb9ca
@ -260,6 +260,14 @@ meta_egl_has_extensions (MetaEgl *egl,
|
||||
return has_extensions;
|
||||
}
|
||||
|
||||
const char *
|
||||
meta_egl_query_string (MetaEgl *egl,
|
||||
EGLDisplay display,
|
||||
EGLint name)
|
||||
{
|
||||
return eglQueryString (display, name);
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_egl_initialize (MetaEgl *egl,
|
||||
EGLDisplay display,
|
||||
|
@ -47,6 +47,10 @@ gboolean meta_egl_has_extensions (MetaEgl *egl,
|
||||
const char *first_extension,
|
||||
...);
|
||||
|
||||
const char * meta_egl_query_string (MetaEgl *egl,
|
||||
EGLDisplay display,
|
||||
EGLint name);
|
||||
|
||||
gboolean meta_egl_initialize (MetaEgl *egl,
|
||||
EGLDisplay display,
|
||||
GError **error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user