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

(e2fef733be92e95ff28225196e14ffeb98d61a1f)

#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 262 of file qvkgen.cpp.

◆ funcSig()

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

Definition at line 240 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 312 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 482 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 409 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]

Definition at line 587 of file qvkgen.cpp.

References VkSpecParser::parse().

+ Here is the call graph for this function:

Variable Documentation

◆ preamble

class Preamble preamble

◆ VERSIONS

static 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")
}
#define QStringLiteral(str)

Definition at line 12 of file qvkgen.cpp.