Refactor qrenderdoc to provide stable, clean and deliberate API

* Note, this API is still in-flux and beta, so there may still be some
  more changes before it's 'stable', and even then it will still be
  subject to some amount of change.
* This API is then exposed to python via SWIG bindings and hides
  internals that don't need to be visible, and means the actual API is
  easier to work with.
* We also use this API to reduce inter-dependencies between different
  windows that need to interact with each other at a high level.
* The naming is python/standard RenderDoc TitleCase method names, not
  Qt style camelCase methods.

# Conflicts:
#	qrenderdoc/Windows/PipelineState/D3D11PipelineStateViewer.cpp
#	qrenderdoc/Windows/TextureViewer.cpp
This commit is contained in:
baldurk
2017-04-06 14:11:42 +01:00
parent 6969b5b677
commit 094c4164dc
61 changed files with 1973 additions and 1562 deletions
@@ -48,7 +48,7 @@ public:
FileNameRole,
};
RemoteFileModel(RenderManager &r, QObject *parent = NULL)
RemoteFileModel(IRenderManager &r, QObject *parent = NULL)
: Renderer(r), QAbstractItemModel(parent)
{
makeIconStates(fileIcon, Pixmaps::page_white_database());
@@ -361,7 +361,7 @@ public:
}
private:
RenderManager &Renderer;
IRenderManager &Renderer;
QIcon dirIcon[2];
QIcon exeIcon[2];
@@ -549,7 +549,7 @@ protected:
}
};
VirtualFileDialog::VirtualFileDialog(CaptureContext &ctx, QWidget *parent)
VirtualFileDialog::VirtualFileDialog(ICaptureContext &ctx, QWidget *parent)
: QDialog(parent), ui(new Ui::VirtualFileDialog)
{
ui->setupUi(this);