Ignore:
Timestamp:
2014-09-12T13:22:33Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
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.
Message:

Merge mainline changes

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/draw/font/bitmap_backend.h

    r8db09e4 r15d0046  
    11/*
    2  * Copyright (c) 2005 Martin Decky
     2 * Copyright (c) 2012 Petr Koupy
     3 * Copyright (c) 2014 Martin Sucha
    34 * All rights reserved.
    45 *
     
    2728 */
    2829
    29 /** @addtogroup mips64
     30/** @addtogroup draw
    3031 * @{
    3132 */
    32 /** @file
     33/**
     34 * @file
    3335 */
    3436
    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_
    3739
    38 #include <typedefs.h>
     40#include <sys/types.h>
    3941
    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"
    4545
    4646typedef 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;
    5152
    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);
     53extern int bitmap_font_create(bitmap_font_decoder_t *, void *, uint32_t,
     54    font_metrics_t, uint16_t, font_t **);
    5955
    6056#endif
Note: See TracChangeset for help on using the changeset viewer.