Changeset View
Changeset View
Standalone View
Standalone View
scene_opengl.cpp
Show First 20 Lines • Show All 1015 Lines • ▼ Show 20 Line(s) | 1015 | { | |||
---|---|---|---|---|---|
1016 | return new SceneOpenGLDecorationRenderer(impl); | 1016 | return new SceneOpenGLDecorationRenderer(impl); | ||
1017 | } | 1017 | } | ||
1018 | 1018 | | |||
1019 | bool SceneOpenGL::animationsSupported() const | 1019 | bool SceneOpenGL::animationsSupported() const | ||
1020 | { | 1020 | { | ||
1021 | return !GLPlatform::instance()->isSoftwareEmulation(); | 1021 | return !GLPlatform::instance()->isSoftwareEmulation(); | ||
1022 | } | 1022 | } | ||
1023 | 1023 | | |||
1024 | QVector<QByteArray> SceneOpenGL::openGLPlatformInterfaceExtensions() const | ||||
1025 | { | ||||
1026 | return m_backend->extensions().toVector(); | ||||
1027 | } | ||||
1028 | | ||||
1024 | //**************************************** | 1029 | //**************************************** | ||
1025 | // SceneOpenGL2 | 1030 | // SceneOpenGL2 | ||
1026 | //**************************************** | 1031 | //**************************************** | ||
1027 | bool SceneOpenGL2::supported(OpenGLBackend *backend) | 1032 | bool SceneOpenGL2::supported(OpenGLBackend *backend) | ||
1028 | { | 1033 | { | ||
1029 | const QByteArray forceEnv = qgetenv("KWIN_COMPOSE"); | 1034 | const QByteArray forceEnv = qgetenv("KWIN_COMPOSE"); | ||
1030 | if (!forceEnv.isEmpty()) { | 1035 | if (!forceEnv.isEmpty()) { | ||
1031 | if (qstrcmp(forceEnv, "O2") == 0 || qstrcmp(forceEnv, "O2ES") == 0) { | 1036 | if (qstrcmp(forceEnv, "O2") == 0 || qstrcmp(forceEnv, "O2ES") == 0) { | ||
▲ Show 20 Lines • Show All 1579 Lines • Show Last 20 Lines |