openMSX
|
#include "imgui.h"
#include "imgui_impl_opengl3.h"
#include <stdio.h>
#include <stdint.h>
#include "imgui_impl_opengl3_loader.h"
Go to the source code of this file.
Classes | |
struct | ImGui_ImplOpenGL3_Data |
Macros | |
#define | IMGL3W_IMPL |
#define | IMGUI_IMPL_OPENGL_USE_VERTEX_ARRAY |
#define | IMGUI_IMPL_OPENGL_HAS_EXTENSIONS |
#define | IMGUI_IMPL_OPENGL_MAY_HAVE_POLYGON_MODE |
#define | IMGUI_IMPL_OPENGL_MAY_HAVE_BIND_BUFFER_PIXEL_UNPACK |
#define | IMGUI_IMPL_OPENGL_MAY_HAVE_PRIMITIVE_RESTART |
#define | IMGUI_IMPL_OPENGL_MAY_HAVE_VTX_OFFSET |
#define | IMGUI_IMPL_OPENGL_MAY_HAVE_BIND_SAMPLER |
#define | GL_CALL(_CALL) _CALL |
Functions | |
bool | ImGui_ImplOpenGL3_Init (const char *glsl_version) |
void | ImGui_ImplOpenGL3_Shutdown () |
void | ImGui_ImplOpenGL3_NewFrame () |
void | ImGui_ImplOpenGL3_RenderDrawData (ImDrawData *draw_data) |
bool | ImGui_ImplOpenGL3_CreateFontsTexture () |
void | ImGui_ImplOpenGL3_DestroyFontsTexture () |
bool | ImGui_ImplOpenGL3_CreateDeviceObjects () |
void | ImGui_ImplOpenGL3_DestroyDeviceObjects () |
#define GL_CALL | ( | _CALL | ) | _CALL |
Definition at line 220 of file imgui_impl_opengl3.cc.
#define IMGL3W_IMPL |
Definition at line 172 of file imgui_impl_opengl3.cc.
#define IMGUI_IMPL_OPENGL_HAS_EXTENSIONS |
Definition at line 190 of file imgui_impl_opengl3.cc.
#define IMGUI_IMPL_OPENGL_MAY_HAVE_BIND_BUFFER_PIXEL_UNPACK |
Definition at line 196 of file imgui_impl_opengl3.cc.
#define IMGUI_IMPL_OPENGL_MAY_HAVE_BIND_SAMPLER |
Definition at line 211 of file imgui_impl_opengl3.cc.
#define IMGUI_IMPL_OPENGL_MAY_HAVE_POLYGON_MODE |
Definition at line 191 of file imgui_impl_opengl3.cc.
#define IMGUI_IMPL_OPENGL_MAY_HAVE_PRIMITIVE_RESTART |
Definition at line 201 of file imgui_impl_opengl3.cc.
#define IMGUI_IMPL_OPENGL_MAY_HAVE_VTX_OFFSET |
Definition at line 206 of file imgui_impl_opengl3.cc.
#define IMGUI_IMPL_OPENGL_USE_VERTEX_ARRAY |
Definition at line 178 of file imgui_impl_opengl3.cc.
bool ImGui_ImplOpenGL3_CreateDeviceObjects | ( | ) |
Definition at line 762 of file imgui_impl_opengl3.cc.
References ImGui_ImplOpenGL3_Data::AttribLocationProjMtx, ImGui_ImplOpenGL3_Data::AttribLocationTex, ImGui_ImplOpenGL3_Data::AttribLocationVtxColor, ImGui_ImplOpenGL3_Data::AttribLocationVtxPos, ImGui_ImplOpenGL3_Data::AttribLocationVtxUV, ImGui_ImplOpenGL3_Data::ElementsHandle, GL_CALL, ImGui_ImplOpenGL3_Data::GlslVersionString, ImGui_ImplOpenGL3_Data::GlVersion, ImGui_ImplOpenGL3_CreateFontsTexture(), ImGui_ImplOpenGL3_Data::ShaderHandle, and ImGui_ImplOpenGL3_Data::VboHandle.
Referenced by ImGui_ImplOpenGL3_NewFrame().
bool ImGui_ImplOpenGL3_CreateFontsTexture | ( | ) |
Definition at line 678 of file imgui_impl_opengl3.cc.
References ImGui_ImplOpenGL3_Data::FontTexture, and GL_CALL.
Referenced by ImGui_ImplOpenGL3_CreateDeviceObjects(), and ImGui_ImplOpenGL3_NewFrame().
void ImGui_ImplOpenGL3_DestroyDeviceObjects | ( | ) |
Definition at line 959 of file imgui_impl_opengl3.cc.
References ImGui_ImplOpenGL3_Data::ElementsHandle, ImGui_ImplOpenGL3_DestroyFontsTexture(), ImGui_ImplOpenGL3_Data::ShaderHandle, and ImGui_ImplOpenGL3_Data::VboHandle.
Referenced by ImGui_ImplOpenGL3_Shutdown().
void ImGui_ImplOpenGL3_DestroyFontsTexture | ( | ) |
Definition at line 712 of file imgui_impl_opengl3.cc.
References ImGui_ImplOpenGL3_Data::FontTexture.
Referenced by ImGui_ImplOpenGL3_DestroyDeviceObjects().
bool ImGui_ImplOpenGL3_Init | ( | const char * | glsl_version | ) |
Definition at line 285 of file imgui_impl_opengl3.cc.
References ImGui_ImplOpenGL3_Data::GlProfileIsCompat, ImGui_ImplOpenGL3_Data::GlProfileIsES2, ImGui_ImplOpenGL3_Data::GlProfileIsES3, ImGui_ImplOpenGL3_Data::GlProfileMask, ImGui_ImplOpenGL3_Data::GlslVersionString, ImGui_ImplOpenGL3_Data::GlVersion, ImGui_ImplOpenGL3_Data::HasClipOrigin, ImGui_ImplOpenGL3_Data::HasPolygonMode, and ImGui_ImplOpenGL3_Data::UseBufferSubData.
Referenced by openmsx::VisibleSurface::VisibleSurface().
void ImGui_ImplOpenGL3_NewFrame | ( | ) |
Definition at line 412 of file imgui_impl_opengl3.cc.
References ImGui_ImplOpenGL3_Data::FontTexture, ImGui_ImplOpenGL3_CreateDeviceObjects(), ImGui_ImplOpenGL3_CreateFontsTexture(), and ImGui_ImplOpenGL3_Data::ShaderHandle.
void ImGui_ImplOpenGL3_RenderDrawData | ( | ImDrawData * | draw_data | ) |
Definition at line 500 of file imgui_impl_opengl3.cc.
References ImGui_ImplOpenGL3_Data::AttribLocationVtxColor, ImGui_ImplOpenGL3_Data::AttribLocationVtxPos, ImGui_ImplOpenGL3_Data::AttribLocationVtxUV, GL_CALL, ImGui_ImplOpenGL3_Data::GlProfileIsCompat, ImGui_ImplOpenGL3_Data::GlProfileIsES3, ImGui_ImplOpenGL3_Data::GlVersion, ImGui_ImplOpenGL3_Data::HasPolygonMode, ImGui_ImplOpenGL3_Data::IndexBufferSize, ImGui_ImplOpenGL3_Data::UseBufferSubData, and ImGui_ImplOpenGL3_Data::VertexBufferSize.
void ImGui_ImplOpenGL3_Shutdown | ( | ) |
Definition at line 398 of file imgui_impl_opengl3.cc.
References ImGui_ImplOpenGL3_DestroyDeviceObjects().
Referenced by openmsx::VisibleSurface::~VisibleSurface().