Browse Source

Added TODOs.

pull/7/head
Vladimír Vondruš 13 years ago
parent
commit
a7f7e76da8
  1. 4
      src/AbstractImage.h
  2. 1
      src/AbstractTexture.h
  3. 2
      src/Context.h
  4. 1
      src/Physics/AxisAlignedBox.h
  5. 1
      src/Physics/Box.h
  6. 1
      src/Physics/Capsule.h
  7. 1
      src/Physics/Sphere.h
  8. 1
      src/Query.h

4
src/AbstractImage.h

@ -32,6 +32,10 @@ namespace Magnum {
See Image, ImageWrapper, BufferImage, Trade::ImageData documentation for See Image, ImageWrapper, BufferImage, Trade::ImageData documentation for
more information. more information.
@todo Where to put glClampColor() and glPixelStore() encapsulation? It is
needed in AbstractFramebuffer::read(), Texture::setImage() etc (i.e. all
functions operating with images). It also possibly needs to be "stackable" to
easily revert the state back.
*/ */
class MAGNUM_EXPORT AbstractImage { class MAGNUM_EXPORT AbstractImage {
AbstractImage(const AbstractImage& other) = delete; AbstractImage(const AbstractImage& other) = delete;

1
src/AbstractTexture.h

@ -63,6 +63,7 @@ performed by OpenGL in order to preserve the data. If running on OpenGL ES or
extension @extension{ARB,invalidate_subdata} is not available, these functions extension @extension{ARB,invalidate_subdata} is not available, these functions
do nothing. do nothing.
@todo all texture [level] parameters, global texture parameters
@todo Add glPixelStore encapsulation @todo Add glPixelStore encapsulation
@todo Texture copying @todo Texture copying
@todo Move constructor/assignment - how to avoid creation of empty texture and @todo Move constructor/assignment - how to avoid creation of empty texture and

2
src/Context.h

@ -127,6 +127,8 @@ Provides access to version and extension information. Instance available
through Context::current() is automatically created during construction of through Context::current() is automatically created during construction of
*Application classes in Platform namespace so you can safely assume that the *Application classes in Platform namespace so you can safely assume that the
instance is available during whole lifetime of *Application object. instance is available during whole lifetime of *Application object.
@todo @extension{ATI,meminfo}, @extension{NVX,gpu_memory_info}, GPU temperature?
(here or where?)
*/ */
class MAGNUM_EXPORT Context { class MAGNUM_EXPORT Context {
Context(const Context&) = delete; Context(const Context&) = delete;

1
src/Physics/AxisAlignedBox.h

@ -31,6 +31,7 @@ namespace Magnum { namespace Physics {
@brief Axis-aligned box @brief Axis-aligned box
@see AxisAlignedBox2D, AxisAlignedBox3D @see AxisAlignedBox2D, AxisAlignedBox3D
@todo Assert for rotation
*/ */
template<std::uint8_t dimensions> class MAGNUM_PHYSICS_EXPORT AxisAlignedBox: public AbstractShape<dimensions> { template<std::uint8_t dimensions> class MAGNUM_PHYSICS_EXPORT AxisAlignedBox: public AbstractShape<dimensions> {
public: public:

1
src/Physics/Box.h

@ -32,6 +32,7 @@ namespace Magnum { namespace Physics {
@todo Use quat + position + size instead? @todo Use quat + position + size instead?
@see Box2D, Box3D @see Box2D, Box3D
@todo Assert for skew
*/ */
template<std::uint8_t dimensions> class MAGNUM_PHYSICS_EXPORT Box: public AbstractShape<dimensions> { template<std::uint8_t dimensions> class MAGNUM_PHYSICS_EXPORT Box: public AbstractShape<dimensions> {
public: public:

1
src/Physics/Capsule.h

@ -33,6 +33,7 @@ namespace Magnum { namespace Physics {
Unlike other elements the capsule doesn't support asymmetric scaling. When Unlike other elements the capsule doesn't support asymmetric scaling. When
applying transformation, the scale factor is averaged from all axes. applying transformation, the scale factor is averaged from all axes.
@see Capsule2D, Capsule3D @see Capsule2D, Capsule3D
@todo Assert for asymmetric scaling
*/ */
template<std::uint8_t dimensions> class MAGNUM_PHYSICS_EXPORT Capsule: public AbstractShape<dimensions> { template<std::uint8_t dimensions> class MAGNUM_PHYSICS_EXPORT Capsule: public AbstractShape<dimensions> {
public: public:

1
src/Physics/Sphere.h

@ -33,6 +33,7 @@ namespace Magnum { namespace Physics {
Unlike other elements the sphere doesn't support asymmetric scaling. When Unlike other elements the sphere doesn't support asymmetric scaling. When
applying transformation, the scale factor is averaged from all axes. applying transformation, the scale factor is averaged from all axes.
@see Sphere2D, Sphere3D @see Sphere2D, Sphere3D
@todo Assert for asymmetric scaling
*/ */
template<std::uint8_t dimensions> class MAGNUM_PHYSICS_EXPORT Sphere: public AbstractShape<dimensions> { template<std::uint8_t dimensions> class MAGNUM_PHYSICS_EXPORT Sphere: public AbstractShape<dimensions> {
public: public:

1
src/Query.h

@ -355,6 +355,7 @@ GLuint timeElapsed2 = q3.result<GLuint>()-tmp;
Using this query results in fewer OpenGL calls when doing more measures. Using this query results in fewer OpenGL calls when doing more measures.
@requires_gl33 %Extension @extension{ARB,timer_query} @requires_gl33 %Extension @extension{ARB,timer_query}
@requires_gl Timer query is not available in OpenGL ES. @requires_gl Timer query is not available in OpenGL ES.
@todo timestamp with glGet + example usage
*/ */
class TimeQuery: public AbstractQuery { class TimeQuery: public AbstractQuery {
public: public:

Loading…
Cancel
Save