Lines Matching refs:format

322     DEBUG_ASSERT(target->format == source->format);  in gfx_surface_blend()
340 if (source->format == ZX_PIXEL_FORMAT_RGB_565 && target->format == ZX_PIXEL_FORMAT_RGB_565) { in gfx_surface_blend()
359 …} else if (source->format == ZX_PIXEL_FORMAT_ARGB_8888 && target->format == ZX_PIXEL_FORMAT_ARGB_8… in gfx_surface_blend()
379 …} else if (source->format == ZX_PIXEL_FORMAT_RGB_x888 && target->format == ZX_PIXEL_FORMAT_RGB_x88… in gfx_surface_blend()
398 … } else if (source->format == ZX_PIXEL_FORMAT_MONO_8 && target->format == ZX_PIXEL_FORMAT_MONO_8) { in gfx_surface_blend()
418 …nd: unimplemented colorspace combination (source %u target %u)\n", source->format, target->format); in gfx_surface_blend()
495 gfx_surface* gfx_create_surface(void* ptr, uint width, uint height, uint stride, gfx_format format,… in gfx_create_surface() argument
499 if (gfx_init_surface(surface, ptr, width, height, stride, format, flags)) { in gfx_create_surface()
506 …ace* surface, void* ptr, uint width, uint height, uint stride, gfx_format format, uint32_t flags) { in gfx_init_surface() argument
512 surface->format = format; in gfx_init_surface()
519 switch (format) { in gfx_init_surface()
600 switch (info->format) { in gfx_init_surface_from_display()
610 dprintf(CRITICAL, "invalid graphics format %x", info->format); in gfx_init_surface_from_display()
615 …_surface(surface, info->framebuffer, info->width, info->height, info->stride, info->format, flags); in gfx_init_surface_from_display()
742 printf("\tformat 0x%x\n", info.format); in cmd_gfx()