Lines Matching refs:eglu
57 static const eglu::NativeDisplay::Capability DISPLAY_CAPABILITIES = eglu::NativeDisplay::CAPABILITY_GET_DISPLAY_LEGACY;
58 static const eglu::NativePixmap::Capability BITMAP_CAPABILITIES = eglu::NativePixmap::CAPABILITY_CREATE_SURFACE_LEGACY;
59 static const eglu::NativeWindow::Capability WINDOW_CAPABILITIES = (eglu::NativeWindow::Capability)
60 (eglu::NativeWindow::CAPABILITY_CREATE_SURFACE_LEGACY |
61 eglu::NativeWindow::CAPABILITY_GET_SURFACE_SIZE |
62 eglu::NativeWindow::CAPABILITY_GET_SCREEN_SIZE |
63 eglu::NativeWindow::CAPABILITY_READ_SCREEN_PIXELS |
64 eglu::NativeWindow::CAPABILITY_SET_SURFACE_SIZE |
65 eglu::NativeWindow::CAPABILITY_CHANGE_VISIBILITY);
67 class NativeDisplay : public eglu::NativeDisplay
83 class NativePixmapFactory : public eglu::NativePixmapFactory
89 virtual eglu::NativePixmap* createPixmap (eglu::NativeDisplay* nativeDisplay, int width, int height) const;
90 virtual eglu::NativePixmap* createPixmap (eglu::NativeDisplay* nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, int width, int height) const;
93 class NativePixmap : public eglu::NativePixmap
105 class NativeWindowFactory : public eglu::NativeWindowFactory
111 virtual eglu::NativeWindow* createWindow (eglu::NativeDisplay* nativeDisplay, const eglu::WindowParams& params) const;
117 class NativeWindow : public eglu::NativeWindow
120 NativeWindow (NativeDisplay* nativeDisplay, HINSTANCE instance, const eglu::WindowParams& params);
128 virtual void setVisibility (eglu::WindowParams::Visibility visibility);
133 eglu::WindowParams::Visibility m_curVisibility;
140 : eglu::NativeDisplay (DISPLAY_CAPABILITIES)
149 : eglu::NativePixmap (BITMAP_CAPABILITIES)
187 : eglu::NativePixmapFactory ("bitmap", "Win32 Bitmap", BITMAP_CAPABILITIES)
191 eglu::NativePixmap* NativePixmapFactory::createPixmap (eglu::NativeDisplay* nativeDisplay, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList, int width, int height) const
213 eglu::NativePixmap* NativePixmapFactory::createPixmap (eglu::NativeDisplay* nativeDisplay, int width, int height) const
222 : eglu::NativeWindowFactory ("window", "Win32 Window", WINDOW_CAPABILITIES)
227 eglu::NativeWindow* NativeWindowFactory::createWindow (eglu::NativeDisplay* nativeDisplay, const eglu::WindowParams& params) const
234 NativeWindow::NativeWindow (NativeDisplay* nativeDisplay, HINSTANCE instance, const eglu::WindowParams& params)
235 : eglu::NativeWindow (WINDOW_CAPABILITIES)
237 params.width == eglu::WindowParams::SIZE_DONT_CARE ? DEFAULT_SURFACE_WIDTH : params.width,
238 params.height == eglu::WindowParams::SIZE_DONT_CARE ? DEFAULT_SURFACE_HEIGHT : params.height)
239 , m_curVisibility (eglu::WindowParams::VISIBILITY_HIDDEN)
242 if (params.visibility != eglu::WindowParams::VISIBILITY_DONT_CARE)
246 void NativeWindow::setVisibility (eglu::WindowParams::Visibility visibility)
250 case eglu::WindowParams::VISIBILITY_HIDDEN:
255 case eglu::WindowParams::VISIBILITY_VISIBLE:
256 case eglu::WindowParams::VISIBILITY_FULLSCREEN:
259 m_curVisibility = eglu::WindowParams::VISIBILITY_VISIBLE;
295 TCU_CHECK_INTERNAL(m_curVisibility != eglu::WindowParams::VISIBILITY_HIDDEN);
384 : eglu::NativeDisplayFactory ("win32", "Native Win32 Display", DISPLAY_CAPABILITIES)
395 eglu::NativeDisplay* EGLNativeDisplayFactory::createDisplay (const EGLAttrib* attribList) const