dtkmultimedia
DTK Multimedia module
|
DCompositeManager类是负责对系统环境判断的类. 更多...
#include <dcompositemanager.h>
信号 | |
void | compositingChanged (bool) |
Public 成员函数 | |
bool | hascard () |
void | overrideCompositeMode (bool useCompositing) |
设置窗口组合模式. | |
bool | composited () const |
获取窗口组合模式. | |
Platform | platform () const |
获取运行平台. | |
bool | isTestFlag () const |
是否测试运行. | |
void | setTestFlag (bool flag) |
设置是否测试运行. | |
bool | isZXIntgraphics () const |
是否兆芯集显. | |
PlayerOptionList | getProfile (const QString &name) |
获取配置信息. | |
PlayerOptionList | getBestProfile () |
获取最佳配置. | |
void | softDecodeCheck () |
软件解码环境检测. | |
bool | isOnlySoftDecode () |
是否运行在Nvidia显卡环境. | |
bool | isSpecialControls () |
是否为专用控制器. | |
void | getMpvConfig (QMap< QString, QString > *&aimMap) |
获取mpv控制参数. | |
bool | first_check_wayland_env () |
第一次检测使用此函数检测是否为wayland环境. | |
bool | check_wayland_env () |
是否为wayland环境. | |
静态 Public 成员函数 | |
static DCompositeManager & | get () |
静态函数-获取系统环境判断的实例. | |
static void | detectOpenGLEarly () |
静态函数-检测opengl硬件环境. | |
static OpenGLInteropKind | interopKind () |
静态函数-获取OPenGL 交互类型. | |
static bool | runningOnVmwgfx () |
静态函数-是否运行在虚拟机中. | |
static bool | isPadSystem () |
静态函数-是否是平板设备. | |
static bool | isCanHwdec () |
静态函数-是否能被硬解. | |
static void | setCanHwdec (bool bCanHwdec) |
静态函数-设置是否能被硬解. | |
static bool | isMpvExists () |
静态函数-是否存在mpv运行环境. | |
static void | detectPciID () |
静态函数-检测PCI配置. | |
static bool | runningOnNvidia () |
静态函数-是否运行在Nvidia显卡环境. | |
Protected 属性 | |
QScopedPointer< DCompositeManagerPrivate > | d_ptr |
DCompositeManager类是负责对系统环境判断的类.
bool DCompositeManager::check_wayland_env | ( | ) |
是否为wayland环境.
bool DCompositeManager::composited | ( | ) | const |
获取窗口组合模式.
[in] | useCompositing | 窗口组合模式,true为OPenGL显示. |
bool DCompositeManager::first_check_wayland_env | ( | ) |
第一次检测使用此函数检测是否为wayland环境.
|
static |
静态函数-获取系统环境判断的实例.
PlayerOptionList DCompositeManager::getBestProfile | ( | ) |
获取最佳配置.
void DCompositeManager::getMpvConfig | ( | QMap< QString, QString > *& | aimMap | ) |
获取mpv控制参数.
[in,out] | aimMap | mpv控制参数. |
PlayerOptionList DCompositeManager::getProfile | ( | const QString & | name | ) |
获取配置信息.
[in] | name | 配置名. |
|
static |
静态函数-获取OPenGL 交互类型.
|
static |
静态函数-是否能被硬解.
|
static |
静态函数-是否存在mpv运行环境.
bool DCompositeManager::isOnlySoftDecode | ( | ) |
是否运行在Nvidia显卡环境.
|
static |
静态函数-是否是平板设备.
bool DCompositeManager::isSpecialControls | ( | ) |
是否为专用控制器.
bool DCompositeManager::isTestFlag | ( | ) | const |
是否测试运行.
bool DCompositeManager::isZXIntgraphics | ( | ) | const |
是否兆芯集显.
void DCompositeManager::overrideCompositeMode | ( | bool | useCompositing | ) |
设置窗口组合模式.
[in] | useCompositing | 窗口组合模式,true为OPenGL显示. |
Platform DCompositeManager::platform | ( | ) | const |
获取运行平台.
|
static |
静态函数-是否运行在Nvidia显卡环境.
|
static |
静态函数-是否运行在虚拟机中.
|
static |
静态函数-设置是否能被硬解.
[in] | bCanHwdec | 是否能被硬解,true表示为平台设备. |
void DCompositeManager::setTestFlag | ( | bool | flag | ) |
设置是否测试运行.
[in] | flag | 是否测试运行,true为测试运行. |