Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics_drm.cpp168 DrmEnableCrtc(drm_fd, main_monitor_crtc, GRSurfaceDrms[current_buffer]); in Blank()
348 GRSurfaceDrms[0] = GRSurfaceDrm::Create(drm_fd, width, height); in Init()
349 GRSurfaceDrms[1] = GRSurfaceDrm::Create(drm_fd, width, height); in Init()
350 if (!GRSurfaceDrms[0] || !GRSurfaceDrms[1]) { in Init()
357 if (!DrmEnableCrtc(drm_fd, main_monitor_crtc, GRSurfaceDrms[1])) { in Init()
361 return GRSurfaceDrms[0].get(); in Init()
374 if (drmModePageFlip(drm_fd, main_monitor_crtc->crtc_id, GRSurfaceDrms[current_buffer]->fb_id, in Flip()
403 return GRSurfaceDrms[current_buffer].get(); in Flip()
Dgraphics_drm.h69 std::unique_ptr<GRSurfaceDrm> GRSurfaceDrms[2]; variable