mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 03:28:48 +02:00
added comments
This commit is contained in:
parent
a1a3eccad9
commit
803fe1e178
2 changed files with 4 additions and 3 deletions
|
@ -113,7 +113,6 @@ gpu::PipelinePointer Basic2DWindowOpenGLDisplayPlugin::getCompositeScenePipeline
|
||||||
#if defined(Q_OS_ANDROID)
|
#if defined(Q_OS_ANDROID)
|
||||||
return _linearToSRGBPipeline;
|
return _linearToSRGBPipeline;
|
||||||
#endif
|
#endif
|
||||||
//return _drawTexturePipeline;
|
|
||||||
return _SRGBToLinearPipeline;
|
return _SRGBToLinearPipeline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -633,6 +633,7 @@ void OpenGLDisplayPlugin::compositePointer() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Overridden by Basic2DWindowDisplayPlugin and OculusDisplayPlugin
|
||||||
gpu::PipelinePointer OpenGLDisplayPlugin::getCompositeScenePipeline() {
|
gpu::PipelinePointer OpenGLDisplayPlugin::getCompositeScenePipeline() {
|
||||||
return _drawTexturePipeline;
|
return _drawTexturePipeline;
|
||||||
}
|
}
|
||||||
|
@ -917,8 +918,9 @@ void OpenGLDisplayPlugin::render(std::function<void(gpu::Batch& batch)> f) {
|
||||||
OpenGLDisplayPlugin::~OpenGLDisplayPlugin() {
|
OpenGLDisplayPlugin::~OpenGLDisplayPlugin() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: added this to allow desktop composite framebuffer to be RGBA while mobile is SRGBA.
|
// Added this to allow desktop composite framebuffer to be RGBA while mobile is SRGBA
|
||||||
// This is a workaround
|
// Overridden by Basic2DWindowDisplayPlugin
|
||||||
|
// FIXME: Eventually it would be ideal to have both framebuffers be of the same type
|
||||||
gpu::Element OpenGLDisplayPlugin::getCompositeFBColorSpace() {
|
gpu::Element OpenGLDisplayPlugin::getCompositeFBColorSpace() {
|
||||||
return gpu::Element::COLOR_RGBA_32;
|
return gpu::Element::COLOR_RGBA_32;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue