Searched refs:g_GlslVersionString (Results 1 – 2 of 2) sorted by relevance
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_opengl3.cpp | 94 static char g_GlslVersionString[32] = ""; variable 115 IM_ASSERT((int)strlen(glsl_version) + 2 < IM_ARRAYSIZE(g_GlslVersionString)); in ImGui_ImplOpenGL3_Init() 116 strcpy(g_GlslVersionString, glsl_version); in ImGui_ImplOpenGL3_Init() 117 strcat(g_GlslVersionString, "\n"); in ImGui_ImplOpenGL3_Init() 349 …mplOpenGL3_CreateDeviceObjects: failed to link %s! (with GLSL '%s')\n", desc, g_GlslVersionString); in CheckProgram() 370 sscanf(g_GlslVersionString, "#version %d", &glsl_version); in ImGui_ImplOpenGL3_CreateDeviceObjects() 497 const GLchar* vertex_shader_with_version[2] = { g_GlslVersionString, vertex_shader }; in ImGui_ImplOpenGL3_CreateDeviceObjects() 503 const GLchar* fragment_shader_with_version[2] = { g_GlslVersionString, fragment_shader }; in ImGui_ImplOpenGL3_CreateDeviceObjects()
|
/third_party/mesa3d/src/intel/tools/imgui/ |
D | imgui_impl_opengl3.cpp | 67 static char g_GlslVersionString[32] = ""; variable 80 IM_ASSERT((int)strlen(glsl_version) + 2 < IM_ARRAYSIZE(g_GlslVersionString)); in ImGui_ImplOpenGL3_Init() 81 strcpy(g_GlslVersionString, glsl_version); in ImGui_ImplOpenGL3_Init() 82 strcat(g_GlslVersionString, "\n"); in ImGui_ImplOpenGL3_Init() 314 sscanf(g_GlslVersionString, "#version %d", &glsl_version); in ImGui_ImplOpenGL3_CreateDeviceObjects() 381 const GLchar* vertex_shader_with_version[2] = { g_GlslVersionString, vertex_shader }; in ImGui_ImplOpenGL3_CreateDeviceObjects() 387 const GLchar* fragment_shader_with_version[2] = { g_GlslVersionString, fragment_shader }; in ImGui_ImplOpenGL3_CreateDeviceObjects()
|