Home
last modified time | relevance | path

Searched refs:viddata (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/kmsdrm/
A DSDL_kmsdrmvideo.c182 if (!viddata) { in KMSDRM_CreateDevice()
187 viddata->drm_fd = -1; in KMSDRM_CreateDevice()
230 if (viddata) in KMSDRM_CreateDevice()
471 viddata->gbm = KMSDRM_gbm_create_device(viddata->drm_fd); in KMSDRM_VideoInit()
696 if (viddata->gbm) { in KMSDRM_VideoQuit()
801 windata->viddata = viddata; in KMSDRM_CreateWindow()
811 if (viddata->num_windows >= viddata->max_windows) { in KMSDRM_CreateWindow()
813 viddata->windows = (SDL_Window **)SDL_realloc(viddata->windows, in KMSDRM_CreateWindow()
823 viddata->windows[viddata->num_windows++] = window; in KMSDRM_CreateWindow()
847 viddata = windata->viddata; in KMSDRM_DestroyWindow()
[all …]
A DSDL_kmsdrmmouse.c52 SDL_VideoData *viddata = ((SDL_VideoData *)dev->driverdata); in KMSDRM_IsCursorSizeSupported() local
57 struct gbm_bo *bo = KMSDRM_gbm_bo_create(viddata->gbm, w, h, bo_format, in KMSDRM_IsCursorSizeSupported()
66 ret = KMSDRM_drmModeSetCursor(viddata->drm_fd, dispdata->crtc_id, bo_handle, w, h); in KMSDRM_IsCursorSizeSupported()
88 SDL_VideoData *viddata = ((SDL_VideoData *)dev->driverdata); in KMSDRM_CreateCursor() local
166 …if (!KMSDRM_gbm_device_is_format_supported(viddata->gbm, bo_format, GBM_BO_USE_CURSOR | GBM_BO_USE… in KMSDRM_CreateCursor()
210 curdata->bo = KMSDRM_gbm_bo_create(viddata->gbm, usable_cursor_w, usable_cursor_h, bo_format, in KMSDRM_CreateCursor()
304 SDL_VideoData *viddata = ((SDL_VideoData *)dev->driverdata); in KMSDRM_ShowCursor() local
330 ret = KMSDRM_drmModeSetCursor(viddata->drm_fd, curdata->crtc_id, 0, 0, 0); in KMSDRM_ShowCursor()
343 ret = KMSDRM_drmModeSetCursor(viddata->drm_fd, dispdata->crtc_id, 0, 0, 0); in KMSDRM_ShowCursor()
368 ret = KMSDRM_drmModeSetCursor(viddata->drm_fd, dispdata->crtc_id, bo_handle, in KMSDRM_ShowCursor()
[all …]
A DSDL_kmsdrmopengles.c62 SDL_VideoData *viddata = ((SDL_VideoData *)_this->driverdata); in KMSDRM_GLES_SwapWindow() local
125 if (KMSDRM_drmModeSetCrtc(viddata->drm_fd, dispdata->crtc_id, fb_info->fb_id, 0, in KMSDRM_GLES_SwapWindow()
132 if (!KMSDRM_drmModePageFlip(viddata->drm_fd, dispdata->crtc_id, fb_info->fb_id, in KMSDRM_GLES_SwapWindow()
214 if (KMSDRM_drmModeSetCrtc(viddata->drm_fd, dispdata->crtc_id, fb_info->fb_id, 0, in KMSDRM_GLES_SwapWindow()
222 if (!KMSDRM_drmModePageFlip(viddata->drm_fd, dispdata->crtc_id, fb_info->fb_id, in KMSDRM_GLES_SwapWindow()
A DSDL_kmsdrmvideo.h67 SDL_VideoData *viddata; member
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandwindow.c480 if (viddata->shell.xdg) { in SetFullscreen()
486 } else if (viddata->shell.zxdg) { in SetFullscreen()
591 if (viddata->shell.xdg) { in Wayland_RestoreWindow()
592 } else if (viddata->shell.zxdg) { in Wayland_RestoreWindow()
618 SDL_VideoData *viddata = (SDL_VideoData *) _this->driverdata; in Wayland_MaximizeWindow() local
620 if (viddata->shell.xdg) { in Wayland_MaximizeWindow()
622 } else if (viddata->shell.zxdg) { in Wayland_MaximizeWindow()
628 WAYLAND_wl_display_flush( viddata->display ); in Wayland_MaximizeWindow()
869 SDL_VideoData *viddata = (SDL_VideoData *) _this->driverdata; in Wayland_SetWindowTitle() local
872 if (viddata->shell.xdg) { in Wayland_SetWindowTitle()
[all …]
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11events.c334 SDL_VideoData *viddata = (SDL_VideoData *) _this->driverdata; in X11_GetNumLockModifierMask() local
335 Display *display = viddata->display; in X11_GetNumLockModifierMask()
346 if (viddata->key_layout[kc] == SDL_SCANCODE_NUMLOCKCLEAR) { in X11_GetNumLockModifierMask()
360 SDL_VideoData *viddata = (SDL_VideoData *) _this->driverdata; in X11_ReconcileKeyboardState() local
361 Display *display = viddata->display; in X11_ReconcileKeyboardState()
379 SDL_Scancode scancode = viddata->key_layout[keycode]; in X11_ReconcileKeyboardState()
450 SDL_VideoData *viddata = (SDL_VideoData *) _this->driverdata; in InitiateWindowMove() local
452 Display *display = viddata->display; in InitiateWindowMove()
476 SDL_VideoData *viddata = (SDL_VideoData *) _this->driverdata; in InitiateWindowResize() local
478 Display *display = viddata->display; in InitiateWindowResize()
A DSDL_x11modes.c969 SDL_VideoData *viddata = (SDL_VideoData *) _this->driverdata; in X11_SetDisplayMode() local
970 Display *display = viddata->display; in X11_SetDisplayMode()
974 viddata->last_mode_change_deadline = SDL_GetTicks() + (PENDING_FOCUS_TIME * 2); in X11_SetDisplayMode()

Completed in 14 milliseconds