Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics_adf.h30 class GRSurfaceAdf : public GRSurface {
32 ~GRSurfaceAdf() override;
34 static std::unique_ptr<GRSurfaceAdf> Create(int intf_fd, const drm_mode_modeinfo* mode,
44 GRSurfaceAdf(size_t width, size_t height, size_t row_bytes, size_t pixel_bytes, __u32 offset, in GRSurfaceAdf() function
67 void Sync(GRSurfaceAdf* surf);
75 std::unique_ptr<GRSurfaceAdf> surfaces[2];
Dgraphics_adf.cpp32 GRSurfaceAdf::~GRSurfaceAdf() { in ~GRSurfaceAdf()
44 std::unique_ptr<GRSurfaceAdf> GRSurfaceAdf::Create(int intf_fd, const drm_mode_modeinfo* mode, in Create()
56 std::unique_ptr<GRSurfaceAdf> surf = std::unique_ptr<GRSurfaceAdf>( in Create()
57 new GRSurfaceAdf(mode->hdisplay, mode->vdisplay, pitch, (format == DRM_FORMAT_RGB565 ? 2 : 4), in Create()
77 surfaces[0] = GRSurfaceAdf::Create(intf_fd, &intf_data.current_mode, format, &result); in InterfaceInit()
83 surfaces[1] = GRSurfaceAdf::Create(intf_fd, &intf_data.current_mode, format, &result); in InterfaceInit()
165 void MinuiBackendAdf::Sync(GRSurfaceAdf* surf) { in Sync()