Searched refs:g_VertHandle (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/intel/tools/imgui/ |
D | imgui_impl_opengl3.cpp | 69 static GLuint g_ShaderHandle = 0, g_VertHandle = 0, g_FragHandle = 0; variable 382 g_VertHandle = glCreateShader(GL_VERTEX_SHADER); in ImGui_ImplOpenGL3_CreateDeviceObjects() 383 glShaderSource(g_VertHandle, 2, vertex_shader_with_version, NULL); in ImGui_ImplOpenGL3_CreateDeviceObjects() 384 glCompileShader(g_VertHandle); in ImGui_ImplOpenGL3_CreateDeviceObjects() 385 CheckShader(g_VertHandle, "vertex shader"); in ImGui_ImplOpenGL3_CreateDeviceObjects() 394 glAttachShader(g_ShaderHandle, g_VertHandle); in ImGui_ImplOpenGL3_CreateDeviceObjects() 425 if (g_ShaderHandle && g_VertHandle) glDetachShader(g_ShaderHandle, g_VertHandle); in ImGui_ImplOpenGL3_DestroyDeviceObjects() 426 if (g_VertHandle) glDeleteShader(g_VertHandle); in ImGui_ImplOpenGL3_DestroyDeviceObjects() 427 g_VertHandle = 0; in ImGui_ImplOpenGL3_DestroyDeviceObjects()
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_opengl3.cpp | 96 static GLuint g_ShaderHandle = 0, g_VertHandle = 0, g_FragHandle = 0; variable 498 g_VertHandle = glCreateShader(GL_VERTEX_SHADER); in ImGui_ImplOpenGL3_CreateDeviceObjects() 499 glShaderSource(g_VertHandle, 2, vertex_shader_with_version, NULL); in ImGui_ImplOpenGL3_CreateDeviceObjects() 500 glCompileShader(g_VertHandle); in ImGui_ImplOpenGL3_CreateDeviceObjects() 501 CheckShader(g_VertHandle, "vertex shader"); in ImGui_ImplOpenGL3_CreateDeviceObjects() 510 glAttachShader(g_ShaderHandle, g_VertHandle); in ImGui_ImplOpenGL3_CreateDeviceObjects() 541 if (g_ShaderHandle && g_VertHandle) glDetachShader(g_ShaderHandle, g_VertHandle); in ImGui_ImplOpenGL3_DestroyDeviceObjects() 542 if (g_VertHandle) glDeleteShader(g_VertHandle); in ImGui_ImplOpenGL3_DestroyDeviceObjects() 543 g_VertHandle = 0; in ImGui_ImplOpenGL3_DestroyDeviceObjects()
|