Home
last modified time | relevance | path

Searched refs:hdpi (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestdisplayinfo.c54 float ddpi, hdpi, vdpi; in main() local
60 if (SDL_GetDisplayDPI(dpy, &ddpi, &hdpi, &vdpi) == -1) { in main()
63 SDL_Log(" DPI: ddpi=%f; hdpi=%f; vdpi=%f\n", ddpi, hdpi, vdpi); in main()
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsmodes.c46 UINT hdpi, vdpi; in WIN_GetMonitorDPI() local
48 if (data->vid_data->GetDpiForMonitor(hMonitor, MDT_EFFECTIVE_DPI, &hdpi, &vdpi) == S_OK && in WIN_GetMonitorDPI()
49 hdpi > 0 && in WIN_GetMonitorDPI()
53 data->mode_data->HorzDPI = (float)hdpi; in WIN_GetMonitorDPI()
331 WIN_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi) in WIN_GetDisplayDPI() argument
338 if (hdpi) { in WIN_GetDisplayDPI()
339 *hdpi = data->HorzDPI; in WIN_GetDisplayDPI()
DSDL_windowsmodes.h44 extern int WIN_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float *…
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11modes.h35 float hdpi; member
81 extern int X11_GetDisplayDPI(_THIS, SDL_VideoDisplay * sdl_display, float * ddpi, float * hdpi, flo…
DSDL_x11modes.c467 displaydata->hdpi = ((float) mode.w) * 25.4f / display_mm_width; in X11_InitModes_XRandR()
747 displaydata->hdpi = (float)DisplayWidth(data->display, displaydata->screen) * 25.4f / in X11_InitModes()
1050 X11_GetDisplayDPI(_THIS, SDL_VideoDisplay * sdl_display, float * ddpi, float * hdpi, float * vdpi) in X11_GetDisplayDPI() argument
1057 if (hdpi) { in X11_GetDisplayDPI()
1058 *hdpi = data->hdpi; in X11_GetDisplayDPI()
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/
DSDL_cocoamodes.m316 Cocoa_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi)
329 if (hdpi) {
330 *hdpi = pixelWidth * MM_IN_INCH / displaySize.width;
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_sysvideo.h179 …int (*GetDisplayDPI) (_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi);
DSDL_video.c708 SDL_GetDisplayDPI(int displayIndex, float * ddpi, float * hdpi, float * vdpi) in SDL_GetDisplayDPI() argument
717 if (_this->GetDisplayDPI(_this, display, ddpi, hdpi, vdpi) == 0) { in SDL_GetDisplayDPI()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_video.h319 extern DECLSPEC int SDLCALL SDL_GetDisplayDPI(int displayIndex, float * ddpi, float * hdpi, float *…