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() { ...@@ -72,6 +72,9 @@ QString PostProcessorDepthImagePlugin::postProcessorName() {
return QString("Show Depth Image"); return QString("Show Depth Image");
} }
QString PostProcessorDepthImagePlugin::checkOpenGL() {
return QString("");
}
void PostProcessorDepthImagePlugin::postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO) { void PostProcessorDepthImagePlugin::postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO) {
......
...@@ -76,6 +76,8 @@ class PostProcessorDepthImagePlugin : public QObject, BaseInterface, PostProcess ...@@ -76,6 +76,8 @@ class PostProcessorDepthImagePlugin : public QObject, BaseInterface, PostProcess
QString postProcessorName(); QString postProcessorName();
QString checkOpenGL();
private: private:
/// shader /// shader
......
...@@ -72,6 +72,9 @@ QString PostProcessorGrayscalePlugin::postProcessorName() { ...@@ -72,6 +72,9 @@ QString PostProcessorGrayscalePlugin::postProcessorName() {
return QString("Grayscale"); return QString("Grayscale");
} }
QString PostProcessorGrayscalePlugin::checkOpenGL() {
return QString("");
}
void PostProcessorGrayscalePlugin::postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO) { void PostProcessorGrayscalePlugin::postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO) {
......
...@@ -77,6 +77,8 @@ class PostProcessorGrayscalePlugin : public QObject, BaseInterface, PostProcesso ...@@ -77,6 +77,8 @@ class PostProcessorGrayscalePlugin : public QObject, BaseInterface, PostProcesso
QString postProcessorName(); QString postProcessorName();
QString checkOpenGL();
private: private:
/// shader /// shader
......
...@@ -78,6 +78,10 @@ QAction* PostProcessorPhilipsStereoPlugin::optionsAction() { ...@@ -78,6 +78,10 @@ QAction* PostProcessorPhilipsStereoPlugin::optionsAction() {
return action; return action;
} }
QString PostProcessorPhilipsStereoPlugin::checkOpenGL() {
return QString("");
}
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void PostProcessorPhilipsStereoPlugin::slotShowOptionsMenu() { void PostProcessorPhilipsStereoPlugin::slotShowOptionsMenu() {
......
...@@ -83,9 +83,10 @@ class PostProcessorPhilipsStereoPlugin : public QObject, BaseInterface, PostProc ...@@ -83,9 +83,10 @@ class PostProcessorPhilipsStereoPlugin : public QObject, BaseInterface, PostProc
QAction* optionsAction(); QAction* optionsAction();
void postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO); void postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO);
void slotShowOptionsMenu(); void slotShowOptionsMenu();
QString checkOpenGL();
private: private:
GLSL::PtrProgram pProgram_; GLSL::PtrProgram pProgram_;
......
...@@ -72,6 +72,9 @@ QString PostProcessorSobelPlugin::postProcessorName() { ...@@ -72,6 +72,9 @@ QString PostProcessorSobelPlugin::postProcessorName() {
return QString("Sobel"); return QString("Sobel");
} }
QString PostProcessorSobelPlugin::checkOpenGL() {
return QString("");
}
void PostProcessorSobelPlugin::postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO) { void PostProcessorSobelPlugin::postProcess(ACG::GLState* _glstate, const PostProcessorInput& _input, GLuint _targetFBO) {
......
...@@ -77,6 +77,8 @@ class PostProcessorSobelPlugin : public QObject, BaseInterface, PostProcessorInt ...@@ -77,6 +77,8 @@ class PostProcessorSobelPlugin : public QObject, BaseInterface, PostProcessorInt
QString postProcessorName(); QString postProcessorName();
QString checkOpenGL();
private: private:
/// shader /// shader
......
Supports Markdown
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