Lines Matching refs:dso
104 dso[0] = gles;
105 for (size_t i=1 ; i<NELEM(dso) ; i++)
106 dso[i] = 0;
111 for (size_t i=0 ; i<NELEM(dso) ; i++) {
112 if (dso[i]) {
113 dlclose(dso[i]);
114 dso[i] = 0;
123 dso[0] = hnd;
126 dso[1] = hnd;
129 dso[2] = hnd;
186 void* dso;
191 dso = load_driver("GLES", tag, cnx, EGL | GLESv1_CM | GLESv2);
192 if (dso) {
193 hnd = new driver_t(dso);
196 dso = load_driver("EGL", tag, cnx, EGL);
197 if (dso) {
198 hnd = new driver_t(dso);
225 void Loader::init_api(void* dso,
235 (__eglMustCastToProperFunctionPointerType)dlsym(dso, name);
246 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, scrap);
255 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, scrap);
297 void* dso = dlopen(driver_absolute_path, RTLD_NOW | RTLD_LOCAL);
298 if (dso == 0) {
307 getProcAddress = (getProcAddressType)dlsym(dso, "eglGetProcAddress");
348 (__eglMustCastToProperFunctionPointerType)dlsym(dso, name);
362 init_api(dso, gl_names,
369 init_api(dso, gl_names,
375 return dso;