Searched refs:wlContext (Results 1 – 6 of 6) sorted by relevance
45 WLContext* wlContext; in main() local80 wlContext = new WLContext(); in main()81 wlContext->InitWLContext(&PointerListener, &KeyboardListener, &TouchListener); in main()83 int const fd = wl_display_get_fd(wlContext->GetWLDisplay()); in main()85 eglSurface = new WLEGLSurface(wlContext); in main()103 if ((WaitForEvent(wlContext->GetWLDisplay(), fd) < 0)){ in main()119 delete wlContext; in main()
76 create_cursors(WLContext* wlContext) in create_cursors() argument82 wlContext->SetWLCursorTheme(wl_cursor_theme_load(NULL, size, wlContext->GetWLShm())); in create_cursors()83 if (!wlContext->GetWLCursorTheme()) { in create_cursors()87 wlContext->SetWLCursor((wl_cursor*) malloc(sizeof(wl_cursor))); in create_cursors()90 cursor = wl_cursor_theme_get_cursor(wlContext->GetWLCursorTheme(), in create_cursors()96 wlContext->SetWLCursor(cursor); in create_cursors()
26 WLSurface::WLSurface(WLContext* wlContext) in WLSurface() argument27 : m_wlContext(wlContext) in WLSurface()34 assert(wlContext); in WLSurface()
36 WLEGLSurface::WLEGLSurface(WLContext* wlContext) in WLEGLSurface() argument37 : WLSurface(wlContext) in WLEGLSurface()
38 WLSurface(WLContext* wlContext);
39 WLEGLSurface(WLContext* wlContext);