Lines Matching refs:stapi
78 struct st_api *stapi = NULL;
87 stapi = create_api();
89 if (!stapi) {
94 return stapi;
102 struct st_api *stapi;
104 stapi = load_gl(module, symbol);
107 if (!stapi) {
113 stapi = load_gl(module, symbol);
117 if (!stapi)
120 return stapi;
128 struct st_api *stapi = NULL;
134 stapi = egl_st_load_gl();
136 stapi = st_gl_api_create();
142 stapi = (struct st_api *) vg_api_get();
150 return stapi;
154 egl_st_destroy_api(struct st_api *stapi)
157 boolean is_gl = (stapi->api == ST_API_OPENGL);
159 stapi->destroy(stapi);
166 stapi->destroy(stapi);