Changeset 15d0046 in mainline for uspace/lib/draw/font/bitmap_backend.h
- Timestamp:
- 2014-09-12T13:22:33Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b20126
- Parents:
- 8db09e4 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/draw/font/bitmap_backend.h
r8db09e4 r15d0046 1 1 /* 2 * Copyright (c) 2005 Martin Decky 2 * Copyright (c) 2012 Petr Koupy 3 * Copyright (c) 2014 Martin Sucha 3 4 * All rights reserved. 4 5 * … … 27 28 */ 28 29 29 /** @addtogroup mips6430 /** @addtogroup draw 30 31 * @{ 31 32 */ 32 /** @file 33 /** 34 * @file 33 35 */ 34 36 35 #ifndef KERN_mips64_ARCH_H_36 #define KERN_mips64_ARCH_H_37 #ifndef DRAW_FONT_BITMAP_BACKEND_H_ 38 #define DRAW_FONT_BITMAP_BACKEND_H_ 37 39 38 #include < typedefs.h>40 #include <sys/types.h> 39 41 40 #define TASKMAP_MAX_RECORDS 32 41 #define CPUMAP_MAX_RECORDS 32 42 #define BOOTINFO_TASK_NAME_BUFLEN 32 43 44 extern size_t cpu_count; 42 #include "../font.h" 43 #include "../surface.h" 44 #include "../source.h" 45 45 46 46 typedef struct { 47 void *addr; 48 size_t size; 49 char name[BOOTINFO_TASK_NAME_BUFLEN]; 50 } utask_t; 47 int (*resolve_glyph)(void *, const wchar_t, glyph_id_t *); 48 int (*load_glyph_surface)(void *, glyph_id_t, surface_t **); 49 int (*load_glyph_metrics)(void *, glyph_id_t, glyph_metrics_t *); 50 void (*release)(void *); 51 } bitmap_font_decoder_t; 51 52 52 typedef struct { 53 uint32_t cpumap; 54 size_t cnt; 55 utask_t tasks[TASKMAP_MAX_RECORDS]; 56 } bootinfo_t; 57 58 extern void arch_pre_main(void *entry, bootinfo_t *bootinfo); 53 extern int bitmap_font_create(bitmap_font_decoder_t *, void *, uint32_t, 54 font_metrics_t, uint16_t, font_t **); 59 55 60 56 #endif
Note:
See TracChangeset
for help on using the changeset viewer.