openscenegraph
|
#include <GraphicsContext>
Public Member Functions | |
void | setName (const std::string &name) |
const std::string & | getName () const |
virtual unsigned int | getNumScreens (const ScreenIdentifier &screenIdentifier=ScreenIdentifier())=0 |
virtual void | getScreenSettings (const ScreenIdentifier &screenIdentifier, ScreenSettings &resolution)=0 |
virtual bool | setScreenSettings (const ScreenIdentifier &, const ScreenSettings &) |
virtual void | enumerateScreenSettings (const ScreenIdentifier &screenIdentifier, ScreenSettingsList &resolutionList)=0 |
virtual void | setDisplaySettings (DisplaySettings *) |
virtual osg::DisplaySettings * | getDisplaySettings () const |
virtual GraphicsContext * | createGraphicsContext (Traits *traits)=0 |
void | getScreenResolution (const ScreenIdentifier &screenIdentifier, unsigned int &width, unsigned int &height) |
bool | setScreenResolution (const ScreenIdentifier &screenIdentifier, unsigned int width, unsigned int height) |
bool | setScreenRefreshRate (const ScreenIdentifier &screenIdentifier, double refreshRate) |
![]() | |
Referenced () | |
Referenced (bool threadSafeRefUnref) | |
Referenced (const Referenced &) | |
Referenced & | operator= (const Referenced &) |
virtual void | setThreadSafeRefUnref (bool) |
bool | getThreadSafeRefUnref () const |
OpenThreads::Mutex * | getRefMutex () const |
int | ref () const |
int | unref () const |
int | unref_nodelete () const |
int | referenceCount () const |
ObserverSet * | getObserverSet () const |
ObserverSet * | getOrCreateObserverSet () const |
void | addObserver (Observer *observer) const |
void | removeObserver (Observer *observer) const |
Protected Member Functions | |
WindowingSystemInterface () | |
virtual | ~WindowingSystemInterface () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Protected Attributes | |
std::string | _name |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
Callback to be implemented to provide access to Windowing API's ability to create Windows/pbuffers.
|
inlineprotected |
|
inlineprotectedvirtual |
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
|
inline |
|
pure virtual |
|
inline |
Gets screen resolution without using the ScreenResolution structure.
|
pure virtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
Sets screen resolution without using the ScreenSettings structure.
|
inlinevirtual |
|
protected |