Demos (master): wgl/rtotex: Add a WGL_ARB_pbuffer / WGL_ARB_render_texture example.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Wed Feb 8 17:31:36 UTC 2012
Module: Demos
Branch: master
Commit: f8ebb1cf3d6c6723d48ed8b7acd9a9ba159f0e40
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=f8ebb1cf3d6c6723d48ed8b7acd9a9ba159f0e40
Author: José Fonseca <jfonseca at vmware.com>
Date: Wed Feb 8 17:31:08 2012 +0000
wgl/rtotex: Add a WGL_ARB_pbuffer / WGL_ARB_render_texture example.
>From http://www.paulsprojects.net/opengl/rtotex/rtotex.html
Mesa doesn't support WGL_ARB_render_texture yet, but it's difficult to
find a pbuffer example that doesn't use WGL_ARB_render_texture.
---
src/wgl/CMakeLists.txt | 2 +
src/wgl/rtotex/CMakeLists.txt | 34 ++
src/wgl/rtotex/LICENSE.txt | 10 +
src/wgl/rtotex/README.txt | 55 ++
src/wgl/rtotex/decal.bmp | Bin 0 -> 2102 bytes
src/wgl/rtotex/fps_counter.cpp | 29 ++
src/wgl/rtotex/fps_counter.h | 34 ++
src/wgl/rtotex/image.cpp | 980 ++++++++++++++++++++++++++++++++++++
src/wgl/rtotex/image.h | 60 +++
src/wgl/rtotex/interactor.cpp | 118 +++++
src/wgl/rtotex/interactor.h | 49 ++
src/wgl/rtotex/log.cpp | 101 ++++
src/wgl/rtotex/log.h | 37 ++
src/wgl/rtotex/main.cpp | 446 ++++++++++++++++
src/wgl/rtotex/main.h | 28 +
src/wgl/rtotex/maths/color.cpp | 58 +++
src/wgl/rtotex/maths/color.h | 130 +++++
src/wgl/rtotex/maths/maths.h | 30 ++
src/wgl/rtotex/maths/matrix4x4.cpp | 772 ++++++++++++++++++++++++++++
src/wgl/rtotex/maths/matrix4x4.h | 132 +++++
src/wgl/rtotex/maths/plane.cpp | 85 ++++
src/wgl/rtotex/maths/plane.h | 68 +++
src/wgl/rtotex/maths/vector2d.cpp | 51 ++
src/wgl/rtotex/maths/vector2d.h | 115 +++++
src/wgl/rtotex/maths/vector3d.cpp | 158 ++++++
src/wgl/rtotex/maths/vector3d.h | 160 ++++++
src/wgl/rtotex/maths/vector4d.cpp | 94 ++++
src/wgl/rtotex/maths/vector4d.h | 137 +++++
src/wgl/rtotex/pbuffer.cpp | 149 ++++++
src/wgl/rtotex/pbuffer.h | 34 ++
src/wgl/rtotex/timer.cpp | 42 ++
src/wgl/rtotex/timer.h | 36 ++
src/wgl/rtotex/window.cpp | 619 +++++++++++++++++++++++
src/wgl/rtotex/window.h | 122 +++++
34 files changed, 4975 insertions(+), 0 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/demos/diff/?id=f8ebb1cf3d6c6723d48ed8b7acd9a9ba159f0e40
More information about the mesa-commit
mailing list