|
| X11EGLWindow (X11EGLSupport *glsupport) |
|
virtual | ~X11EGLWindow () |
|
virtual void | _initialize (TextureGpuManager *textureManager) |
|
void | _setPrimary () |
| Indicates that this is the primary window. More...
|
|
virtual void | _setVisible (bool visible) |
| Internal method to notify the window it has been obscured or minimized. More...
|
|
void | copyContentsToMemory (const Box &src, const PixelBox &dst, FrameBuffer buffer) |
|
void | create (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams) |
|
virtual void | destroy () |
| RenderWindow::destroy More...
|
|
void | destroy () |
|
bool | getBorderless () const |
|
virtual void | getCustomAttribute (const String &name, void *pData) |
|
virtual void | getCustomAttribute (IdString name, void *pData) |
|
TextureGpu * | getDepthBuffer () const |
|
uint32 | getFrequencyDenominator () const |
|
uint32 | getFrequencyNumerator () const |
|
uint32 | getHeight () const |
|
virtual void | getMetrics (uint32 &width, uint32 &height, int32 &left, int32 &top) const |
| Overloaded version of getMetrics from RenderTarget, including extra details specific to windowing systems. More...
|
|
PixelFormatGpu | getPixelFormat () const |
|
uint32 | getRequestedHeightPt () const |
|
uint32 | getRequestedWidthPt () const |
|
SampleDescription | getSampleDescription () const |
|
TextureGpu * | getStencilBuffer () const |
|
TextureGpu * | getTexture () const |
| WARNING: Attempting to change the TextureGpu (e.g. More...
|
|
const String & | getTitle () const |
|
virtual float | getViewPointToPixelScale () const |
| Many windowing systems that support HiDPI displays use special points to specify size of the windows and controls, so that windows and controls with hardcoded sizes does not become too small on HiDPI displays. More...
|
|
bool | getVSync () const |
|
uint32 | getVSyncInterval () const |
|
uint32 | getWidth () const |
|
virtual bool | isClosed () const |
| RenderWindow::isClosed More...
|
|
bool | isClosed () const |
| Indicates whether the window has been closed by the user. More...
|
|
bool | isFocused () const |
|
bool | isFullscreen () const |
| Returns true if we are currently in fullscreen mode. More...
|
|
bool | isHidden () const |
| RenderWindow::isHidden More...
|
|
bool | isMultisample () const |
|
bool | isPrimary () const |
|
bool | isVisible () const |
| RenderWindow::isVisible More...
|
|
bool | isVisible () const |
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More...
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More...
|
|
virtual void | reposition (int32 left, int32 top) |
|
void | requestFullscreenSwitch (bool goFullscreen, bool borderless, uint32 monitorIdx, uint32 width, uint32 height, uint32 frequencyNumerator, uint32 frequencyDenominator) |
| Requests to toggle between fullscreen and windowed mode. More...
|
|
void | requestResolution (uint32 width, uint32 height) |
| RenderWindow::resize More...
|
|
bool | requiresTextureFlipping () const |
|
bool | requiresTextureFlipping () const |
|
virtual void | setBorderless (bool borderless) |
|
virtual void | setFocused (bool focused) |
|
virtual void | setFsaa (const String &fsaa) |
| Set the FSAA mode to be used if hardware support it. More...
|
|
virtual void | setFullscreen (bool fullscreen, uint width, uint height) |
|
void | setHidden (bool hidden) |
| RenderWindow::setHidden More...
|
|
virtual void | setTitle (const String &title) |
|
void | setVisible (bool visible) |
|
virtual void | setVSync (bool vSync, uint32 vSyncInterval) |
| Turns VSync on/off. More...
|
|
void | swapBuffers () |
| RenderWindow::swapBuffers More...
|
|
void | swapBuffers () |
|
bool | wantsToGoFullscreen () const |
| Returns true if we are in windowed mode right now, but want to go fullscreen. More...
|
|
bool | wantsToGoWindowed () const |
| Returns true if we are in fullscreen mode right now, but want to go windowed mode. More...
|
|
virtual float Ogre::Window::getViewPointToPixelScale |
( |
| ) |
const |
|
inlinevirtualinherited |
Many windowing systems that support HiDPI displays use special points to specify size of the windows and controls, so that windows and controls with hardcoded sizes does not become too small on HiDPI displays.
Such points have constant density ~ 100 points per inch (probably 96 on Windows and 72 on Mac), that is independent of pixel density of real display, and are used through the all windowing system.
Sometimes, such view points are choosen bigger for output devices that are viewed from larger distances, like 30" TV comparing to 30" monitor, therefore maintaining constant points angular density rather than constant linear density.
In any case, all such windowing system provides the way to convert such view points to pixels, be it DisplayProperties::LogicalDpi on WinRT or backingScaleFactor on MacOSX. We use pixels consistently through the Ogre, but window/view management functions takes view points for convenience, as does the rest of windowing system. Such parameters are named using xxxxPt pattern, and should not be mixed with pixels without being converted using getViewPointToPixelScale() function.
Sometimes such scale factor can change on-the-fly, for example if window is dragged to monitor with different DPI. In such situation, window size in view points is usually preserved by windowing system, and Ogre should adjust pixel size of RenderWindow.
Reimplemented in Ogre::CocoaWindow, and Ogre::MetalWindow.