Browse Source

@todo++

pull/7/head
Vladimír Vondruš 14 years ago
parent
commit
0cb857b66f
  1. 4
      src/Extensions.h
  2. 1
      src/Framebuffer.h
  3. 9
      src/Magnum.h

4
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 {

1
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); }

9
src/Magnum.h

@ -28,6 +28,15 @@
#include <GLES3/gl3.h>
#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;

Loading…
Cancel
Save