Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/
DSDL_winrtvideo.cpp202 WINRT_DXGIModeToSDLDisplayMode(const DXGI_MODE_DESC * dxgiMode, SDL_DisplayMode * sdlMode) in WINRT_DXGIModeToSDLDisplayMode() argument
204 SDL_zerop(sdlMode); in WINRT_DXGIModeToSDLDisplayMode()
205 sdlMode->w = dxgiMode->Width; in WINRT_DXGIModeToSDLDisplayMode()
206 sdlMode->h = dxgiMode->Height; in WINRT_DXGIModeToSDLDisplayMode()
207 sdlMode->refresh_rate = dxgiMode->RefreshRate.Numerator / dxgiMode->RefreshRate.Denominator; in WINRT_DXGIModeToSDLDisplayMode()
208 sdlMode->format = D3D11_DXGIFormatToSDLPixelFormat(dxgiMode->Format); in WINRT_DXGIModeToSDLDisplayMode()
297 SDL_DisplayMode sdlMode; in WINRT_AddDisplaysForOutput() local
298 WINRT_DXGIModeToSDLDisplayMode(&dxgiModes[i], &sdlMode); in WINRT_AddDisplaysForOutput()
299 SDL_AddDisplayMode(&display, &sdlMode); in WINRT_AddDisplaysForOutput()