Searched refs:g_FragHandle (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 388 g_FragHandle = glCreateShader(GL_FRAGMENT_SHADER); in ImGui_ImplOpenGL3_CreateDeviceObjects() 389 glShaderSource(g_FragHandle, 2, fragment_shader_with_version, NULL); in ImGui_ImplOpenGL3_CreateDeviceObjects() 390 glCompileShader(g_FragHandle); in ImGui_ImplOpenGL3_CreateDeviceObjects() 391 CheckShader(g_FragHandle, "fragment shader"); in ImGui_ImplOpenGL3_CreateDeviceObjects() 395 glAttachShader(g_ShaderHandle, g_FragHandle); in ImGui_ImplOpenGL3_CreateDeviceObjects() 429 if (g_ShaderHandle && g_FragHandle) glDetachShader(g_ShaderHandle, g_FragHandle); in ImGui_ImplOpenGL3_DestroyDeviceObjects() 430 if (g_FragHandle) glDeleteShader(g_FragHandle); in ImGui_ImplOpenGL3_DestroyDeviceObjects() 431 g_FragHandle = 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 504 g_FragHandle = glCreateShader(GL_FRAGMENT_SHADER); in ImGui_ImplOpenGL3_CreateDeviceObjects() 505 glShaderSource(g_FragHandle, 2, fragment_shader_with_version, NULL); in ImGui_ImplOpenGL3_CreateDeviceObjects() 506 glCompileShader(g_FragHandle); in ImGui_ImplOpenGL3_CreateDeviceObjects() 507 CheckShader(g_FragHandle, "fragment shader"); in ImGui_ImplOpenGL3_CreateDeviceObjects() 511 glAttachShader(g_ShaderHandle, g_FragHandle); in ImGui_ImplOpenGL3_CreateDeviceObjects() 545 if (g_ShaderHandle && g_FragHandle) glDetachShader(g_ShaderHandle, g_FragHandle); in ImGui_ImplOpenGL3_DestroyDeviceObjects() 546 if (g_FragHandle) glDeleteShader(g_FragHandle); in ImGui_ImplOpenGL3_DestroyDeviceObjects() 547 g_FragHandle = 0; in ImGui_ImplOpenGL3_DestroyDeviceObjects()
|