Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics_drm.h29 class GRSurfaceDrm : public GRSurface {
31 ~GRSurfaceDrm() override;
34 static std::unique_ptr<GRSurfaceDrm> Create(int drm_fd, int width, int height);
43 GRSurfaceDrm(size_t width, size_t height, size_t row_bytes, size_t pixel_bytes, int drm_fd, in GRSurfaceDrm() function
65 bool DrmEnableCrtc(int drm_fd, drmModeCrtc* crtc, const std::unique_ptr<GRSurfaceDrm>& surface);
69 std::unique_ptr<GRSurfaceDrm> GRSurfaceDrms[2];
Dgraphics_drm.cpp38 GRSurfaceDrm::~GRSurfaceDrm() { in ~GRSurfaceDrm()
79 std::unique_ptr<GRSurfaceDrm> GRSurfaceDrm::Create(int drm_fd, int width, int height) { in Create()
110 auto surface = std::unique_ptr<GRSurfaceDrm>(new GRSurfaceDrm( in Create()
153 const std::unique_ptr<GRSurfaceDrm>& surface) { in DrmEnableCrtc()
348 GRSurfaceDrms[0] = GRSurfaceDrm::Create(drm_fd, width, height); in Init()
349 GRSurfaceDrms[1] = GRSurfaceDrm::Create(drm_fd, width, height); in Init()