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
+3 -3
View File
@@ -28,14 +28,14 @@
#include <stdlib.h>
#include <time.h>
TipsDialog::TipsDialog(CaptureContext &Ctx, QWidget *parent)
TipsDialog::TipsDialog(ICaptureContext &Ctx, QWidget *parent)
: m_Ctx(Ctx), QDialog(parent), ui(new Ui::TipsDialog), m_currentTip(0)
{
ui->setupUi(this);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
initialize();
if(m_Ctx.Config.Tips_HasSeenFirst)
if(m_Ctx.Config().Tips_HasSeenFirst)
{
showRandomTip();
}
@@ -44,7 +44,7 @@ TipsDialog::TipsDialog(CaptureContext &Ctx, QWidget *parent)
showTip(m_currentTip);
}
m_Ctx.Config.Tips_HasSeenFirst = true;
m_Ctx.Config().Tips_HasSeenFirst = true;
}
TipsDialog::~TipsDialog()