Lines Matching refs:eglu
46 static const eglu::NativeDisplay::Capability DISPLAY_CAPABILITIES = eglu::NativeDisplay::CAPABILITY_GET_DISPLAY_LEGACY;
47 static const eglu::NativeWindow::Capability WINDOW_CAPABILITIES = eglu::NativeWindow::CAPABILITY_CREATE_SURFACE_LEGACY;
49 class Display : public eglu::NativeDisplay
52 Display (void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES) {}
58 class DisplayFactory : public eglu::NativeDisplayFactory
64 eglu::NativeDisplay* createDisplay (const EGLAttrib* attribList) const;
67 class Window : public eglu::NativeWindow
83 class WindowFactory : public eglu::NativeWindowFactory
86 WindowFactory (void) : eglu::NativeWindowFactory("dispman", "Dispman Window", WINDOW_CAPABILITIES) {}
89 eglu::NativeWindow* createWindow (eglu::NativeDisplay* display, const eglu::WindowParams& params) const;
95 : eglu::NativeDisplayFactory("default", "EGL_DEFAULT_DISPLAY", DISPLAY_CAPABILITIES)
100 eglu::NativeDisplay* DisplayFactory::createDisplay (const EGLAttrib*) const
107 eglu::NativeWindow* WindowFactory::createWindow (eglu::NativeDisplay*, const eglu::WindowParams& params) const
109 const int width = params.width != eglu::WindowParams::SIZE_DONT_CARE ? params.width : DEFAULT_WINDOW_WIDTH;
110 const int height = params.height != eglu::WindowParams::SIZE_DONT_CARE ? params.height : DEFAULT_WINDOW_HEIGHT;
118 : eglu::NativeWindow(WINDOW_CAPABILITIES)
180 m_contextFactoryRegistry.registerFactory(new eglu::GLContextFactory(m_nativeDisplayFactoryRegistry));