29 #if defined(EXPERIMENTAL_GL_DRAWABLE_FEEL)
33 #if defined(EXPERIMENTAL_VULKAN)
40 RE_Render(
int do_foreground,
const char *appname = 0);
45 static bool isMainRenderInitialized();
48 static int getNumRenderContexts();
51 static RE_Render *findRenderWithID(
int id);
56 static bool getAllowAdaptiveSubd();
57 static void setAllowAdaptiveSubd(
bool allow);
60 static bool isHighDPIMode();
65 #if !defined(EXPERIMENTAL_GL_DRAWABLE_FEEL)
75 #if defined(EXPERIMENTAL_VULKAN)
76 static void setVulkanInst(RV_Instance* newVkInst)
77 { theVulkanInstance = newVkInst; }
79 static RV_Instance* getVulkanInst()
80 {
return theVulkanInstance; }
85 #if defined(EXPERIMENTAL_VULKAN)
86 static RV_Instance* theVulkanInstance;
129 #endif // __RE_Render__
RE_Render * REgetMainRender()
static int inchesToPixels(float i)
int REtoPixels(fpreal inches)
int REtoScaledPixels(int pixels)
fpreal REtoInches(int pixels)
int main(int argc, char *argv[])
RE_API fpreal REgetScreenToDeviceScale(int screen=-1)
fpreal32 SYSrint(fpreal32 val)
static bool isMainRenderInitialized()
RE_API RE_Render * REgetRender()
int REfromScaledPixels(int pixels)
static float pixelsToInches(int n)
bool REisMainRenderInitialized()
QOpenGLContext * RE_OGLContext
GLint GLint GLsizei GLint GLenum GLenum const void * pixels
static RE_Render * getMainRender()