From 0cb857b66f1d6f1f649423abf7978de55cd4602a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 3 Nov 2012 23:39:20 +0100 Subject: [PATCH] @todo++ --- src/Extensions.h | 4 ++++ src/Framebuffer.h | 1 + src/Magnum.h | 9 +++++++++ 3 files changed, 14 insertions(+) diff --git a/src/Extensions.h b/src/Extensions.h index 8f7438cf2..a99f9d569 100644 --- a/src/Extensions.h +++ b/src/Extensions.h @@ -32,6 +32,10 @@ the same public methods as Extension class (requiredVersion(), coreVersion() and string(), but these structs are better suited for compile-time decisions rather than Extension instances. See Context::isExtensionSupported() for example usage. + +@todo Manual indices for extensions, this has gaps +@todo Unhide ES2_compatibility, ES3_compatibility on ES +@todo Add ES and GL 4.3 extensions */ namespace Extensions { diff --git a/src/Framebuffer.h b/src/Framebuffer.h index 8cf84490d..3edfac3fa 100644 --- a/src/Framebuffer.h +++ b/src/Framebuffer.h @@ -195,6 +195,7 @@ class MAGNUM_EXPORT Framebuffer { * * @see @fn_gl{ClearDepth} * @requires_gl41 Extension @extension{ARB,ES2_compatibility} + * @todo Call double version if the extension is not available */ inline static void setClearDepth(GLfloat depth) { glClearDepthf(depth); } diff --git a/src/Magnum.h b/src/Magnum.h index 63bcc00c7..9300082ee 100644 --- a/src/Magnum.h +++ b/src/Magnum.h @@ -28,6 +28,15 @@ #include #endif +/** + * @todo Link to libGL / libGLES based on which windowcontext is used in app + * and whether GLES is enabled or not -- this allows us to use glx with + * ES on nvidia/intel. Using libGL and EGL on nvidia is whole another + * problem, though. How about windows? It won't allow unlinked DLLs, so + * probably always link Magnum itself to GL library there. How about unit + * tests not needing any of GL? -- different testing library? + */ + namespace Corrade { namespace Utility { class Debug;