Home | History | Annotate | Download | only in libGL

Lines Matching defs:Display

15 // Display.cpp: Implements the Display class, representing the abstract
16 // display on which graphics are drawn.
18 #include "Display.h"
31 typedef std::map<NativeDisplayType, Display*> DisplayMap;
34 Display *Display::getDisplay(NativeDisplayType displayId)
41 // FIXME: Check if displayId is a valid display device context
42 Display *display = new Display(displayId);
44 displays[displayId] = display;
45 return display;
48 Display::Display(NativeDisplayType displayId) : displayId(displayId)
54 Display::~Display()
84 bool Display::initialize()
109 void Display::terminate()
122 gl::Context *Display::createContext(const gl::Context *shareContext)
130 void Display::destroySurface(Surface *surface)
136 void Display::destroyContext(gl::Context *context)
148 bool Display::isInitialized() const
153 bool Display::isValidContext(gl::Context *context)
158 bool Display::isValidSurface(Surface *surface)
163 bool Display::isValidWindow(NativeWindowType window)
175 GLint Display::getMinSwapInterval()
180 GLint Display::getMaxSwapInterval()
185 Surface *Display::getPrimarySurface()
205 NativeDisplayType Display::getNativeDisplay() const
210 DisplayMode Display::getDisplayMode() const
227 ASSERT(false); // Unexpected display mode color depth
243 ASSERT(false); // Unexpected display mode color depth