Added a Direct2D 1.0 renderer.

This commit is contained in:
David Hrdlička
2018-07-19 04:39:27 +02:00
parent 0c95de1075
commit 7ea15090d9
9 changed files with 559 additions and 24 deletions

35
src/win/win_d2d.h Normal file
View File

@@ -0,0 +1,35 @@
/*
* 86Box A hypervisor and IBM PC system emulator that specializes in
* running old operating systems and software designed for IBM
* PC systems and compatibles from 1981 through fairly recent
* system designs based on the PCI bus.
*
* This file is part of the 86Box distribution.
*
* Definitions for the Direct2D rendering module.
*
* Version: @(#)win_d2d.h 1.0.0 2018/07/19
*
* Authors: David Hrdlička, <hrdlickadavid@outlook.com>
*
* Copyright 2018 David Hrdlička.
*/
#ifndef WIN_D2D_H
# define WIN_D2D_H
#ifdef __cplusplus
extern "C" {
#endif
extern void d2d_close(void);
extern int d2d_init(HWND h);
extern int d2d_init_fs(HWND h);
extern int d2d_pause(void);
extern void d2d_take_screenshot(wchar_t *fn);
#ifdef __cplusplus
}
#endif
#endif /*WIN_D2D_H*/