From 7451bffad41a8ab7c61c9799b351c031852eb780 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 23 Jun 2011 20:08:53 +0900 Subject: targets/egl-static: allow st/mesa to be dynamically loaded When shared glapi is not enabled, there are two glapi providers and we cannot decide which one to link to at build time. It results in unresolved symbols in st/mesa. This commit makes st/mesa a loadable module when shared glapi is not enabled, and hopes that the apps will link to one of the glapi providers (GL or GLES). --- src/gallium/targets/egl-static/egl_st.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/targets/egl-static/egl_st.h') diff --git a/src/gallium/targets/egl-static/egl_st.h b/src/gallium/targets/egl-static/egl_st.h index ba82faf0b0e..7a3773c6ba2 100644 --- a/src/gallium/targets/egl-static/egl_st.h +++ b/src/gallium/targets/egl-static/egl_st.h @@ -34,6 +34,9 @@ struct st_api * egl_st_create_api(enum st_api_type api); +void +egl_st_destroy_api(struct st_api *stapi); + uint egl_st_get_profile_mask(enum st_api_type api); -- cgit v1.2.3