Home
last modified time | relevance | path

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

/aosp12/bootable/recovery/minui/
H A Dgraphics.cpp160 if (font->texture->pixel_bytes != 1) { in gr_text()
178 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_text()
193 if (icon->pixel_bytes != 1) { in gr_texticon()
203 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_texticon()
222 gr_draw->row_bytes == gr_draw->width * gr_draw->pixel_bytes) { in gr_clear()
245 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_fill()
263 if (gr_draw->pixel_bytes != source->pixel_bytes) { in gr_blit()
274 int src_row_pixels = source->row_bytes / source->pixel_bytes; in gr_blit()
275 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_blit()
295 memcpy(dst_p, src_p, w * source->pixel_bytes); in gr_blit()
[all …]
H A 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()
H A 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()
H A 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()
H A Dgraphics_fbdev.h35 size_t pixel_bytes);
/aosp12/bootable/recovery/minui/include/minui/
H A 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()
/aosp12/bootable/recovery/recovery_ui/
H A 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()