Searched refs:gLibrary (Results 1 – 1 of 1) sorted by relevance
89 static void* gLibrary = nullptr; variable93 if (!gLibrary) { in load_command_buffer_functions()95 gLibrary = DynamicLoadLibrary("command_buffer_gles2.dll"); in load_command_buffer_functions()97 gLibrary = DynamicLoadLibrary("libcommand_buffer_gles2.dylib"); in load_command_buffer_functions()99 gLibrary = DynamicLoadLibrary("libcommand_buffer_gles2.so"); in load_command_buffer_functions()101 if (gLibrary) { in load_command_buffer_functions()102 gfGetDisplay = (GetDisplayProc)GetProcedureAddress(gLibrary, "eglGetDisplay"); in load_command_buffer_functions()103 gfInitialize = (InitializeProc)GetProcedureAddress(gLibrary, "eglInitialize"); in load_command_buffer_functions()104 gfTerminate = (TerminateProc)GetProcedureAddress(gLibrary, "eglTerminate"); in load_command_buffer_functions()105 gfChooseConfig = (ChooseConfigProc)GetProcedureAddress(gLibrary, "eglChooseConfig"); in load_command_buffer_functions()[all …]