project64/Source/Project64-video/FBtoScreen.h

27 lines
701 B
C
Raw Normal View History

2021-03-02 02:13:17 +00:00
// Project64 - A Nintendo 64 emulator
// http://www.pj64-emu.com/
// Copyright(C) 2001-2021 Project64
// Copyright(C) 2003-2009 Sergey 'Gonetz' Lipski
// Copyright(C) 2002 Dave2001
// GNU/GPLv2 licensed: https://gnu.org/licenses/gpl-2.0.html
2013-04-04 21:22:19 +00:00
#ifndef FBtoSCREEN_H
#define FBtoSCREEN_H
2017-04-26 10:23:36 +00:00
typedef struct
2013-04-04 21:22:19 +00:00
{
2017-04-26 10:23:36 +00:00
uint32_t addr; //color image address
uint32_t size;
uint32_t width;
uint32_t height;
uint32_t ul_x;
uint32_t ul_y;
uint32_t lr_x;
uint32_t lr_y;
uint32_t opaque;
2013-04-04 21:22:19 +00:00
} FB_TO_SCREEN_INFO;
bool DrawFrameBufferToScreen(FB_TO_SCREEN_INFO & fb_info);
void DrawDepthBufferToScreen(FB_TO_SCREEN_INFO & fb_info);
#endif // #ifndef FBtoSCREEN_H