Searched refs:pitch (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/minui/ |
D | graphics_adf.cpp | 34 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()
|
D | graphics_adf.h | 45 __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
|
D | graphics_drm.cpp | 111 width, height, create_dumb.pitch, create_dumb.bpp / 8, drm_fd, create_dumb.handle)); in Create() 116 pitches[0] = create_dumb.pitch; in Create()
|