Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qvkgen.cpp File Reference

(8aab205d6d2f4082789e74d65585aea754b29e73)

#include <QtCore/qcoreapplication.h>
#include <QtCore/qfile.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qlist.h>
#include <QtCore/qmap.h>
#include <QtCore/qxmlstream.h>
Include dependency graph for qvkgen.cpp:

Go to the source code of this file.

Classes

class  VkSpecParser
struct  VkSpecParser::TypedName
struct  VkSpecParser::Command
class  Preamble

Functions

QString funcSig (const VkSpecParser::Command &c, const char *className=nullptr)
QString funcCall (const VkSpecParser::Command &c, int idx)
bool genVulkanFunctionsH (const QList< VkSpecParser::Command > &commands, const QMap< QString, QStringList > &versionCommandMapping, const QString &licHeaderFn, const QString &outputBase)
bool genVulkanFunctionsPH (const QList< VkSpecParser::Command > &commands, const QMap< QString, QStringList > &versionCommandMapping, const QString &licHeaderFn, const QString &outputBase)
bool genVulkanFunctionsPC (const QList< VkSpecParser::Command > &commands, const QMap< QString, QStringList > &versionCommandMapping, const QString &licHeaderFn, const QString &outputBase)
int main (int argc, char **argv)
 [48]

Variables

static const QStringList VERSIONS
class Preamble preamble

Function Documentation

◆ funcCall()

QString funcCall ( const VkSpecParser::Command & c,
int idx )

Definition at line 274 of file qvkgen.cpp.

◆ funcSig()

QString funcSig ( const VkSpecParser::Command & c,
const char * className = nullptr )

Definition at line 252 of file qvkgen.cpp.

◆ genVulkanFunctionsH()

bool genVulkanFunctionsH ( const QList< VkSpecParser::Command > & commands,
const QMap< QString, QStringList > & versionCommandMapping,
const QString & licHeaderFn,
const QString & outputBase )

Definition at line 324 of file qvkgen.cpp.

◆ genVulkanFunctionsPC()

bool genVulkanFunctionsPC ( const QList< VkSpecParser::Command > & commands,
const QMap< QString, QStringList > & versionCommandMapping,
const QString & licHeaderFn,
const QString & outputBase )

Definition at line 494 of file qvkgen.cpp.

◆ genVulkanFunctionsPH()

bool genVulkanFunctionsPH ( const QList< VkSpecParser::Command > & commands,
const QMap< QString, QStringList > & versionCommandMapping,
const QString & licHeaderFn,
const QString & outputBase )

Definition at line 421 of file qvkgen.cpp.

◆ main()

int main ( int argc,
char ** argv )

[48]

[dynamic_tooltip]

[5]

[2]

[0]

[6]

[48]

[48]

[6]

[0]

[0]

[1]

[1]

[2]

[2]

[3]

[3]

[0]

[0]

[1]

[1]

[0]

[0]

[0]

[0]

[0]

[0]

Definition at line 599 of file qvkgen.cpp.

References VkSpecParser::parse().

Here is the call graph for this function:

Variable Documentation

◆ preamble

class Preamble preamble

◆ VERSIONS

const QStringList VERSIONS
static
Initial value:
= {
QStringLiteral("VK_VERSION_1_0"),
QStringLiteral("VK_VERSION_1_1"),
QStringLiteral("VK_VERSION_1_2"),
QStringLiteral("VK_VERSION_1_3"),
QStringLiteral("VK_VERSION_1_4")
}
#define QStringLiteral(str)
Definition qstring.h:1826

Definition at line 12 of file qvkgen.cpp.