Home
last modified time | relevance | path

Searched refs:pixel_bytes (Results 1 – 8 of 8) sorted by relevance

/bootable/recovery/minui/
Dgraphics.cpp161 if (font->texture->pixel_bytes != 1) { in gr_text()
179 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_text()
194 if (icon->pixel_bytes != 1) { in gr_texticon()
204 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_texticon()
223 gr_draw->row_bytes == gr_draw->width * gr_draw->pixel_bytes) { in gr_clear()
227 int row_diff = gr_draw->row_bytes / gr_draw->pixel_bytes - gr_draw->width; in gr_clear()
246 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_fill()
264 if (gr_draw->pixel_bytes != source->pixel_bytes) { in gr_blit()
275 int src_row_pixels = source->row_bytes / source->pixel_bytes; in gr_blit()
276 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_blit()
[all …]
Dgraphics_fbdev.cpp36 size_t row_bytes, size_t pixel_bytes) { in Create() argument
38 return std::unique_ptr<GRSurfaceFbdev>(new GRSurfaceFbdev(width, height, row_bytes, pixel_bytes)); in Create()
51 vi.bits_per_pixel = gr_framebuffer[0]->pixel_bytes * 8; in SetDisplayedFramebuffer()
111 gr_framebuffer[0]->row_bytes, gr_framebuffer[0]->pixel_bytes); in Init()
Dgraphics_adf.h44 GRSurfaceAdf(size_t width, size_t height, size_t row_bytes, size_t pixel_bytes, __u32 offset, in GRSurfaceAdf() argument
46 : GRSurface(width, height, row_bytes, pixel_bytes), offset(offset), pitch(pitch), fd(fd) {} in GRSurfaceAdf()
Dgraphics_drm.h43 GRSurfaceDrm(size_t width, size_t height, size_t row_bytes, size_t pixel_bytes, int drm_fd, in GRSurfaceDrm() argument
45 : GRSurface(width, height, row_bytes, pixel_bytes), drm_fd_(drm_fd), handle(handle) {} in GRSurfaceDrm()
Dresources.cpp44 size_t pixel_bytes) { in Create() argument
45 if (width == 0 || row_bytes == 0 || height == 0 || pixel_bytes == 0) return nullptr; in Create()
49 auto result = std::unique_ptr<GRSurface>(new GRSurface(width, height, row_bytes, pixel_bytes)); in Create()
60 auto result = GRSurface::Create(width, height, row_bytes, pixel_bytes); in Clone()
Dgraphics_fbdev.h35 size_t pixel_bytes);
/bootable/recovery/minui/include/minui/
Dminui.h46 size_t pixel_bytes);
66 size_t pixel_bytes; variable
69 GRSurface(size_t width, size_t height, size_t row_bytes, size_t pixel_bytes) in GRSurface() argument
70 : width(width), height(height), row_bytes(row_bytes), pixel_bytes(pixel_bytes) {} in GRSurface()
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp286 if (surface->pixel_bytes != 1 || surface->width != surface->row_bytes) { in ValidateGraphicSurface()
288 surface->pixel_bytes, surface->width, surface->row_bytes); in ValidateGraphicSurface()