Home
last modified time | relevance | path

Searched refs:g_FontTexture (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_marmalade.cpp30 static CIwTexture* g_FontTexture = NULL; variable
181 g_FontTexture = new CIwTexture(); in ImGui_Marmalade_CreateDeviceObjects()
182 g_FontTexture->SetModifiable(true); in ImGui_Marmalade_CreateDeviceObjects()
183 CIwImage& image = g_FontTexture->GetImage(); in ImGui_Marmalade_CreateDeviceObjects()
189 g_FontTexture->SetMipMapping(false); in ImGui_Marmalade_CreateDeviceObjects()
190 g_FontTexture->SetFiltering(false); in ImGui_Marmalade_CreateDeviceObjects()
191 g_FontTexture->Upload(); in ImGui_Marmalade_CreateDeviceObjects()
194 io.Fonts->TexID = (ImTextureID)g_FontTexture; in ImGui_Marmalade_CreateDeviceObjects()
207 if (g_FontTexture) in ImGui_Marmalade_InvalidateDeviceObjects()
209 delete g_FontTexture; in ImGui_Marmalade_InvalidateDeviceObjects()
[all …]
Dimgui_impl_dx9.cpp32 static LPDIRECT3DTEXTURE9 g_FontTexture = NULL; variable
225 g_FontTexture = NULL; in ImGui_ImplDX9_CreateFontsTexture()
226 …re(width, height, 1, D3DUSAGE_DYNAMIC, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &g_FontTexture, NULL) < 0) in ImGui_ImplDX9_CreateFontsTexture()
229 if (g_FontTexture->LockRect(0, &tex_locked_rect, NULL, 0) != D3D_OK) in ImGui_ImplDX9_CreateFontsTexture()
233 g_FontTexture->UnlockRect(0); in ImGui_ImplDX9_CreateFontsTexture()
236 io.Fonts->TexID = (ImTextureID)g_FontTexture; in ImGui_ImplDX9_CreateFontsTexture()
267 IM_ASSERT(g_FontTexture == io.Fonts->TexID); in ImGui_ImplDX9_InvalidateDeviceObjects()
268 if (g_FontTexture) in ImGui_ImplDX9_InvalidateDeviceObjects()
269 g_FontTexture->Release(); in ImGui_ImplDX9_InvalidateDeviceObjects()
270 g_FontTexture = NULL; in ImGui_ImplDX9_InvalidateDeviceObjects()
[all …]
Dimgui_impl_opengl2.cpp52 static GLuint g_FontTexture = 0; variable
69 if (!g_FontTexture) in ImGui_ImplOpenGL2_NewFrame()
180 glGenTextures(1, &g_FontTexture); in ImGui_ImplOpenGL2_CreateFontsTexture()
181 glBindTexture(GL_TEXTURE_2D, g_FontTexture); in ImGui_ImplOpenGL2_CreateFontsTexture()
188 io.Fonts->TexID = (ImTextureID)(intptr_t)g_FontTexture; in ImGui_ImplOpenGL2_CreateFontsTexture()
198 if (g_FontTexture) in ImGui_ImplOpenGL2_DestroyFontsTexture()
201 glDeleteTextures(1, &g_FontTexture); in ImGui_ImplOpenGL2_DestroyFontsTexture()
203 g_FontTexture = 0; in ImGui_ImplOpenGL2_DestroyFontsTexture()
Dimgui_impl_opengl3.cpp95 static GLuint g_FontTexture = 0; variable
129 if (!g_FontTexture) in ImGui_ImplOpenGL3_NewFrame()
297 glGenTextures(1, &g_FontTexture); in ImGui_ImplOpenGL3_CreateFontsTexture()
298 glBindTexture(GL_TEXTURE_2D, g_FontTexture); in ImGui_ImplOpenGL3_CreateFontsTexture()
305 io.Fonts->TexID = (ImTextureID)(intptr_t)g_FontTexture; in ImGui_ImplOpenGL3_CreateFontsTexture()
315 if (g_FontTexture) in ImGui_ImplOpenGL3_DestroyFontsTexture()
318 glDeleteTextures(1, &g_FontTexture); in ImGui_ImplOpenGL3_DestroyFontsTexture()
320 g_FontTexture = 0; in ImGui_ImplOpenGL3_DestroyFontsTexture()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_marmalade.cpp36 static CIwTexture* g_FontTexture = NULL; variable
186 g_FontTexture = new CIwTexture(); in ImGui_Marmalade_CreateDeviceObjects()
187 g_FontTexture->SetModifiable(true); in ImGui_Marmalade_CreateDeviceObjects()
188 CIwImage& image = g_FontTexture->GetImage(); in ImGui_Marmalade_CreateDeviceObjects()
194 g_FontTexture->SetMipMapping(false); in ImGui_Marmalade_CreateDeviceObjects()
195 g_FontTexture->SetFiltering(false); in ImGui_Marmalade_CreateDeviceObjects()
196 g_FontTexture->Upload(); in ImGui_Marmalade_CreateDeviceObjects()
199 io.Fonts->SetTexID((ImTextureID)g_FontTexture); in ImGui_Marmalade_CreateDeviceObjects()
212 if (g_FontTexture) in ImGui_Marmalade_InvalidateDeviceObjects()
215 delete g_FontTexture; in ImGui_Marmalade_InvalidateDeviceObjects()
[all …]
/third_party/mesa3d/src/intel/tools/imgui/
Dimgui_impl_opengl3.cpp68 static GLuint g_FontTexture = 0; variable
93 if (!g_FontTexture) in ImGui_ImplOpenGL3_NewFrame()
241 glGenTextures(1, &g_FontTexture); in ImGui_ImplOpenGL3_CreateFontsTexture()
242 glBindTexture(GL_TEXTURE_2D, g_FontTexture); in ImGui_ImplOpenGL3_CreateFontsTexture()
249 io.Fonts->TexID = (void *)(intptr_t)g_FontTexture; in ImGui_ImplOpenGL3_CreateFontsTexture()
259 if (g_FontTexture) in ImGui_ImplOpenGL3_DestroyFontsTexture()
262 glDeleteTextures(1, &g_FontTexture); in ImGui_ImplOpenGL3_DestroyFontsTexture()
264 g_FontTexture = 0; in ImGui_ImplOpenGL3_DestroyFontsTexture()