Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics.cpp204 if (font->texture->pixel_bytes != 1) { in gr_text()
222 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_text()
237 if (icon->pixel_bytes != 1) { in gr_texticon()
247 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_texticon()
268 gr_draw->row_bytes == gr_draw->width * gr_draw->pixel_bytes) { in gr_clear()
272 int row_diff = gr_draw->row_bytes / gr_draw->pixel_bytes - gr_draw->width; in gr_clear()
291 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_fill()
309 if (gr_draw->pixel_bytes != source->pixel_bytes) { in gr_blit()
320 int src_row_pixels = source->row_bytes / source->pixel_bytes; in gr_blit()
321 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()
64 vi.bits_per_pixel = gr_framebuffer[0]->pixel_bytes * 8; in SetDisplayedFramebuffer()
124 gr_framebuffer[0]->row_bytes, gr_framebuffer[0]->pixel_bytes); in Init()
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.cpp291 if (surface->pixel_bytes != 1 || surface->width != surface->row_bytes) { in ValidateGraphicSurface()
293 surface->pixel_bytes, surface->width, surface->row_bytes); in ValidateGraphicSurface()