43 RendererDesktopGL = 0x02,
44 RendererOpenGLES = 0x04,
45 RendererSoftware = 0x08
50 AngleRendererDefault = 0x0000,
51 AngleRendererD3d11 = 0x0002,
52 AngleRendererD3d9 = 0x0004,
53 AngleRendererD3d11Warp = 0x0008,
73 static OpenGLRenderers getSupportedOpenGLRenderers();
75 static void setUserPreferredOpenGLRendererConfig(
OpenGLRenderer renderer);
76 static QString convertOpenGLRendererToConfig(
OpenGLRenderer renderer);
77 static OpenGLRenderer convertConfigToOpenGLRenderer(QString renderer);
80 static void initialize();
83 static void initializeContext(QOpenGLContext *ctx);
85 static const QString &getDebugText();
89 static QString currentDriver();
90 static bool supportsLoD();
91 static bool hasOpenGL3();
92 static bool hasOpenGLES();
93 static bool supportsVAO();
96 static bool hasOpenGL();
102 static bool supportsFenceSync();
104 static bool supportsBufferMapping();
106 static bool forceDisableTextureBuffers();
107 static bool shouldUseTextureBuffers(
bool userPreference);
109 static bool useTextureBufferInvalidation();
117 static bool useFBOForToolOutlineRendering();
123 static bool needsFenceWorkaround();
125 static void testingInitializeDefaultSurfaceFormat();
126 static void setDebugSynchronous(
bool value);
128 static void glInvalidateBufferData(
uint buffer);
Q_DECLARE_FLAGS(KisUpdaterContextSnapshotEx, KisUpdaterContextSnapshotExTag)