Home
last modified time | relevance | path

Searched refs:format (Results 1 – 10 of 10) sorted by relevance

/kernel/lib/gfx/
A Dgfx.cpp322 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()
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()
[all …]
/kernel/lib/gfx/include/lib/
A Dgfx.h47 gfx_format format; member
99 gfx_surface* gfx_create_surface(void* ptr, uint width, uint height, uint stride, gfx_format format,…
100 …face* surface, void* ptr, uint width, uint height, uint stride, gfx_format format, uint32_t flags);
/kernel/include/dev/
A Ddisplay.h33 zx_pixel_format_t format; member
/kernel/tests/
A Dprintf_tests.cpp16 static bool test_printf(const char* expected, const char* format, ...) { in test_printf() argument
19 va_start(args, format); in test_printf()
20 int length = vsnprintf(buf, sizeof(buf), format, args); in test_printf()
/kernel/lib/unittest/
A Dunittest.cpp38 int unittest_printf(const char* format, ...) { in unittest_printf() argument
42 va_start(argp, format); in unittest_printf()
43 ret = vprintf(format, argp); in unittest_printf()
/kernel/target/pc/multiboot/
A Dmultiboot.ld19 * The Multiboot header goes next. The Multiboot format
/kernel/syscalls/
A Dddk.cpp128 zx_status_t sys_framebuffer_get_info(zx_handle_t handle, user_out_ptr<uint32_t> format, in sys_framebuffer_get_info() argument
137 status = format.copy_to_user(bootloader.fb.format); in sys_framebuffer_get_info()
156 …_range(zx_handle_t hrsrc, zx_handle_t vmo_handle, uint32_t len, uint32_t format, uint32_t width, u… in sys_framebuffer_set_range() argument
180 di.format = format; in sys_framebuffer_set_range()
/kernel/lib/gfxconsole/
A Dgfxconsole.cpp288 if ((hw.format == hw_surface.format) && (hw.width == hw_surface.width) && in gfxconsole_bind_display()
308 hw_surface.height, hw_surface.stride, hw_surface.format, 0)) { in gfxconsole_bind_display()
/kernel/platform/pc/
A Dplatform.cpp108 bootloader.fb.format = pixel_format_fixup(bootloader.fb.format); in process_zbi_item()
244 info.format = bootloader.fb.format; in platform_early_display_init()
267 info.format = bootloader.fb.format; in platform_ensure_display_memtype()
/kernel/lib/unittest/include/lib/unittest/
A Dunittest.h73 int unittest_printf(const char* format, ...) __PRINTFLIKE(1, 2);

Completed in 35 milliseconds