Browse Source

Platform: make all useful Application APIs public, not protected.

pull/297/head
Vladimír Vondruš 8 years ago
parent
commit
9a11b7d23a
  1. 9
      doc/changelog.dox
  2. 1
      src/Magnum/Platform/AndroidApplication.h
  3. 1
      src/Magnum/Platform/GlfwApplication.h
  4. 1
      src/Magnum/Platform/GlutApplication.h
  5. 1
      src/Magnum/Platform/Sdl2Application.h

9
doc/changelog.dox

@ -69,6 +69,15 @@ r<Player<T, K>>>)
code that's not VAO-aware working on core GL profiles (which don't allow
default VAOs being used for drawing)
@subsubsection changelog-latest-changes-platform Platform libraries
- @ref Platform::Sdl2Application::swapBuffers(), "Platform::*Application::swapBuffers()"
@ref Platform::Sdl2Application::swapInterval() "swapInterval() const" const,
@ref Platform::Sdl2Application::setSwapInterval() "setSwapInterval()",
@ref Platform::Sdl2Application::setMinimalLoopPeriod() "setMinimalLoopPeriod()" and
@ref Platform::Sdl2Application::redraw() "redraw()" were changed from
protected to public to allow calling them from outside
@subsubsection changelog-latest-changes-texturetools TextureTools library
- Further performance and output quality improvements for

1
src/Magnum/Platform/AndroidApplication.h

@ -309,7 +309,6 @@ class AndroidApplication {
*/
Vector2i windowSize() const;
protected:
/**
* @brief Swap buffers
*

1
src/Magnum/Platform/GlfwApplication.h

@ -394,7 +394,6 @@ class GlfwApplication {
*/
Vector2 dpiScaling(const Configuration& configuration) const;
protected:
/**
* @brief Swap buffers
*

1
src/Magnum/Platform/GlutApplication.h

@ -273,6 +273,7 @@ class CORRADE_DEPRECATED("scheduled for removal, consider switching to Sdl2Appli
/** @{ @name Screen handling */
public:
/**
* @brief Swap buffers
*

1
src/Magnum/Platform/Sdl2Application.h

@ -659,7 +659,6 @@ class Sdl2Application {
void setContainerCssClass(const std::string& cssClass);
#endif
protected:
/**
* @brief Swap buffers
*

Loading…
Cancel
Save