Home
last modified time | relevance | path

Searched refs:displaydata (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11modes.c408 SDL_DisplayData *displaydata; in X11_InitModes_XRandR() local
451 displaydata = (SDL_DisplayData *) SDL_calloc(1, sizeof(*displaydata)); in X11_InitModes_XRandR()
452 if (!displaydata) { in X11_InitModes_XRandR()
458 SDL_free(displaydata); in X11_InitModes_XRandR()
464 displaydata->screen = screen; in X11_InitModes_XRandR()
465 displaydata->visual = vinfo.visual; in X11_InitModes_XRandR()
466 displaydata->depth = vinfo.depth; in X11_InitModes_XRandR()
467 displaydata->hdpi = ((float) mode.w) * 25.4f / display_mm_width; in X11_InitModes_XRandR()
468 displaydata->vdpi = ((float) mode.h) * 25.4f / display_mm_height; in X11_InitModes_XRandR()
469displaydata->ddpi = SDL_ComputeDiagonalDPI(mode.w, mode.h, ((float) display_mm_width) / 25.4f,((fl… in X11_InitModes_XRandR()
[all …]
DSDL_x11window.c363 SDL_DisplayData *displaydata = in X11_CreateWindow() local
367 int screen = displaydata->screen; in X11_CreateWindow()
413 visual = displaydata->visual; in X11_CreateWindow()
414 depth = displaydata->depth; in X11_CreateWindow()
956 SDL_DisplayData *displaydata = in X11_SetWindowBordered() local
961 SetWindowBordered(display, displaydata->screen, data->xwindow, bordered); in X11_SetWindowBordered()
1047 SDL_DisplayData *displaydata = (SDL_DisplayData *) SDL_GetDisplayForWindow(window)->driverdata; in X11_HideWindow() local
1052 X11_XWithdrawWindow(display, data->xwindow, displaydata->screen); in X11_HideWindow()
1063 SDL_DisplayData *displaydata = in SetWindowActive() local
1082 X11_XSendEvent(display, RootWindow(display, displaydata->screen), 0, in SetWindowActive()
[all …]
DSDL_x11messagebox.c386 SDL_DisplayData *displaydata = in X11_MessageBoxCreateWindow() local
389 data->screen = displaydata->screen; in X11_MessageBoxCreateWindow()
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/
DSDL_cocoamodes.m209 SDL_DisplayData *displaydata;
234 displaydata = (SDL_DisplayData *) SDL_malloc(sizeof(*displaydata));
235 if (!displaydata) {
239 displaydata->display = displays[i];
250 SDL_free(displaydata);
258 display.driverdata = displaydata;
269 SDL_DisplayData *displaydata = (SDL_DisplayData *) display->driverdata;
272 cgrect = CGDisplayBounds(displaydata->display);
283 SDL_DisplayData *displaydata = (SDL_DisplayData *) display->driverdata;
284 const CGDirectDisplayID cgdisplay = displaydata->display;
[all …]
DSDL_cocoaopengl.m156 SDL_DisplayData *displaydata = (SDL_DisplayData *)display->driverdata;
236 attr[i++] = CGDisplayIDToOpenGLDisplayMask(displaydata->display);
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsmodes.c223 SDL_DisplayData *displaydata; in WIN_AddDisplay() local
234 displaydata = (SDL_DisplayData *) SDL_malloc(sizeof(*displaydata)); in WIN_AddDisplay()
235 if (!displaydata) { in WIN_AddDisplay()
238 SDL_memcpy(displaydata->DeviceName, DeviceName, in WIN_AddDisplay()
239 sizeof(displaydata->DeviceName)); in WIN_AddDisplay()
248 display.driverdata = displaydata; in WIN_AddDisplay()
414 SDL_DisplayData *displaydata = (SDL_DisplayData *) display->driverdata; in WIN_SetDisplayMode() local
419 status = ChangeDisplaySettingsEx(displaydata->DeviceName, NULL, NULL, CDS_FULLSCREEN, NULL); in WIN_SetDisplayMode()
421 …status = ChangeDisplaySettingsEx(displaydata->DeviceName, &data->DeviceMode, NULL, CDS_FULLSCREEN,… in WIN_SetDisplayMode()
441 EnumDisplaySettings(displaydata->DeviceName, ENUM_CURRENT_SETTINGS, &data->DeviceMode); in WIN_SetDisplayMode()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/vivante/
DSDL_vivanteopengles.c33 SDL_DisplayData *displaydata; in VIVANTE_GLES_LoadLibrary() local
35 displaydata = SDL_GetDisplayDriverData(0); in VIVANTE_GLES_LoadLibrary()
37 return SDL_EGL_LoadLibrary(_this, path, displaydata->native_display); in VIVANTE_GLES_LoadLibrary()
DSDL_vivantevideo.c261 SDL_DisplayData *displaydata; in VIVANTE_CreateWindow() local
264 displaydata = SDL_GetDisplayDriverData(0); in VIVANTE_CreateWindow()
276 …data->native_window = vdkCreateWindow(displaydata->native_display, window->x, window->y, window->w… in VIVANTE_CreateWindow()
278 …data->native_window = videodata->fbCreateWindow(displaydata->native_display, window->x, window->y,… in VIVANTE_CreateWindow()
370 SDL_DisplayData *displaydata = SDL_GetDisplayDriverData(0); in VIVANTE_GetWindowWMInfo() local
375 info->info.vivante.display = displaydata->native_display; in VIVANTE_GetWindowWMInfo()
/third_party/flutter/skia/third_party/externals/sdl/src/video/raspberry/
DSDL_rpivideo.c220 SDL_DisplayData *displaydata; in RPI_CreateWindow() local
239 displaydata = (SDL_DisplayData *) display->driverdata; in RPI_CreateWindow()
266 displaydata->dispman_display, in RPI_CreateWindow()
/third_party/flutter/skia/third_party/externals/sdl/src/video/uikit/
DSDL_uikitwindow.m83 SDL_DisplayData *displaydata = (__bridge SDL_DisplayData *) display->driverdata;
86 CGRect frame = UIKit_ComputeViewFrame(window, displaydata.uiscreen);
102 if (displaydata.uiscreen != [UIScreen mainScreen]) {
109 if (displaydata.uiscreen == [UIScreen mainScreen]) {
141 if (displaydata.uiscreen == [UIScreen mainScreen]) {
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_fcitx.c498 …SDL_DisplayData *displaydata = (SDL_DisplayData *) SDL_GetDisplayForWindow(focused_win)->driverdat… in SDL_Fcitx_UpdateTextRect() local
502 int x_screen = displaydata->screen; in SDL_Fcitx_UpdateTextRect()
DSDL_ibus.c629 …SDL_DisplayData *displaydata = (SDL_DisplayData *) SDL_GetDisplayForWindow(focused_win)->driverdat… in SDL_IBus_UpdateTextRect() local
633 int x_screen = displaydata->screen; in SDL_IBus_UpdateTextRect()