Commit fbaec57f authored by Jan Möbius's avatar Jan Möbius
Browse files

OpenGL capability checks for Postprocessors

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17545 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 35fabef6
......@@ -72,6 +72,9 @@ QString PostProcessorDepthImagePlugin::postProcessorName() {
return QString("Show Depth Image");
}
QString PostProcessorDepthImagePlugin::checkOpenGL() {
return QString("");
}
void PostProcessorDepthImagePlugin::postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO) {
......
......@@ -76,6 +76,8 @@ class PostProcessorDepthImagePlugin : public QObject, BaseInterface, PostProcess
QString postProcessorName();
QString checkOpenGL();
private:
/// shader
......
......@@ -72,6 +72,9 @@ QString PostProcessorGrayscalePlugin::postProcessorName() {
return QString("Grayscale");
}
QString PostProcessorGrayscalePlugin::checkOpenGL() {
return QString("");
}
void PostProcessorGrayscalePlugin::postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO) {
......
......@@ -77,6 +77,8 @@ class PostProcessorGrayscalePlugin : public QObject, BaseInterface, PostProcesso
QString postProcessorName();
QString checkOpenGL();
private:
/// shader
......
......@@ -78,6 +78,10 @@ QAction* PostProcessorPhilipsStereoPlugin::optionsAction() {
return action;
}
QString PostProcessorPhilipsStereoPlugin::checkOpenGL() {
return QString("");
}
//-----------------------------------------------------------------------------
void PostProcessorPhilipsStereoPlugin::slotShowOptionsMenu() {
......
......@@ -83,9 +83,10 @@ class PostProcessorPhilipsStereoPlugin : public QObject, BaseInterface, PostProc
QAction* optionsAction();
void postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO);
void slotShowOptionsMenu();
QString checkOpenGL();
private:
GLSL::PtrProgram pProgram_;
......
......@@ -72,6 +72,9 @@ QString PostProcessorSobelPlugin::postProcessorName() {
return QString("Sobel");
}
QString PostProcessorSobelPlugin::checkOpenGL() {
return QString("");
}
void PostProcessorSobelPlugin::postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO) {
......
......@@ -77,6 +77,8 @@ class PostProcessorSobelPlugin : public QObject, BaseInterface, PostProcessorInt
QString postProcessorName();
QString checkOpenGL();
private:
/// shader
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment