diff options
author | Daniel Teske <daniel.teske@theqtcompany.com> | 2015-04-10 16:46:30 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@theqtcompany.com> | 2015-04-14 15:24:13 +0000 |
commit | 184abbac6a40b36e18cef7afa198d38245ca1d16 (patch) | |
tree | acc59d7455ab8f12cd72c16cc8db6bd1ec1ed809 /src/plugins/android/androidconfigurations.h | |
parent | 513239bc61de8ca6c947d66e105196450474d8cd (diff) | |
download | qt-creator-184abbac6a40b36e18cef7afa198d38245ca1d16.tar.gz |
Android: For Emulators show if opengl is enabled or not
Change-Id: Ib20c1f425f91f34749bce837f14ef7a1e36273e3
Task-number: QTCREATORBUG-13615
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'src/plugins/android/androidconfigurations.h')
-rw-r--r-- | src/plugins/android/androidconfigurations.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/android/androidconfigurations.h b/src/plugins/android/androidconfigurations.h index f35cce897a..7ac2f929e5 100644 --- a/src/plugins/android/androidconfigurations.h +++ b/src/plugins/android/androidconfigurations.h @@ -164,6 +164,8 @@ public: static QLatin1String displayName(const ProjectExplorer::Abi &abi); QString getProductModel(const QString &device) const; + enum class OpenGl { Enabled, Disabled, Unknown }; + OpenGl getOpenGLEnabled(const QString &emulator) const; bool hasFinishedBooting(const QString &device) const; bool waitForBooted(const QString &serialNumber, const QFutureInterface<bool> &fi) const; bool isConnected(const QString &serialNumber) const; @@ -172,6 +174,7 @@ public: private: static CreateAvdInfo createAVDImpl(CreateAvdInfo info, Utils::FileName androidToolPath, Utils::Environment env); static QVector<AndroidDeviceInfo> androidVirtualDevicesImpl(const Utils::FileName &androidTool, const Utils::Environment &environment); + QString getDeviceProperty(const QString &device, const QString &property) const; Utils::FileName toolPath(const ProjectExplorer::Abi &abi, const QString &ndkToolChainVersion) const; Utils::FileName openJDKBinPath() const; |