32 RE_Render(
int do_foreground,
const char *appname = 0);
35 static void setMainRender(
RE_Render * main);
37 static bool isMainRenderInitialized();
40 static int getNumRenderContexts();
43 static RE_Render *findRenderWithID(
int id);
48 static bool getAllowAdaptiveSubd();
49 static void setAllowAdaptiveSubd(
bool allow);
52 static bool isHighDPIMode();
105 #endif // __RE_Render__
RE_Render * REgetMainRender()
static int inchesToPixels(float i)
int REtoPixels(fpreal inches)
int REtoScaledPixels(int pixels)
GLint GLint GLsizei GLint GLenum GLenum const void * pixels
fpreal REtoInches(int pixels)
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
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
static RE_Render * getMainRender()