Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Core 1.1 and 1.2 features and properties and introcude update mechanism #106

Merged
merged 44 commits into from
Jan 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
a2ce81e
Read and store Vulkan 1.1 and 1.2 core features and properties struct…
SaschaWillems Oct 13, 2020
2dd98de
Value casts
SaschaWillems Oct 14, 2020
42bce8f
Version bump
SaschaWillems Oct 22, 2020
85e8c54
Updated to Vulkan headers 1.2.158
SaschaWillems Oct 22, 2020
1b1c79a
Merge branch 'master' into vulkan_11_12_features_props
SaschaWillems Oct 22, 2020
aef9fce
Merge branch 'master' into vulkan_11_12_features_props
SaschaWillems Nov 28, 2020
9db051d
Display Core 1.1 and Core 1.2 features
SaschaWillems Dec 23, 2020
55476f7
Display Core 1.1 and Core 1.2 properties
SaschaWillems Dec 24, 2020
61f3d0e
Display Core 1.1 and Core 1.2 properties
SaschaWillems Dec 24, 2020
ab80b9f
Refactoring
SaschaWillems Dec 24, 2020
de66848
Added visualization mapping tables
SaschaWillems Dec 24, 2020
a09682b
Property visualization
SaschaWillems Dec 24, 2020
3786e3e
Fixed filter
SaschaWillems Dec 24, 2020
916d0a8
Property visualization
SaschaWillems Dec 24, 2020
4c735a6
Property visualization
SaschaWillems Dec 24, 2020
0582ef3
Property visualization
SaschaWillems Dec 24, 2020
267569e
Skip and replace certain keys
SaschaWillems Dec 24, 2020
7098807
Reworked core 1.0 properties
SaschaWillems Dec 24, 2020
be18931
Subgroup related flags display
SaschaWillems Dec 24, 2020
c81dd55
Removed device tab
SaschaWillems Dec 24, 2020
f48e41c
Android combo box selector entries
SaschaWillems Dec 24, 2020
432dfcf
Always clear features and properties models
SaschaWillems Dec 24, 2020
241524e
Moved extension features and properties into the feature and properti…
SaschaWillems Dec 24, 2020
697431a
Removed device layer display
SaschaWillems Dec 24, 2020
fcf9abb
Version bump to 3.0
SaschaWillems Dec 24, 2020
48b5401
Use vkEnumerateInstanceVersion (if available) to query Vulkan version…
SaschaWillems Dec 25, 2020
a3b84ea
Hide tabs if data is not available
SaschaWillems Dec 25, 2020
4db1170
Hide device selection if only one device is available (Android only)
SaschaWillems Dec 25, 2020
c12acfa
Updated logos and readme
SaschaWillems Dec 25, 2020
6ddec39
Code cleanup
SaschaWillems Dec 25, 2020
1238f61
Renamed Vulkan tab to Instance
SaschaWillems Dec 25, 2020
a13234e
Updated Vulkan library
SaschaWillems Dec 25, 2020
1a0fa09
Updated Visual Studio Build files (VS2019)
SaschaWillems Dec 25, 2020
caf317a
Merge remote-tracking branch 'origin/master' into vulkan_11_12_featur…
SaschaWillems Dec 25, 2020
aee7a24
Merge remote-tracking branch 'origin' into vulkan_11_12_features_props
SaschaWillems Dec 25, 2020
4b541db
Merge remote-tracking branch 'origin' into vulkan_11_12_features_props
SaschaWillems Dec 25, 2020
5f6172c
Code cleanup
SaschaWillems Dec 26, 2020
a6028a2
Submit dialog caption can be customized
SaschaWillems Dec 26, 2020
78b1ed3
Added update check and post functions to database class
SaschaWillems Dec 26, 2020
73c7063
Reworked report state handling
SaschaWillems Dec 26, 2020
ae28aa2
Supply additional details to report id fetch api on Android
SaschaWillems Dec 26, 2020
7ef9297
Minor fixed, and Android related changes
SaschaWillems Dec 27, 2020
1d045ea
Refactored database URl setup
SaschaWillems Dec 27, 2020
872023a
Only fetch Vulkan 1.1. core features and properties if implementation…
SaschaWillems Dec 31, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Vulkan Hardware Capability Viewer

![Vulkan Logo](./images/vulkanlogo.png)
<img src="images/vulkanlogo.png" width="480px">

