mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
fcft: include <fcft/fcft.h>, and use fcft/stride.h instead of local copy
This commit is contained in:
parent
5919b0642c
commit
30335ef32a
6 changed files with 5 additions and 14 deletions
2
main.c
2
main.c
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <sys/sysinfo.h>
|
||||
|
||||
#include <fcft.h>
|
||||
#include <fcft/fcft.h>
|
||||
|
||||
#define LOG_MODULE "main"
|
||||
#define LOG_ENABLE_DBG 0
|
||||
|
|
|
|||
2
render.c
2
render.c
|
|
@ -10,7 +10,7 @@
|
|||
#include <wayland-cursor.h>
|
||||
#include <xdg-shell.h>
|
||||
|
||||
#include <fcft.h>
|
||||
#include <fcft/fcft.h>
|
||||
|
||||
#define LOG_MODULE "render"
|
||||
#define LOG_ENABLE_DBG 0
|
||||
|
|
|
|||
2
shm.c
2
shm.c
|
|
@ -9,12 +9,12 @@
|
|||
|
||||
#include <pixman.h>
|
||||
|
||||
#include <fcft/stride.h>
|
||||
#include <tllist.h>
|
||||
|
||||
#define LOG_MODULE "shm"
|
||||
#define LOG_ENABLE_DBG 0
|
||||
#include "log.h"
|
||||
#include "stride.h"
|
||||
|
||||
static tll(struct buffer) buffers;
|
||||
|
||||
|
|
|
|||
9
stride.h
9
stride.h
|
|
@ -1,9 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include <pixman.h>
|
||||
|
||||
static inline int
|
||||
stride_for_format_and_width(pixman_format_code_t format, int width)
|
||||
{
|
||||
return (((PIXMAN_FORMAT_BPP(format) * width + 7) / 8 + 4 - 1) & -4);
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 6377db4464f9a411c17b681f4a41c36950f1a232
|
||||
Subproject commit 8a5c30d2ffb67b52f139cad1dd3b40d86c65a332
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
#include <semaphore.h>
|
||||
|
||||
#include <tllist.h>
|
||||
#include <fcft.h>
|
||||
#include <fcft/fcft.h>
|
||||
|
||||
//#include "config.h"
|
||||
#include "fdm.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue