Home
last modified time | relevance | path

Searched refs:pitch (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/minui/
Dgraphics_adf.h45 __u32 pitch, int fd) in GRSurfaceAdf() argument
46 : GRSurface(width, height, row_bytes, pixel_bytes), offset(offset), pitch(pitch), fd(fd) {} in GRSurfaceAdf()
49 const __u32 pitch; variable
Dgraphics_adf.cpp34 munmap(mmapped_buffer_, pitch * height); in ~GRSurfaceAdf()
47 __u32 pitch; in Create() local
49 &offset, &pitch); in Create()
57 new GRSurfaceAdf(mode->hdisplay, mode->vdisplay, pitch, (format == DRM_FORMAT_RGB565 ? 2 : 4), in Create()
58 offset, pitch, fd)); in Create()
61 mmap(nullptr, surf->pitch * surf->height, PROT_WRITE, MAP_SHARED, surf->fd, surf->offset); in Create()
185 surf->fd, surf->offset, surf->pitch, -1); in Flip()
Dgraphics_drm.cpp107 width, height, create_dumb.pitch, create_dumb.bpp / 8, drm_fd, create_dumb.handle)); in Create()
112 pitches[0] = create_dumb.pitch; in Create()