X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FTuto_Image_Cuda%2Fsrc%2Fcpp%2Fcore%2F04_OpenGL_pure%2Fprovider%2FMyDisplayableProvider.cpp;fp=WCudaMSE%2FTuto_Image_Cuda%2Fsrc%2Fcpp%2Fcore%2F04_OpenGL_pure%2Fprovider%2FMyDisplayableProvider.cpp;h=4e07e558fc4fc1366045ba810de55b22afea1b8f;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/04_OpenGL_pure/provider/MyDisplayableProvider.cpp b/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/04_OpenGL_pure/provider/MyDisplayableProvider.cpp new file mode 100755 index 0000000..4e07e55 --- /dev/null +++ b/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/04_OpenGL_pure/provider/MyDisplayableProvider.cpp @@ -0,0 +1,43 @@ +#include "MyDisplayableProvider.h" + + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Imported *| + \*-------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +/*--------------------------------------*\ + |* Private *| + \*-------------------------------------*/ + +/*----------------------------------------------------------------------*\ + |* Implementation *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +/*-----------------*\ + |* static *| + \*----------------*/ + +Displayable_A* MyDisplayableProvider::createGL() + { + return new MyDisplayable(); + } + +/*--------------------------------------*\ + |* Private *| + \*-------------------------------------*/ + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/