├── .gitattributes ├── .gitignore ├── .ide.vim ├── .makebg.sh ├── LICENSE ├── Makefile ├── README.md ├── dependency ├── CL │ ├── cl.h │ ├── cl_d3d10.h │ ├── cl_d3d11.h │ ├── cl_dx9_media_sharing.h │ ├── cl_egl.h │ ├── cl_ext.h │ ├── cl_gl.h │ ├── cl_gl_ext.h │ ├── cl_platform.h │ └── opencl.h ├── bx │ ├── .editorconfig │ ├── .gitattributes │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── makefile │ └── tools │ │ ├── bin │ │ ├── darwin │ │ │ └── genie │ │ ├── linux │ │ │ └── genie │ │ └── windows │ │ │ └── genie.exe │ │ └── bin2c │ │ └── bin2c.cpp └── stb │ └── stb_image.h ├── include └── cmft │ ├── allocator.h │ ├── clcontext.h │ ├── cubemapfilter.h │ ├── image.h │ └── print.h ├── res ├── cmft_cover.jpg └── cmft_performance_chart.png ├── runtime ├── .gitignore ├── cmft_lin.sh ├── cmft_osx.sh ├── cmft_win.bat └── okretnica.tga ├── scripts ├── cmft.lua ├── cmft_cli.lua ├── main.lua └── toolchain.lua └── src ├── cmft ├── allocator.cpp ├── clcontext.cpp ├── clcontext_internal.h ├── common │ ├── cl.h │ ├── commandline.h │ ├── config.h │ ├── fpumath.h │ ├── halffloat.h │ ├── handlealloc.h │ ├── os.h │ ├── platform.h │ ├── print.cpp │ ├── stb_image.cpp │ ├── stb_image.h │ ├── timer.h │ └── utils.h ├── cubemapfilter.cpp ├── cubemaputils.h ├── image.cpp ├── radiance.cl └── radiance.h ├── cmft_cli └── cmft_cli.h ├── cmft_tests ├── tests.h └── tokenize.h └── main.cpp /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | _build/ 2 | _projects/ 3 | .svn/ 4 | tags 5 | .DS_Store 6 | .vim 7 | make.log 8 | -------------------------------------------------------------------------------- /.ide.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/.ide.vim -------------------------------------------------------------------------------- /.makebg.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/.makebg.sh -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/README.md -------------------------------------------------------------------------------- /dependency/CL/cl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/CL/cl.h -------------------------------------------------------------------------------- /dependency/CL/cl_d3d10.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/CL/cl_d3d10.h -------------------------------------------------------------------------------- /dependency/CL/cl_d3d11.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/CL/cl_d3d11.h -------------------------------------------------------------------------------- /dependency/CL/cl_dx9_media_sharing.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/CL/cl_dx9_media_sharing.h -------------------------------------------------------------------------------- /dependency/CL/cl_egl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/CL/cl_egl.h -------------------------------------------------------------------------------- /dependency/CL/cl_ext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/CL/cl_ext.h -------------------------------------------------------------------------------- /dependency/CL/cl_gl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/CL/cl_gl.h -------------------------------------------------------------------------------- /dependency/CL/cl_gl_ext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/CL/cl_gl_ext.h -------------------------------------------------------------------------------- /dependency/CL/cl_platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/CL/cl_platform.h -------------------------------------------------------------------------------- /dependency/CL/opencl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/CL/opencl.h -------------------------------------------------------------------------------- /dependency/bx/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/bx/.editorconfig -------------------------------------------------------------------------------- /dependency/bx/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/bx/.gitattributes -------------------------------------------------------------------------------- /dependency/bx/.gitignore: -------------------------------------------------------------------------------- 1 | .git 2 | .build 3 | .debug 4 | .svn 5 | tags 6 | .DS_Store 7 | -------------------------------------------------------------------------------- /dependency/bx/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/bx/LICENSE -------------------------------------------------------------------------------- /dependency/bx/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/bx/README.md -------------------------------------------------------------------------------- /dependency/bx/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/bx/makefile -------------------------------------------------------------------------------- /dependency/bx/tools/bin/darwin/genie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/bx/tools/bin/darwin/genie -------------------------------------------------------------------------------- /dependency/bx/tools/bin/linux/genie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/bx/tools/bin/linux/genie -------------------------------------------------------------------------------- /dependency/bx/tools/bin/windows/genie.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/bx/tools/bin/windows/genie.exe -------------------------------------------------------------------------------- /dependency/bx/tools/bin2c/bin2c.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/bx/tools/bin2c/bin2c.cpp -------------------------------------------------------------------------------- /dependency/stb/stb_image.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/dependency/stb/stb_image.h -------------------------------------------------------------------------------- /include/cmft/allocator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/include/cmft/allocator.h -------------------------------------------------------------------------------- /include/cmft/clcontext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/include/cmft/clcontext.h -------------------------------------------------------------------------------- /include/cmft/cubemapfilter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/include/cmft/cubemapfilter.h -------------------------------------------------------------------------------- /include/cmft/image.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/include/cmft/image.h -------------------------------------------------------------------------------- /include/cmft/print.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/include/cmft/print.h -------------------------------------------------------------------------------- /res/cmft_cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/res/cmft_cover.jpg -------------------------------------------------------------------------------- /res/cmft_performance_chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/res/cmft_performance_chart.png -------------------------------------------------------------------------------- /runtime/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/runtime/.gitignore -------------------------------------------------------------------------------- /runtime/cmft_lin.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/runtime/cmft_lin.sh -------------------------------------------------------------------------------- /runtime/cmft_osx.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/runtime/cmft_osx.sh -------------------------------------------------------------------------------- /runtime/cmft_win.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/runtime/cmft_win.bat -------------------------------------------------------------------------------- /runtime/okretnica.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/runtime/okretnica.tga -------------------------------------------------------------------------------- /scripts/cmft.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/scripts/cmft.lua -------------------------------------------------------------------------------- /scripts/cmft_cli.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/scripts/cmft_cli.lua -------------------------------------------------------------------------------- /scripts/main.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/scripts/main.lua -------------------------------------------------------------------------------- /scripts/toolchain.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/scripts/toolchain.lua -------------------------------------------------------------------------------- /src/cmft/allocator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/allocator.cpp -------------------------------------------------------------------------------- /src/cmft/clcontext.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/clcontext.cpp -------------------------------------------------------------------------------- /src/cmft/clcontext_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/clcontext_internal.h -------------------------------------------------------------------------------- /src/cmft/common/cl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/cl.h -------------------------------------------------------------------------------- /src/cmft/common/commandline.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/commandline.h -------------------------------------------------------------------------------- /src/cmft/common/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/config.h -------------------------------------------------------------------------------- /src/cmft/common/fpumath.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/fpumath.h -------------------------------------------------------------------------------- /src/cmft/common/halffloat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/halffloat.h -------------------------------------------------------------------------------- /src/cmft/common/handlealloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/handlealloc.h -------------------------------------------------------------------------------- /src/cmft/common/os.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/os.h -------------------------------------------------------------------------------- /src/cmft/common/platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/platform.h -------------------------------------------------------------------------------- /src/cmft/common/print.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/print.cpp -------------------------------------------------------------------------------- /src/cmft/common/stb_image.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/stb_image.cpp -------------------------------------------------------------------------------- /src/cmft/common/stb_image.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/stb_image.h -------------------------------------------------------------------------------- /src/cmft/common/timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/timer.h -------------------------------------------------------------------------------- /src/cmft/common/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/common/utils.h -------------------------------------------------------------------------------- /src/cmft/cubemapfilter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/cubemapfilter.cpp -------------------------------------------------------------------------------- /src/cmft/cubemaputils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/cubemaputils.h -------------------------------------------------------------------------------- /src/cmft/image.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/image.cpp -------------------------------------------------------------------------------- /src/cmft/radiance.cl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/radiance.cl -------------------------------------------------------------------------------- /src/cmft/radiance.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft/radiance.h -------------------------------------------------------------------------------- /src/cmft_cli/cmft_cli.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft_cli/cmft_cli.h -------------------------------------------------------------------------------- /src/cmft_tests/tests.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft_tests/tests.h -------------------------------------------------------------------------------- /src/cmft_tests/tokenize.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/cmft_tests/tokenize.h -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dariomanesku/cmft/HEAD/src/main.cpp --------------------------------------------------------------------------------