mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Add static resources collection with pre-constructed QPixmaps & QIcons
* Apart from making the code cleaner when accessing them, creating these from strings can be slow if you do it often enough (e.g. once per resources for action/action_hover in pipeline state view).
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include <QStandardPaths>
|
||||
#include "Code/CaptureContext.h"
|
||||
#include "Code/QRDUtils.h"
|
||||
#include "Code/Resources.h"
|
||||
#include "Windows/MainWindow.h"
|
||||
|
||||
void sharedLogOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg)
|
||||
@@ -141,6 +142,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
config.SetupFormatting();
|
||||
|
||||
Resources::Initialise();
|
||||
|
||||
GUIInvoke::init();
|
||||
|
||||
CaptureContext ctx(filename, remoteHost, remoteIdent, temp, config);
|
||||
|
||||
Reference in New Issue
Block a user