Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_Window.cpp
| Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | GHOST_TSuccess GHOST_Window::setSwapInterval(int interval) | ||||
| return m_context->setSwapInterval(interval); | return m_context->setSwapInterval(interval); | ||||
| } | } | ||||
| GHOST_TSuccess GHOST_Window::getSwapInterval(int &intervalOut) | GHOST_TSuccess GHOST_Window::getSwapInterval(int &intervalOut) | ||||
| { | { | ||||
| return m_context->getSwapInterval(intervalOut); | return m_context->getSwapInterval(intervalOut); | ||||
| } | } | ||||
| GHOST_Context *GHOST_Window::getContext() | |||||
| { | |||||
| return m_context; | |||||
| } | |||||
| unsigned int GHOST_Window::getDefaultFramebuffer() | unsigned int GHOST_Window::getDefaultFramebuffer() | ||||
| { | { | ||||
| return (m_context) ? m_context->getDefaultFramebuffer() : 0; | return (m_context) ? m_context->getDefaultFramebuffer() : 0; | ||||
| } | } | ||||
| GHOST_TSuccess GHOST_Window::activateDrawingContext() | GHOST_TSuccess GHOST_Window::activateDrawingContext() | ||||
| { | { | ||||
| return m_context->activateDrawingContext(); | return m_context->activateDrawingContext(); | ||||
| ▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines | |||||