dev_fb.cc File Reference

Back to the index.

Macros | Functions
dev_fb.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "console.h"
#include "cpu.h"
#include "devices.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "x11.h"

Go to the source code of this file.

Macros

#define FB_TICK_SHIFT   19
 

Functions

void set_grayscale_palette (struct vfb_data *d, int ncolors)
 
void set_blackwhite_palette (struct vfb_data *d, int ncolors)
 
void dev_fb_resize (struct vfb_data *d, int new_xsize, int new_ysize)
 
void dev_fb_setcursor (struct vfb_data *d, int cursor_x, int cursor_y, int on, int cursor_xsize, int cursor_ysize)
 
void framebuffer_blockcopyfill (struct vfb_data *d, int fillflag, int fill_r, int fill_g, int fill_b, int x1, int y1, int x2, int y2, int from_x, int from_y)
 
 DEVICE_TICK (fb)
 
 DEVICE_ACCESS (fb)
 
struct vfb_datadev_fb_init (struct machine *machine, struct memory *mem, uint64_t baseaddr, int vfb_type, int visible_xsize, int visible_ysize, int xsize, int ysize, int bit_depth, const char *name)
 

Macro Definition Documentation

◆ FB_TICK_SHIFT

#define FB_TICK_SHIFT   19

Definition at line 63 of file dev_fb.cc.

Function Documentation

◆ dev_fb_init()

struct vfb_data* dev_fb_init ( struct machine machine,
struct memory mem,
uint64_t  baseaddr,
int  vfb_type,
int  visible_xsize,
int  visible_ysize,
int  xsize,
int  ysize,
int  bit_depth,
const char *  name 
)

◆ dev_fb_resize()

void dev_fb_resize ( struct vfb_data d,
int  new_xsize,
int  new_ysize 
)

◆ dev_fb_setcursor()

void dev_fb_setcursor ( struct vfb_data d,
int  cursor_x,
int  cursor_y,
int  on,
int  cursor_xsize,
int  cursor_ysize 
)

◆ DEVICE_ACCESS()

DEVICE_ACCESS ( fb  )

◆ DEVICE_TICK()

DEVICE_TICK ( fb  )

◆ framebuffer_blockcopyfill()

void framebuffer_blockcopyfill ( struct vfb_data d,
int  fillflag,
int  fill_r,
int  fill_g,
int  fill_b,
int  x1,
int  y1,
int  x2,
int  y2,
int  from_x,
int  from_y 
)

◆ set_blackwhite_palette()

void set_blackwhite_palette ( struct vfb_data d,
int  ncolors 
)

Definition at line 92 of file dev_fb.cc.

References vfb_data::rgb_palette.

Referenced by dev_fb_init().

◆ set_grayscale_palette()

void set_grayscale_palette ( struct vfb_data d,
int  ncolors 
)

Definition at line 74 of file dev_fb.cc.

References vfb_data::rgb_palette.

Referenced by dev_fb_init(), and dev_sgi_gbe_init().


Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13