Coverage Report

Created: 2026-12-01 06:27

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/barebox/include/gui/gui.h
Line
Count
Source
1
/*
2
 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
3
 *
4
 * GPL v2
5
 */
6
7
#ifndef __GUI_H__
8
#define __GUI_H__
9
10
#include <fb.h>
11
12
struct surface {
13
  int x;
14
  int y;
15
  int width;
16
  int height;
17
};
18
19
struct screen {
20
  int fd;
21
  struct fb_info *info;
22
23
  struct surface s;
24
25
  void *fb;
26
  int fbsize;
27
};
28
29
static inline void *gui_screen_render_buffer(struct screen *sc)
30
0
{
31
0
  return fb_get_screen_base(sc->info);
32
0
}
Unexecuted instantiation: fbconsole.c:gui_screen_render_buffer
Unexecuted instantiation: splash.c:gui_screen_render_buffer
Unexecuted instantiation: fbtest.c:gui_screen_render_buffer
Unexecuted instantiation: bmp.c:gui_screen_render_buffer
Unexecuted instantiation: image_renderer.c:gui_screen_render_buffer
Unexecuted instantiation: graphic_utils.c:gui_screen_render_buffer
Unexecuted instantiation: 2d-primitives.c:gui_screen_render_buffer
33
34
#endif /* __GUI_H__ */