Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics_drm.cpp164 DrmEnableCrtc(drm_fd, main_monitor_crtc, GRSurfaceDrms[current_buffer]); in Blank()
344 GRSurfaceDrms[0] = GRSurfaceDrm::Create(drm_fd, width, height); in Init()
345 GRSurfaceDrms[1] = GRSurfaceDrm::Create(drm_fd, width, height); in Init()
346 if (!GRSurfaceDrms[0] || !GRSurfaceDrms[1]) { in Init()
353 if (!DrmEnableCrtc(drm_fd, main_monitor_crtc, GRSurfaceDrms[1])) { in Init()
357 return GRSurfaceDrms[0].get(); in Init()
370 if (drmModePageFlip(drm_fd, main_monitor_crtc->crtc_id, GRSurfaceDrms[current_buffer]->fb_id, in Flip()
399 return GRSurfaceDrms[current_buffer].get(); in Flip()
Dgraphics_drm.h69 std::unique_ptr<GRSurfaceDrm> GRSurfaceDrms[2]; variable