Client application to display hardware implementation details for GPUs supporting the new [Vulkan(tm)](https://www.khronos.org/vulkan/) API by Khronos.
Client application to display hardware implementation details for GPUs supporting the [Vulkan](https://www.khronos.org/vulkan/) API by Khronos.

The hardware reports can be submitted to a public [online database](http://vulkan.gpuinfo.org/) that allows comparing different devices, browsing available features, extensions, formats, etc.

Expand All @@ -11,20 +11,17 @@ The hardware reports can be submitted to a public [online database](http://vulka
<!-- <img src="images/android_tv.png" height="320px"> -->

# Supported platforms
**A Vulkan compatible driver (or on Android image) is required**
**A Vulkan compatible device is required**
- Windows (x64)
- Linux (x64)
- Android (Including Android TV)
- Mac OS X

# API version
Due to the explicit nature of Vulkan, the API version of the Vulkan driver (or Android image) must fit the API level against which the application was build.

# Building

[![Build Status](https://travis-ci.org/SaschaWillems/VulkanCapsViewer.svg?branch=master)](https://travis-ci.org/SaschaWillems/VulkanCapsViewer)

The repository includes a project file for the [Qt Creator IDE](https://www.qt.io/ide/) that has been tested to work with Windows, Linux and Android. This is the preferred (and easiest) way of building the application if you want to build it yourself.
The repository includes a project file for the [Qt Creator IDE](https://www.qt.io/ide/) that has been tested to work with Windows, Linux and Android. This is the preferred (and easiest) way of building the application if you want to build it yourself. Using the [Qt Visual Studio Tools](https://marketplace.visualstudio.com/items?itemName=TheQtCompany.QtVisualStudioTools2019), it's also possible to use a current Visual Studio version.
Alternatively, you can simply run `qmake` followed by `make` in the source directory.

# Releases
Expand Down
Binary file modified Resources/vulkan32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Resources/vulkan48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<manifest package="de.saschawillems.vulkancapsviewer" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.21" android:versionCode="16" android:installLocation="auto">
<manifest package="de.saschawillems.vulkancapsviewer" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="3.0" android:versionCode="17" android:installLocation="auto">
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="Vulkan Caps Viewer" android:icon="@drawable/icon" android:banner="@drawable/banner">&gt;
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:label="vulkanCapsViewer" android:screenOrientation="unspecified" android:launchMode="singleTop">
<intent-filter>
Expand Down
Binary file modified images/vulkanlogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified libs/vulkan/vulkan-1.lib
Binary file not shown.
10 changes: 5 additions & 5 deletions submitDialog.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
*
* OpenGL hardware capability viewer and database
* Vulkan hardware capability viewer
*
* Submit report dialog
*
* Copyright (C) 2011-2015 by Sascha Willems (www.saschawillems.de)
* Copyright (C) 2016-2020 by Sascha Willems (www.saschawillems.de)
*
* This code is free software, you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand All @@ -30,14 +30,14 @@
#include <QSettings>
#include <QDialogButtonBox>

submitDialog::submitDialog(QString submitter)
submitDialog::submitDialog(QString submitter, QString caption)
{
QFormLayout *formLayout = new QFormLayout;

// QDialogBox doesn't appear modal on Android which makes it hard to see
#ifdef ANDROID
QLabel *labelCaption = new QLabel();
labelCaption->setText("Submit report to database");
labelCaption->setText(caption);
formLayout->addRow(labelCaption);
setStyleSheet("QDialog{ border: 2px solid black; border-style: solid; border-radius: 4px; }");
#endif
Expand All @@ -63,7 +63,7 @@ submitDialog::submitDialog(QString submitter)
formLayout->addWidget(buttonBox);

setLayout(formLayout);
setWindowTitle("Submit report");
setWindowTitle(caption);
}


Expand Down
4 changes: 2 additions & 2 deletions submitDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Submit report dialog
*
* Copyright (C) 2015 by Sascha Willems (www.saschawillems.de)
* Copyright (C) 2016-2020 by Sascha Willems (www.saschawillems.de)
*
* This code is free software, you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -34,7 +34,7 @@ class submitDialog : public QDialog
public:
std::string submitter;
std::string comment;
submitDialog(QString submitter);
submitDialog(QString submitter, QString caption = "Submit new report");
~submitDialog();
std::string getSubmitter();
std::string getComment();
Expand Down
Loading