exporter: add ability to cancel exports (including a confirm to cancel if the

user closes the dialog mid-export)
This commit is contained in:
itsmattkc
2020-03-03 02:37:18 +11:00
parent 02909c6ba9
commit 0f5cd40c45
7 changed files with 112 additions and 30 deletions
@@ -21,6 +21,8 @@ OpenGLProxy::OpenGLProxy(QObject *parent) :
OpenGLProxy::~OpenGLProxy()
{
Close();
surface_.destroy();
}
@@ -178,6 +180,7 @@ void OpenGLProxy::Close()
buffer_.Destroy();
functions_ = nullptr;
delete ctx_;
ctx_ = nullptr;
}
void OpenGLProxy::RunNodeAccelerated(const Node *node, const TimeRange &range, const NodeValueDatabase &input_params, NodeValueTable *output_params)