diff options
author | Chia-I Wu <[email protected]> | 2011-06-23 20:08:53 +0900 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-06-24 16:43:03 +0900 |
commit | 7451bffad41a8ab7c61c9799b351c031852eb780 (patch) | |
tree | 300d42077d9802b7bb7aa998d563ba2960da286d /src/gallium/targets/egl-static/egl_st.h | |
parent | a000745f80f695cfa0cd1dc206869eeb5f87f36f (diff) |
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).
Diffstat (limited to 'src/gallium/targets/egl-static/egl_st.h')
-rw-r--r-- | src/gallium/targets/egl-static/egl_st.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |