mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 04:12:46 +02:00
merging with master
This commit is contained in:
parent
5f062bbcf5
commit
837b321004
2 changed files with 1 additions and 2 deletions
|
@ -25,7 +25,7 @@ RenderEventHandler::RenderEventHandler(CheckCall checkCall, RenderCall renderCal
|
||||||
// Transfer to a new thread
|
// Transfer to a new thread
|
||||||
moveToNewNamedThread(this, "RenderThread", [this](QThread* renderThread) {
|
moveToNewNamedThread(this, "RenderThread", [this](QThread* renderThread) {
|
||||||
hifi::qt::addBlockingForbiddenThread("Render", renderThread);
|
hifi::qt::addBlockingForbiddenThread("Render", renderThread);
|
||||||
_renderContext->moveToThreadWithContext(renderThread);
|
//_renderContext->moveToThreadWithContext(renderThread);
|
||||||
_lastTimeRendered.start();
|
_lastTimeRendered.start();
|
||||||
}, std::bind(&RenderEventHandler::initialize, this), QThread::HighestPriority);
|
}, std::bind(&RenderEventHandler::initialize, this), QThread::HighestPriority);
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,7 +78,6 @@ using AmbientOcclusionFramebufferPointer = std::shared_ptr<AmbientOcclusionFrame
|
||||||
|
|
||||||
class AmbientOcclusionEffectConfig : public render::GPUJobConfig::Persistent {
|
class AmbientOcclusionEffectConfig : public render::GPUJobConfig::Persistent {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PROPERTY(bool enabled MEMBER enabled NOTIFY dirty)
|
|
||||||
Q_PROPERTY(bool horizonBased MEMBER horizonBased NOTIFY dirty)
|
Q_PROPERTY(bool horizonBased MEMBER horizonBased NOTIFY dirty)
|
||||||
Q_PROPERTY(bool ditheringEnabled MEMBER ditheringEnabled NOTIFY dirty)
|
Q_PROPERTY(bool ditheringEnabled MEMBER ditheringEnabled NOTIFY dirty)
|
||||||
Q_PROPERTY(bool borderingEnabled MEMBER borderingEnabled NOTIFY dirty)
|
Q_PROPERTY(bool borderingEnabled MEMBER borderingEnabled NOTIFY dirty)
|
||||||
|
|
Loading…
Reference in a new issue