Searched refs:intf_fd (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/minui/ |
D | graphics_adf.cpp | 44 std::unique_ptr<GRSurfaceAdf> GRSurfaceAdf::Create(int intf_fd, const drm_mode_modeinfo* mode, in Create() argument 48 auto fd = adf_interface_simple_buffer_alloc(intf_fd, mode->hdisplay, mode->vdisplay, format, in Create() 70 MinuiBackendAdf::MinuiBackendAdf() : intf_fd(-1), dev(), current_surface(0), n_surfaces(0) {} in MinuiBackendAdf() 74 if (int err = adf_get_interface_data(intf_fd, &intf_data); err < 0) return err; in InterfaceInit() 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() 104 intf_fd = adf_interface_open(dev, intf_id, O_RDWR | O_CLOEXEC); in DeviceInit() 105 if (intf_fd < 0) return intf_fd; in DeviceInit() 109 close(intf_fd); in DeviceInit() 110 intf_fd = -1; in DeviceInit() [all …]
|
D | graphics_adf.h | 34 static std::unique_ptr<GRSurfaceAdf> Create(int intf_fd, const drm_mode_modeinfo* mode, 69 int intf_fd; variable
|