Home
last modified time | relevance | path

Searched refs:ddpi (Results 1 – 10 of 10) 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/x11/
DSDL_x11modes.h34 float ddpi; member
81 extern int X11_GetDisplayDPI(_THIS, SDL_VideoDisplay * sdl_display, float * ddpi, float * hdpi, flo…
DSDL_x11modes.c469 …displaydata->ddpi = SDL_ComputeDiagonalDPI(mode.w, mode.h, ((float) display_mm_width) / 25.4f,((fl… in X11_InitModes_XRandR()
751 displaydata->ddpi = SDL_ComputeDiagonalDPI(DisplayWidth(data->display, displaydata->screen), in X11_InitModes()
1050 X11_GetDisplayDPI(_THIS, SDL_VideoDisplay * sdl_display, float * ddpi, float * hdpi, float * vdpi) in X11_GetDisplayDPI() argument
1054 if (ddpi) { in X11_GetDisplayDPI()
1055 *ddpi = data->ddpi; in X11_GetDisplayDPI()
1064 return data->ddpi != 0.0f ? 0 : SDL_SetError("Couldn't get DPI"); in X11_GetDisplayDPI()
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/
DSDL_cocoamodes.h40 extern int Cocoa_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hpdi, float…
DSDL_cocoamodes.m316 Cocoa_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi)
326 if (ddpi) {
327 …*ddpi = SDL_ComputeDiagonalDPI(pixelWidth, pixelHeight, displaySize.width / MM_IN_INCH, displaySiz…
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsmodes.h44 extern int WIN_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float *…
DSDL_windowsmodes.c331 WIN_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi, float * hdpi, float * vdpi) in WIN_GetDisplayDPI() argument
335 if (ddpi) { in WIN_GetDisplayDPI()
336 *ddpi = data->DiagDPI; in WIN_GetDisplayDPI()
/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 *…